File tree Expand file tree Collapse file tree
google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -777,7 +777,7 @@ public class BaseBigtableInstanceAdminClient implements BackgroundResource {
777777 private final OperationsClient operationsClient ;
778778
779779 /** Constructs an instance of BaseBigtableInstanceAdminClient with default settings. */
780- public static BaseBigtableInstanceAdminClient create () throws IOException {
780+ protected static BaseBigtableInstanceAdminClient create () throws IOException {
781781 return create (BaseBigtableInstanceAdminSettings .newBuilder ().build ());
782782 }
783783
@@ -786,16 +786,16 @@ public static BaseBigtableInstanceAdminClient create() throws IOException {
786786 * channels are created based on the settings passed in, or defaults for any settings that are not
787787 * set.
788788 */
789- public static BaseBigtableInstanceAdminClient create (BaseBigtableInstanceAdminSettings settings )
790- throws IOException {
789+ protected static BaseBigtableInstanceAdminClient create (
790+ BaseBigtableInstanceAdminSettings settings ) throws IOException {
791791 return new BaseBigtableInstanceAdminClient (settings );
792792 }
793793
794794 /**
795795 * Constructs an instance of BaseBigtableInstanceAdminClient, using the given stub for making
796796 * calls. This is for advanced usage - prefer using create(BaseBigtableInstanceAdminSettings).
797797 */
798- public static BaseBigtableInstanceAdminClient create (BigtableInstanceAdminStub stub ) {
798+ protected static BaseBigtableInstanceAdminClient create (BigtableInstanceAdminStub stub ) {
799799 return new BaseBigtableInstanceAdminClient (stub );
800800 }
801801
Original file line number Diff line number Diff line change @@ -870,15 +870,15 @@ public class BaseBigtableTableAdminClient implements BackgroundResource {
870870 private final OperationsClient operationsClient ;
871871
872872 /** Constructs an instance of BaseBigtableTableAdminClient with default settings. */
873- public static BaseBigtableTableAdminClient create () throws IOException {
873+ protected static BaseBigtableTableAdminClient create () throws IOException {
874874 return create (BaseBigtableTableAdminSettings .newBuilder ().build ());
875875 }
876876
877877 /**
878878 * Constructs an instance of BaseBigtableTableAdminClient, using the given settings. The channels
879879 * are created based on the settings passed in, or defaults for any settings that are not set.
880880 */
881- public static BaseBigtableTableAdminClient create (BaseBigtableTableAdminSettings settings )
881+ protected static BaseBigtableTableAdminClient create (BaseBigtableTableAdminSettings settings )
882882 throws IOException {
883883 return new BaseBigtableTableAdminClient (settings );
884884 }
@@ -887,7 +887,7 @@ public static BaseBigtableTableAdminClient create(BaseBigtableTableAdminSettings
887887 * Constructs an instance of BaseBigtableTableAdminClient, using the given stub for making calls.
888888 * This is for advanced usage - prefer using create(BaseBigtableTableAdminSettings).
889889 */
890- public static BaseBigtableTableAdminClient create (BigtableTableAdminStub stub ) {
890+ protected static BaseBigtableTableAdminClient create (BigtableTableAdminStub stub ) {
891891 return new BaseBigtableTableAdminClient (stub );
892892 }
893893
You can’t perform that action at this time.
0 commit comments