Class CreateInstanceRequests.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateInstanceRequests.Builder>
com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder
All Implemented Interfaces:
CreateInstanceRequestsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateInstanceRequests

public static final class CreateInstanceRequests.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateInstanceRequests.Builder> implements CreateInstanceRequestsOrBuilder
 See usage below for notes.
 
Protobuf type google.cloud.alloydb.v1beta.CreateInstanceRequests
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreateInstanceRequests.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CreateInstanceRequests.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CreateInstanceRequests.Builder>
    • getDefaultInstanceForType

      public CreateInstanceRequests getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CreateInstanceRequests build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CreateInstanceRequests buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CreateInstanceRequests.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateInstanceRequests.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CreateInstanceRequests.Builder>
    • mergeFrom

      public CreateInstanceRequests.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateInstanceRequests.Builder>
      Throws:
      IOException
    • getCreateInstanceRequestsList

      public List<CreateInstanceRequest> getCreateInstanceRequestsList()
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCreateInstanceRequestsList in interface CreateInstanceRequestsOrBuilder
    • getCreateInstanceRequestsCount

      public int getCreateInstanceRequestsCount()
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCreateInstanceRequestsCount in interface CreateInstanceRequestsOrBuilder
    • getCreateInstanceRequests

      public CreateInstanceRequest getCreateInstanceRequests(int index)
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCreateInstanceRequests in interface CreateInstanceRequestsOrBuilder
    • setCreateInstanceRequests

      public CreateInstanceRequests.Builder setCreateInstanceRequests(int index, CreateInstanceRequest value)
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • setCreateInstanceRequests

      public CreateInstanceRequests.Builder setCreateInstanceRequests(int index, CreateInstanceRequest.Builder builderForValue)
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • addCreateInstanceRequests

      public CreateInstanceRequests.Builder addCreateInstanceRequests(CreateInstanceRequest value)
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • addCreateInstanceRequests

      public CreateInstanceRequests.Builder addCreateInstanceRequests(int index, CreateInstanceRequest value)
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • addCreateInstanceRequests

      public CreateInstanceRequests.Builder addCreateInstanceRequests(CreateInstanceRequest.Builder builderForValue)
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • addCreateInstanceRequests

      public CreateInstanceRequests.Builder addCreateInstanceRequests(int index, CreateInstanceRequest.Builder builderForValue)
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAllCreateInstanceRequests

      public CreateInstanceRequests.Builder addAllCreateInstanceRequests(Iterable<? extends CreateInstanceRequest> values)
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearCreateInstanceRequests

      public CreateInstanceRequests.Builder clearCreateInstanceRequests()
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • removeCreateInstanceRequests

      public CreateInstanceRequests.Builder removeCreateInstanceRequests(int index)
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getCreateInstanceRequestsBuilder

      public CreateInstanceRequest.Builder getCreateInstanceRequestsBuilder(int index)
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getCreateInstanceRequestsOrBuilder

      public CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder(int index)
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCreateInstanceRequestsOrBuilder in interface CreateInstanceRequestsOrBuilder
    • getCreateInstanceRequestsOrBuilderList

      public List<? extends CreateInstanceRequestOrBuilder> getCreateInstanceRequestsOrBuilderList()
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCreateInstanceRequestsOrBuilderList in interface CreateInstanceRequestsOrBuilder
    • addCreateInstanceRequestsBuilder

      public CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder()
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • addCreateInstanceRequestsBuilder

      public CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder(int index)
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getCreateInstanceRequestsBuilderList

      public List<CreateInstanceRequest.Builder> getCreateInstanceRequestsBuilderList()
       Required. Primary and read replica instances to be created. This list
       should not be empty.
       
      repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];