Class Instance.Builder

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

public static final class Instance.Builder extends com.google.protobuf.GeneratedMessage.Builder<Instance.Builder> implements InstanceOrBuilder
 An Instance is a computing unit that an end customer can connect to.
 It's the main unit of computing resources in AlloyDB.
 
Protobuf type google.cloud.alloydb.v1beta.Instance
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
    • internalGetFieldAccessorTable

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

      public Instance.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<Instance.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<Instance.Builder>
    • getDefaultInstanceForType

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

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

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

      public Instance.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<Instance.Builder>
    • mergeFrom

      public Instance.Builder mergeFrom(Instance other)
    • isInitialized

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

      public Instance.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<Instance.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. The name of the instance resource with the format:
       * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
       where the cluster and instance ID segments should satisfy the regex
       expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
       lowercase letters, numbers, and dashes, starting with a letter, and ending
       with a letter or number. For more details see https://google.aip.dev/122.
       The prefix of the instance resource name is the name of the parent
       resource:
       * projects/{project}/locations/{region}/clusters/{cluster_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface InstanceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The name of the instance resource with the format:
       * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
       where the cluster and instance ID segments should satisfy the regex
       expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
       lowercase letters, numbers, and dashes, starting with a letter, and ending
       with a letter or number. For more details see https://google.aip.dev/122.
       The prefix of the instance resource name is the name of the parent
       resource:
       * projects/{project}/locations/{region}/clusters/{cluster_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface InstanceOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Instance.Builder setName(String value)
       Output only. The name of the instance resource with the format:
       * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
       where the cluster and instance ID segments should satisfy the regex
       expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
       lowercase letters, numbers, and dashes, starting with a letter, and ending
       with a letter or number. For more details see https://google.aip.dev/122.
       The prefix of the instance resource name is the name of the parent
       resource:
       * projects/{project}/locations/{region}/clusters/{cluster_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Instance.Builder clearName()
       Output only. The name of the instance resource with the format:
       * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
       where the cluster and instance ID segments should satisfy the regex
       expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
       lowercase letters, numbers, and dashes, starting with a letter, and ending
       with a letter or number. For more details see https://google.aip.dev/122.
       The prefix of the instance resource name is the name of the parent
       resource:
       * projects/{project}/locations/{region}/clusters/{cluster_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Instance.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The name of the instance resource with the format:
       * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
       where the cluster and instance ID segments should satisfy the regex
       expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
       lowercase letters, numbers, and dashes, starting with a letter, and ending
       with a letter or number. For more details see https://google.aip.dev/122.
       The prefix of the instance resource name is the name of the parent
       resource:
       * projects/{project}/locations/{region}/clusters/{cluster_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       User-settable and human-readable display name for the Instance.
       
      string display_name = 2;
      Specified by:
      getDisplayName in interface InstanceOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       User-settable and human-readable display name for the Instance.
       
      string display_name = 2;
      Specified by:
      getDisplayNameBytes in interface InstanceOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Instance.Builder setDisplayName(String value)
       User-settable and human-readable display name for the Instance.
       
      string display_name = 2;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Instance.Builder clearDisplayName()
       User-settable and human-readable display name for the Instance.
       
      string display_name = 2;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Instance.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       User-settable and human-readable display name for the Instance.
       
      string display_name = 2;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getUid

      public String getUid()
       Output only. The system-generated UID of the resource. The UID is assigned
       when the resource is created, and it is retained until it is deleted.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUid in interface InstanceOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. The system-generated UID of the resource. The UID is assigned
       when the resource is created, and it is retained until it is deleted.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUidBytes in interface InstanceOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public Instance.Builder setUid(String value)
       Output only. The system-generated UID of the resource. The UID is assigned
       when the resource is created, and it is retained until it is deleted.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public Instance.Builder clearUid()
       Output only. The system-generated UID of the resource. The UID is assigned
       when the resource is created, and it is retained until it is deleted.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setUidBytes

      public Instance.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. The system-generated UID of the resource. The UID is assigned
       when the resource is created, and it is retained until it is deleted.
       
      string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for uid to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Create time stamp
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface InstanceOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Create time stamp
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface InstanceOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Instance.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Create time stamp
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Instance.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Create time stamp
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Instance.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Create time stamp
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Instance.Builder clearCreateTime()
       Output only. Create time stamp
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Create time stamp
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Create time stamp
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface InstanceOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface InstanceOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface InstanceOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Instance.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Instance.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Instance.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Instance.Builder clearUpdateTime()
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface InstanceOrBuilder
    • hasDeleteTime

      public boolean hasDeleteTime()
       Output only. Delete time stamp
       
      .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDeleteTime in interface InstanceOrBuilder
      Returns:
      Whether the deleteTime field is set.
    • getDeleteTime

      public com.google.protobuf.Timestamp getDeleteTime()
       Output only. Delete time stamp
       
      .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeleteTime in interface InstanceOrBuilder
      Returns:
      The deleteTime.
    • setDeleteTime

      public Instance.Builder setDeleteTime(com.google.protobuf.Timestamp value)
       Output only. Delete time stamp
       
      .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDeleteTime

      public Instance.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Delete time stamp
       
      .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeDeleteTime

      public Instance.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
       Output only. Delete time stamp
       
      .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDeleteTime

      public Instance.Builder clearDeleteTime()
       Output only. Delete time stamp
       
      .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDeleteTimeBuilder

      public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
       Output only. Delete time stamp
       
      .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDeleteTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
       Output only. Delete time stamp
       
      .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeleteTimeOrBuilder in interface InstanceOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: InstanceOrBuilder
       Labels as key value pairs
       
      map<string, string> labels = 7;
      Specified by:
      getLabelsCount in interface InstanceOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels as key value pairs
       
      map<string, string> labels = 7;
      Specified by:
      containsLabels in interface InstanceOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface InstanceOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels as key value pairs
       
      map<string, string> labels = 7;
      Specified by:
      getLabelsMap in interface InstanceOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels as key value pairs
       
      map<string, string> labels = 7;
      Specified by:
      getLabelsOrDefault in interface InstanceOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels as key value pairs
       
      map<string, string> labels = 7;
      Specified by:
      getLabelsOrThrow in interface InstanceOrBuilder
    • clearLabels

      public Instance.Builder clearLabels()
    • removeLabels

      public Instance.Builder removeLabels(String key)
       Labels as key value pairs
       
      map<string, string> labels = 7;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Instance.Builder putLabels(String key, String value)
       Labels as key value pairs
       
      map<string, string> labels = 7;
    • putAllLabels

      public Instance.Builder putAllLabels(Map<String,String> values)
       Labels as key value pairs
       
      map<string, string> labels = 7;
    • getStateValue

      public int getStateValue()
       Output only. The current serving state of the instance.
       
      .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Instance.Builder setStateValue(int value)
       Output only. The current serving state of the instance.
       
      .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public Instance.State getState()
       Output only. The current serving state of the instance.
       
      .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface InstanceOrBuilder
      Returns:
      The state.
    • setState

      public Instance.Builder setState(Instance.State value)
       Output only. The current serving state of the instance.
       
      .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Instance.Builder clearState()
       Output only. The current serving state of the instance.
       
      .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getInstanceTypeValue

      public int getInstanceTypeValue()
       Required. The type of the instance. Specified at creation time.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstanceTypeValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for instanceType.
    • setInstanceTypeValue

      public Instance.Builder setInstanceTypeValue(int value)
       Required. The type of the instance. Specified at creation time.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for instanceType to set.
      Returns:
      This builder for chaining.
    • getInstanceType

      public Instance.InstanceType getInstanceType()
       Required. The type of the instance. Specified at creation time.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstanceType in interface InstanceOrBuilder
      Returns:
      The instanceType.
    • setInstanceType

      public Instance.Builder setInstanceType(Instance.InstanceType value)
       Required. The type of the instance. Specified at creation time.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The instanceType to set.
      Returns:
      This builder for chaining.
    • clearInstanceType

      public Instance.Builder clearInstanceType()
       Required. The type of the instance. Specified at creation time.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • hasMachineConfig

      public boolean hasMachineConfig()
       Configurations for the machines that host the underlying
       database engine.
       
      .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
      Specified by:
      hasMachineConfig in interface InstanceOrBuilder
      Returns:
      Whether the machineConfig field is set.
    • getMachineConfig

      public Instance.MachineConfig getMachineConfig()
       Configurations for the machines that host the underlying
       database engine.
       
      .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
      Specified by:
      getMachineConfig in interface InstanceOrBuilder
      Returns:
      The machineConfig.
    • setMachineConfig

      public Instance.Builder setMachineConfig(Instance.MachineConfig value)
       Configurations for the machines that host the underlying
       database engine.
       
      .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
    • setMachineConfig

      public Instance.Builder setMachineConfig(Instance.MachineConfig.Builder builderForValue)
       Configurations for the machines that host the underlying
       database engine.
       
      .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
    • mergeMachineConfig

      public Instance.Builder mergeMachineConfig(Instance.MachineConfig value)
       Configurations for the machines that host the underlying
       database engine.
       
      .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
    • clearMachineConfig

      public Instance.Builder clearMachineConfig()
       Configurations for the machines that host the underlying
       database engine.
       
      .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
    • getMachineConfigBuilder

      public Instance.MachineConfig.Builder getMachineConfigBuilder()
       Configurations for the machines that host the underlying
       database engine.
       
      .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
    • getMachineConfigOrBuilder

      public Instance.MachineConfigOrBuilder getMachineConfigOrBuilder()
       Configurations for the machines that host the underlying
       database engine.
       
      .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
      Specified by:
      getMachineConfigOrBuilder in interface InstanceOrBuilder
    • getAvailabilityTypeValue

      public int getAvailabilityTypeValue()
       Availability type of an Instance.
       If empty, defaults to REGIONAL for primary instances.
       For read pools, availability_type is always UNSPECIFIED. Instances in the
       read pools are evenly distributed across available zones within the region
       (i.e. read pools with more than one node will have a node in at
       least two zones).
       
      .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11;
      Specified by:
      getAvailabilityTypeValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for availabilityType.
    • setAvailabilityTypeValue

      public Instance.Builder setAvailabilityTypeValue(int value)
       Availability type of an Instance.
       If empty, defaults to REGIONAL for primary instances.
       For read pools, availability_type is always UNSPECIFIED. Instances in the
       read pools are evenly distributed across available zones within the region
       (i.e. read pools with more than one node will have a node in at
       least two zones).
       
      .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11;
      Parameters:
      value - The enum numeric value on the wire for availabilityType to set.
      Returns:
      This builder for chaining.
    • getAvailabilityType

      public Instance.AvailabilityType getAvailabilityType()
       Availability type of an Instance.
       If empty, defaults to REGIONAL for primary instances.
       For read pools, availability_type is always UNSPECIFIED. Instances in the
       read pools are evenly distributed across available zones within the region
       (i.e. read pools with more than one node will have a node in at
       least two zones).
       
      .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11;
      Specified by:
      getAvailabilityType in interface InstanceOrBuilder
      Returns:
      The availabilityType.
    • setAvailabilityType

      public Instance.Builder setAvailabilityType(Instance.AvailabilityType value)
       Availability type of an Instance.
       If empty, defaults to REGIONAL for primary instances.
       For read pools, availability_type is always UNSPECIFIED. Instances in the
       read pools are evenly distributed across available zones within the region
       (i.e. read pools with more than one node will have a node in at
       least two zones).
       
      .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11;
      Parameters:
      value - The availabilityType to set.
      Returns:
      This builder for chaining.
    • clearAvailabilityType

      public Instance.Builder clearAvailabilityType()
       Availability type of an Instance.
       If empty, defaults to REGIONAL for primary instances.
       For read pools, availability_type is always UNSPECIFIED. Instances in the
       read pools are evenly distributed across available zones within the region
       (i.e. read pools with more than one node will have a node in at
       least two zones).
       
      .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11;
      Returns:
      This builder for chaining.
    • getGceZone

      public String getGceZone()
       The Compute Engine zone that the instance should serve from, per
       https://cloud.google.com/compute/docs/regions-zones
       This can ONLY be specified for ZONAL instances.
       If present for a REGIONAL instance, an error will be thrown.
       If this is absent for a ZONAL instance, instance is created in a random
       zone with available capacity.
       
      string gce_zone = 12;
      Specified by:
      getGceZone in interface InstanceOrBuilder
      Returns:
      The gceZone.
    • getGceZoneBytes

      public com.google.protobuf.ByteString getGceZoneBytes()
       The Compute Engine zone that the instance should serve from, per
       https://cloud.google.com/compute/docs/regions-zones
       This can ONLY be specified for ZONAL instances.
       If present for a REGIONAL instance, an error will be thrown.
       If this is absent for a ZONAL instance, instance is created in a random
       zone with available capacity.
       
      string gce_zone = 12;
      Specified by:
      getGceZoneBytes in interface InstanceOrBuilder
      Returns:
      The bytes for gceZone.
    • setGceZone

      public Instance.Builder setGceZone(String value)
       The Compute Engine zone that the instance should serve from, per
       https://cloud.google.com/compute/docs/regions-zones
       This can ONLY be specified for ZONAL instances.
       If present for a REGIONAL instance, an error will be thrown.
       If this is absent for a ZONAL instance, instance is created in a random
       zone with available capacity.
       
      string gce_zone = 12;
      Parameters:
      value - The gceZone to set.
      Returns:
      This builder for chaining.
    • clearGceZone

      public Instance.Builder clearGceZone()
       The Compute Engine zone that the instance should serve from, per
       https://cloud.google.com/compute/docs/regions-zones
       This can ONLY be specified for ZONAL instances.
       If present for a REGIONAL instance, an error will be thrown.
       If this is absent for a ZONAL instance, instance is created in a random
       zone with available capacity.
       
      string gce_zone = 12;
      Returns:
      This builder for chaining.
    • setGceZoneBytes

      public Instance.Builder setGceZoneBytes(com.google.protobuf.ByteString value)
       The Compute Engine zone that the instance should serve from, per
       https://cloud.google.com/compute/docs/regions-zones
       This can ONLY be specified for ZONAL instances.
       If present for a REGIONAL instance, an error will be thrown.
       If this is absent for a ZONAL instance, instance is created in a random
       zone with available capacity.
       
      string gce_zone = 12;
      Parameters:
      value - The bytes for gceZone to set.
      Returns:
      This builder for chaining.
    • getDatabaseFlagsCount

      public int getDatabaseFlagsCount()
      Description copied from interface: InstanceOrBuilder
       Database flags. Set at the instance level.
       They are copied from the primary instance on secondary instance creation.
       Flags that have restrictions default to the value at primary
       instance on read instances during creation. Read instances can set new
       flags or override existing flags that are relevant for reads, for example,
       for enabling columnar cache on a read instance. Flags set on read instance
       might or might not be present on the primary instance.
      
      
       This is a list of "key": "value" pairs.
       "key": The name of the flag. These flags are passed at instance setup time,
       so include both server options and system variables for Postgres. Flags are
       specified with underscores, not hyphens.
       "value": The value of the flag. Booleans are set to **on** for true
       and **off** for false. This field must be omitted if the flag
       doesn't take a value.
       
      map<string, string> database_flags = 13;
      Specified by:
      getDatabaseFlagsCount in interface InstanceOrBuilder
    • containsDatabaseFlags

      public boolean containsDatabaseFlags(String key)
       Database flags. Set at the instance level.
       They are copied from the primary instance on secondary instance creation.
       Flags that have restrictions default to the value at primary
       instance on read instances during creation. Read instances can set new
       flags or override existing flags that are relevant for reads, for example,
       for enabling columnar cache on a read instance. Flags set on read instance
       might or might not be present on the primary instance.
      
      
       This is a list of "key": "value" pairs.
       "key": The name of the flag. These flags are passed at instance setup time,
       so include both server options and system variables for Postgres. Flags are
       specified with underscores, not hyphens.
       "value": The value of the flag. Booleans are set to **on** for true
       and **off** for false. This field must be omitted if the flag
       doesn't take a value.
       
      map<string, string> database_flags = 13;
      Specified by:
      containsDatabaseFlags in interface InstanceOrBuilder
    • getDatabaseFlags

      @Deprecated public Map<String,String> getDatabaseFlags()
      Deprecated.
      Specified by:
      getDatabaseFlags in interface InstanceOrBuilder
    • getDatabaseFlagsMap

      public Map<String,String> getDatabaseFlagsMap()
       Database flags. Set at the instance level.
       They are copied from the primary instance on secondary instance creation.
       Flags that have restrictions default to the value at primary
       instance on read instances during creation. Read instances can set new
       flags or override existing flags that are relevant for reads, for example,
       for enabling columnar cache on a read instance. Flags set on read instance
       might or might not be present on the primary instance.
      
      
       This is a list of "key": "value" pairs.
       "key": The name of the flag. These flags are passed at instance setup time,
       so include both server options and system variables for Postgres. Flags are
       specified with underscores, not hyphens.
       "value": The value of the flag. Booleans are set to **on** for true
       and **off** for false. This field must be omitted if the flag
       doesn't take a value.
       
      map<string, string> database_flags = 13;
      Specified by:
      getDatabaseFlagsMap in interface InstanceOrBuilder
    • getDatabaseFlagsOrDefault

      public String getDatabaseFlagsOrDefault(String key, String defaultValue)
       Database flags. Set at the instance level.
       They are copied from the primary instance on secondary instance creation.
       Flags that have restrictions default to the value at primary
       instance on read instances during creation. Read instances can set new
       flags or override existing flags that are relevant for reads, for example,
       for enabling columnar cache on a read instance. Flags set on read instance
       might or might not be present on the primary instance.
      
      
       This is a list of "key": "value" pairs.
       "key": The name of the flag. These flags are passed at instance setup time,
       so include both server options and system variables for Postgres. Flags are
       specified with underscores, not hyphens.
       "value": The value of the flag. Booleans are set to **on** for true
       and **off** for false. This field must be omitted if the flag
       doesn't take a value.
       
      map<string, string> database_flags = 13;
      Specified by:
      getDatabaseFlagsOrDefault in interface InstanceOrBuilder
    • getDatabaseFlagsOrThrow

      public String getDatabaseFlagsOrThrow(String key)
       Database flags. Set at the instance level.
       They are copied from the primary instance on secondary instance creation.
       Flags that have restrictions default to the value at primary
       instance on read instances during creation. Read instances can set new
       flags or override existing flags that are relevant for reads, for example,
       for enabling columnar cache on a read instance. Flags set on read instance
       might or might not be present on the primary instance.
      
      
       This is a list of "key": "value" pairs.
       "key": The name of the flag. These flags are passed at instance setup time,
       so include both server options and system variables for Postgres. Flags are
       specified with underscores, not hyphens.
       "value": The value of the flag. Booleans are set to **on** for true
       and **off** for false. This field must be omitted if the flag
       doesn't take a value.
       
      map<string, string> database_flags = 13;
      Specified by:
      getDatabaseFlagsOrThrow in interface InstanceOrBuilder
    • clearDatabaseFlags

      public Instance.Builder clearDatabaseFlags()
    • removeDatabaseFlags

      public Instance.Builder removeDatabaseFlags(String key)
       Database flags. Set at the instance level.
       They are copied from the primary instance on secondary instance creation.
       Flags that have restrictions default to the value at primary
       instance on read instances during creation. Read instances can set new
       flags or override existing flags that are relevant for reads, for example,
       for enabling columnar cache on a read instance. Flags set on read instance
       might or might not be present on the primary instance.
      
      
       This is a list of "key": "value" pairs.
       "key": The name of the flag. These flags are passed at instance setup time,
       so include both server options and system variables for Postgres. Flags are
       specified with underscores, not hyphens.
       "value": The value of the flag. Booleans are set to **on** for true
       and **off** for false. This field must be omitted if the flag
       doesn't take a value.
       
      map<string, string> database_flags = 13;
    • getMutableDatabaseFlags

      @Deprecated public Map<String,String> getMutableDatabaseFlags()
      Deprecated.
      Use alternate mutation accessors instead.
    • putDatabaseFlags

      public Instance.Builder putDatabaseFlags(String key, String value)
       Database flags. Set at the instance level.
       They are copied from the primary instance on secondary instance creation.
       Flags that have restrictions default to the value at primary
       instance on read instances during creation. Read instances can set new
       flags or override existing flags that are relevant for reads, for example,
       for enabling columnar cache on a read instance. Flags set on read instance
       might or might not be present on the primary instance.
      
      
       This is a list of "key": "value" pairs.
       "key": The name of the flag. These flags are passed at instance setup time,
       so include both server options and system variables for Postgres. Flags are
       specified with underscores, not hyphens.
       "value": The value of the flag. Booleans are set to **on** for true
       and **off** for false. This field must be omitted if the flag
       doesn't take a value.
       
      map<string, string> database_flags = 13;
    • putAllDatabaseFlags

      public Instance.Builder putAllDatabaseFlags(Map<String,String> values)
       Database flags. Set at the instance level.
       They are copied from the primary instance on secondary instance creation.
       Flags that have restrictions default to the value at primary
       instance on read instances during creation. Read instances can set new
       flags or override existing flags that are relevant for reads, for example,
       for enabling columnar cache on a read instance. Flags set on read instance
       might or might not be present on the primary instance.
      
      
       This is a list of "key": "value" pairs.
       "key": The name of the flag. These flags are passed at instance setup time,
       so include both server options and system variables for Postgres. Flags are
       specified with underscores, not hyphens.
       "value": The value of the flag. Booleans are set to **on** for true
       and **off** for false. This field must be omitted if the flag
       doesn't take a value.
       
      map<string, string> database_flags = 13;
    • hasWritableNode

      public boolean hasWritableNode()
       Output only. This is set for the read-write VM of the PRIMARY instance
       only.
       
      .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasWritableNode in interface InstanceOrBuilder
      Returns:
      Whether the writableNode field is set.
    • getWritableNode

      public Instance.Node getWritableNode()
       Output only. This is set for the read-write VM of the PRIMARY instance
       only.
       
      .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getWritableNode in interface InstanceOrBuilder
      Returns:
      The writableNode.
    • setWritableNode

      public Instance.Builder setWritableNode(Instance.Node value)
       Output only. This is set for the read-write VM of the PRIMARY instance
       only.
       
      .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setWritableNode

      public Instance.Builder setWritableNode(Instance.Node.Builder builderForValue)
       Output only. This is set for the read-write VM of the PRIMARY instance
       only.
       
      .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeWritableNode

      public Instance.Builder mergeWritableNode(Instance.Node value)
       Output only. This is set for the read-write VM of the PRIMARY instance
       only.
       
      .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearWritableNode

      public Instance.Builder clearWritableNode()
       Output only. This is set for the read-write VM of the PRIMARY instance
       only.
       
      .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getWritableNodeBuilder

      public Instance.Node.Builder getWritableNodeBuilder()
       Output only. This is set for the read-write VM of the PRIMARY instance
       only.
       
      .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getWritableNodeOrBuilder

      public Instance.NodeOrBuilder getWritableNodeOrBuilder()
       Output only. This is set for the read-write VM of the PRIMARY instance
       only.
       
      .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getWritableNodeOrBuilder in interface InstanceOrBuilder
    • getNodesList

      public List<Instance.Node> getNodesList()
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNodesList in interface InstanceOrBuilder
    • getNodesCount

      public int getNodesCount()
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNodesCount in interface InstanceOrBuilder
    • getNodes

      public Instance.Node getNodes(int index)
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNodes in interface InstanceOrBuilder
    • setNodes

      public Instance.Builder setNodes(int index, Instance.Node value)
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setNodes

      public Instance.Builder setNodes(int index, Instance.Node.Builder builderForValue)
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addNodes

      public Instance.Builder addNodes(Instance.Node value)
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addNodes

      public Instance.Builder addNodes(int index, Instance.Node value)
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addNodes

      public Instance.Builder addNodes(Instance.Node.Builder builderForValue)
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addNodes

      public Instance.Builder addNodes(int index, Instance.Node.Builder builderForValue)
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllNodes

      public Instance.Builder addAllNodes(Iterable<? extends Instance.Node> values)
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearNodes

      public Instance.Builder clearNodes()
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeNodes

      public Instance.Builder removeNodes(int index)
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getNodesBuilder

      public Instance.Node.Builder getNodesBuilder(int index)
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getNodesOrBuilder

      public Instance.NodeOrBuilder getNodesOrBuilder(int index)
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNodesOrBuilder in interface InstanceOrBuilder
    • getNodesOrBuilderList

      public List<? extends Instance.NodeOrBuilder> getNodesOrBuilderList()
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNodesOrBuilderList in interface InstanceOrBuilder
    • addNodesBuilder

      public Instance.Node.Builder addNodesBuilder()
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addNodesBuilder

      public Instance.Node.Builder addNodesBuilder(int index)
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getNodesBuilderList

      public List<Instance.Node.Builder> getNodesBuilderList()
       Output only. List of available read-only VMs in this instance, including
       the standby for a PRIMARY instance.
       
      repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasQueryInsightsConfig

      public boolean hasQueryInsightsConfig()
       Configuration for query insights.
       
      .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
      Specified by:
      hasQueryInsightsConfig in interface InstanceOrBuilder
      Returns:
      Whether the queryInsightsConfig field is set.
    • getQueryInsightsConfig

      public Instance.QueryInsightsInstanceConfig getQueryInsightsConfig()
       Configuration for query insights.
       
      .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
      Specified by:
      getQueryInsightsConfig in interface InstanceOrBuilder
      Returns:
      The queryInsightsConfig.
    • setQueryInsightsConfig

      public Instance.Builder setQueryInsightsConfig(Instance.QueryInsightsInstanceConfig value)
       Configuration for query insights.
       
      .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
    • setQueryInsightsConfig

      public Instance.Builder setQueryInsightsConfig(Instance.QueryInsightsInstanceConfig.Builder builderForValue)
       Configuration for query insights.
       
      .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
    • mergeQueryInsightsConfig

      public Instance.Builder mergeQueryInsightsConfig(Instance.QueryInsightsInstanceConfig value)
       Configuration for query insights.
       
      .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
    • clearQueryInsightsConfig

      public Instance.Builder clearQueryInsightsConfig()
       Configuration for query insights.
       
      .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
    • getQueryInsightsConfigBuilder

      public Instance.QueryInsightsInstanceConfig.Builder getQueryInsightsConfigBuilder()
       Configuration for query insights.
       
      .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
    • getQueryInsightsConfigOrBuilder

      public Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder()
       Configuration for query insights.
       
      .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
      Specified by:
      getQueryInsightsConfigOrBuilder in interface InstanceOrBuilder
    • hasObservabilityConfig

      public boolean hasObservabilityConfig()
       Configuration for observability.
       
      .google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig observability_config = 26;
      Specified by:
      hasObservabilityConfig in interface InstanceOrBuilder
      Returns:
      Whether the observabilityConfig field is set.
    • getObservabilityConfig

      public Instance.ObservabilityInstanceConfig getObservabilityConfig()
       Configuration for observability.
       
      .google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig observability_config = 26;
      Specified by:
      getObservabilityConfig in interface InstanceOrBuilder
      Returns:
      The observabilityConfig.
    • setObservabilityConfig

      public Instance.Builder setObservabilityConfig(Instance.ObservabilityInstanceConfig value)
       Configuration for observability.
       
      .google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig observability_config = 26;
    • setObservabilityConfig

      public Instance.Builder setObservabilityConfig(Instance.ObservabilityInstanceConfig.Builder builderForValue)
       Configuration for observability.
       
      .google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig observability_config = 26;
    • mergeObservabilityConfig

      public Instance.Builder mergeObservabilityConfig(Instance.ObservabilityInstanceConfig value)
       Configuration for observability.
       
      .google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig observability_config = 26;
    • clearObservabilityConfig

      public Instance.Builder clearObservabilityConfig()
       Configuration for observability.
       
      .google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig observability_config = 26;
    • getObservabilityConfigBuilder

      public Instance.ObservabilityInstanceConfig.Builder getObservabilityConfigBuilder()
       Configuration for observability.
       
      .google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig observability_config = 26;
    • getObservabilityConfigOrBuilder

      public Instance.ObservabilityInstanceConfigOrBuilder getObservabilityConfigOrBuilder()
       Configuration for observability.
       
      .google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig observability_config = 26;
      Specified by:
      getObservabilityConfigOrBuilder in interface InstanceOrBuilder
    • hasReadPoolConfig

      public boolean hasReadPoolConfig()
       Read pool instance configuration.
       This is required if the value of instanceType is READ_POOL.
       
      .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14;
      Specified by:
      hasReadPoolConfig in interface InstanceOrBuilder
      Returns:
      Whether the readPoolConfig field is set.
    • getReadPoolConfig

      public Instance.ReadPoolConfig getReadPoolConfig()
       Read pool instance configuration.
       This is required if the value of instanceType is READ_POOL.
       
      .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14;
      Specified by:
      getReadPoolConfig in interface InstanceOrBuilder
      Returns:
      The readPoolConfig.
    • setReadPoolConfig

      public Instance.Builder setReadPoolConfig(Instance.ReadPoolConfig value)
       Read pool instance configuration.
       This is required if the value of instanceType is READ_POOL.
       
      .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14;
    • setReadPoolConfig

      public Instance.Builder setReadPoolConfig(Instance.ReadPoolConfig.Builder builderForValue)
       Read pool instance configuration.
       This is required if the value of instanceType is READ_POOL.
       
      .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14;
    • mergeReadPoolConfig

      public Instance.Builder mergeReadPoolConfig(Instance.ReadPoolConfig value)
       Read pool instance configuration.
       This is required if the value of instanceType is READ_POOL.
       
      .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14;
    • clearReadPoolConfig

      public Instance.Builder clearReadPoolConfig()
       Read pool instance configuration.
       This is required if the value of instanceType is READ_POOL.
       
      .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14;
    • getReadPoolConfigBuilder

      public Instance.ReadPoolConfig.Builder getReadPoolConfigBuilder()
       Read pool instance configuration.
       This is required if the value of instanceType is READ_POOL.
       
      .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14;
    • getReadPoolConfigOrBuilder

      public Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder()
       Read pool instance configuration.
       This is required if the value of instanceType is READ_POOL.
       
      .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14;
      Specified by:
      getReadPoolConfigOrBuilder in interface InstanceOrBuilder
    • getIpAddress

      public String getIpAddress()
       Output only. The IP address for the Instance.
       This is the connection endpoint for an end-user application.
       
      string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIpAddress in interface InstanceOrBuilder
      Returns:
      The ipAddress.
    • getIpAddressBytes

      public com.google.protobuf.ByteString getIpAddressBytes()
       Output only. The IP address for the Instance.
       This is the connection endpoint for an end-user application.
       
      string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIpAddressBytes in interface InstanceOrBuilder
      Returns:
      The bytes for ipAddress.
    • setIpAddress

      public Instance.Builder setIpAddress(String value)
       Output only. The IP address for the Instance.
       This is the connection endpoint for an end-user application.
       
      string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The ipAddress to set.
      Returns:
      This builder for chaining.
    • clearIpAddress

      public Instance.Builder clearIpAddress()
       Output only. The IP address for the Instance.
       This is the connection endpoint for an end-user application.
       
      string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setIpAddressBytes

      public Instance.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
       Output only. The IP address for the Instance.
       This is the connection endpoint for an end-user application.
       
      string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for ipAddress to set.
      Returns:
      This builder for chaining.
    • getPublicIpAddress

      public String getPublicIpAddress()
       Output only. The public IP addresses for the Instance. This is available
       ONLY when enable_public_ip is set. This is the connection endpoint for an
       end-user application.
       
      string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getPublicIpAddress in interface InstanceOrBuilder
      Returns:
      The publicIpAddress.
    • getPublicIpAddressBytes

      public com.google.protobuf.ByteString getPublicIpAddressBytes()
       Output only. The public IP addresses for the Instance. This is available
       ONLY when enable_public_ip is set. This is the connection endpoint for an
       end-user application.
       
      string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getPublicIpAddressBytes in interface InstanceOrBuilder
      Returns:
      The bytes for publicIpAddress.
    • setPublicIpAddress

      public Instance.Builder setPublicIpAddress(String value)
       Output only. The public IP addresses for the Instance. This is available
       ONLY when enable_public_ip is set. This is the connection endpoint for an
       end-user application.
       
      string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The publicIpAddress to set.
      Returns:
      This builder for chaining.
    • clearPublicIpAddress

      public Instance.Builder clearPublicIpAddress()
       Output only. The public IP addresses for the Instance. This is available
       ONLY when enable_public_ip is set. This is the connection endpoint for an
       end-user application.
       
      string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setPublicIpAddressBytes

      public Instance.Builder setPublicIpAddressBytes(com.google.protobuf.ByteString value)
       Output only. The public IP addresses for the Instance. This is available
       ONLY when enable_public_ip is set. This is the connection endpoint for an
       end-user application.
       
      string public_ip_address = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for publicIpAddress to set.
      Returns:
      This builder for chaining.
    • getReconciling

      public boolean getReconciling()
       Output only. Reconciling (https://google.aip.dev/128#reconciliation).
       Set to true if the current state of Instance does not match the user's
       intended state, and the service is actively updating the resource to
       reconcile them. This can happen due to user-triggered updates or
       system actions like failover or maintenance.
       
      bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReconciling in interface InstanceOrBuilder
      Returns:
      The reconciling.
    • setReconciling

      public Instance.Builder setReconciling(boolean value)
       Output only. Reconciling (https://google.aip.dev/128#reconciliation).
       Set to true if the current state of Instance does not match the user's
       intended state, and the service is actively updating the resource to
       reconcile them. This can happen due to user-triggered updates or
       system actions like failover or maintenance.
       
      bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The reconciling to set.
      Returns:
      This builder for chaining.
    • clearReconciling

      public Instance.Builder clearReconciling()
       Output only. Reconciling (https://google.aip.dev/128#reconciliation).
       Set to true if the current state of Instance does not match the user's
       intended state, and the service is actively updating the resource to
       reconcile them. This can happen due to user-triggered updates or
       system actions like failover or maintenance.
       
      bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getEtag

      public String getEtag()
       For Resource freshness validation (https://google.aip.dev/154)
       
      string etag = 17;
      Specified by:
      getEtag in interface InstanceOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       For Resource freshness validation (https://google.aip.dev/154)
       
      string etag = 17;
      Specified by:
      getEtagBytes in interface InstanceOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public Instance.Builder setEtag(String value)
       For Resource freshness validation (https://google.aip.dev/154)
       
      string etag = 17;
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public Instance.Builder clearEtag()
       For Resource freshness validation (https://google.aip.dev/154)
       
      string etag = 17;
      Returns:
      This builder for chaining.
    • setEtagBytes

      public Instance.Builder setEtagBytes(com.google.protobuf.ByteString value)
       For Resource freshness validation (https://google.aip.dev/154)
       
      string etag = 17;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: InstanceOrBuilder
       Annotations to allow client tools to store small amount of arbitrary data.
       This is distinct from labels.
       https://google.aip.dev/128
       
      map<string, string> annotations = 18;
      Specified by:
      getAnnotationsCount in interface InstanceOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       Annotations to allow client tools to store small amount of arbitrary data.
       This is distinct from labels.
       https://google.aip.dev/128
       
      map<string, string> annotations = 18;
      Specified by:
      containsAnnotations in interface InstanceOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface InstanceOrBuilder
    • getAnnotationsMap

      public Map<String,String> getAnnotationsMap()
       Annotations to allow client tools to store small amount of arbitrary data.
       This is distinct from labels.
       https://google.aip.dev/128
       
      map<string, string> annotations = 18;
      Specified by:
      getAnnotationsMap in interface InstanceOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       Annotations to allow client tools to store small amount of arbitrary data.
       This is distinct from labels.
       https://google.aip.dev/128
       
      map<string, string> annotations = 18;
      Specified by:
      getAnnotationsOrDefault in interface InstanceOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       Annotations to allow client tools to store small amount of arbitrary data.
       This is distinct from labels.
       https://google.aip.dev/128
       
      map<string, string> annotations = 18;
      Specified by:
      getAnnotationsOrThrow in interface InstanceOrBuilder
    • clearAnnotations

      public Instance.Builder clearAnnotations()
    • removeAnnotations

      public Instance.Builder removeAnnotations(String key)
       Annotations to allow client tools to store small amount of arbitrary data.
       This is distinct from labels.
       https://google.aip.dev/128
       
      map<string, string> annotations = 18;
    • getMutableAnnotations

      @Deprecated public Map<String,String> getMutableAnnotations()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAnnotations

      public Instance.Builder putAnnotations(String key, String value)
       Annotations to allow client tools to store small amount of arbitrary data.
       This is distinct from labels.
       https://google.aip.dev/128
       
      map<string, string> annotations = 18;
    • putAllAnnotations

      public Instance.Builder putAllAnnotations(Map<String,String> values)
       Annotations to allow client tools to store small amount of arbitrary data.
       This is distinct from labels.
       https://google.aip.dev/128
       
      map<string, string> annotations = 18;
    • hasUpdatePolicy

      public boolean hasUpdatePolicy()
       Update policy that will be applied during instance update.
       This field is not persisted when you update the instance.
       To use a non-default update policy, you must
       specify explicitly specify the value in each update request.
       
      .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
      Specified by:
      hasUpdatePolicy in interface InstanceOrBuilder
      Returns:
      Whether the updatePolicy field is set.
    • getUpdatePolicy

      public Instance.UpdatePolicy getUpdatePolicy()
       Update policy that will be applied during instance update.
       This field is not persisted when you update the instance.
       To use a non-default update policy, you must
       specify explicitly specify the value in each update request.
       
      .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
      Specified by:
      getUpdatePolicy in interface InstanceOrBuilder
      Returns:
      The updatePolicy.
    • setUpdatePolicy

      public Instance.Builder setUpdatePolicy(Instance.UpdatePolicy value)
       Update policy that will be applied during instance update.
       This field is not persisted when you update the instance.
       To use a non-default update policy, you must
       specify explicitly specify the value in each update request.
       
      .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
    • setUpdatePolicy

      public Instance.Builder setUpdatePolicy(Instance.UpdatePolicy.Builder builderForValue)
       Update policy that will be applied during instance update.
       This field is not persisted when you update the instance.
       To use a non-default update policy, you must
       specify explicitly specify the value in each update request.
       
      .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
    • mergeUpdatePolicy

      public Instance.Builder mergeUpdatePolicy(Instance.UpdatePolicy value)
       Update policy that will be applied during instance update.
       This field is not persisted when you update the instance.
       To use a non-default update policy, you must
       specify explicitly specify the value in each update request.
       
      .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
    • clearUpdatePolicy

      public Instance.Builder clearUpdatePolicy()
       Update policy that will be applied during instance update.
       This field is not persisted when you update the instance.
       To use a non-default update policy, you must
       specify explicitly specify the value in each update request.
       
      .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
    • getUpdatePolicyBuilder

      public Instance.UpdatePolicy.Builder getUpdatePolicyBuilder()
       Update policy that will be applied during instance update.
       This field is not persisted when you update the instance.
       To use a non-default update policy, you must
       specify explicitly specify the value in each update request.
       
      .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
    • getUpdatePolicyOrBuilder

      public Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder()
       Update policy that will be applied during instance update.
       This field is not persisted when you update the instance.
       To use a non-default update policy, you must
       specify explicitly specify the value in each update request.
       
      .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
      Specified by:
      getUpdatePolicyOrBuilder in interface InstanceOrBuilder
    • hasClientConnectionConfig

      public boolean hasClientConnectionConfig()
       Optional. Client connection specific configurations
       
      .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasClientConnectionConfig in interface InstanceOrBuilder
      Returns:
      Whether the clientConnectionConfig field is set.
    • getClientConnectionConfig

      public Instance.ClientConnectionConfig getClientConnectionConfig()
       Optional. Client connection specific configurations
       
      .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getClientConnectionConfig in interface InstanceOrBuilder
      Returns:
      The clientConnectionConfig.
    • setClientConnectionConfig

      public Instance.Builder setClientConnectionConfig(Instance.ClientConnectionConfig value)
       Optional. Client connection specific configurations
       
      .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • setClientConnectionConfig

      public Instance.Builder setClientConnectionConfig(Instance.ClientConnectionConfig.Builder builderForValue)
       Optional. Client connection specific configurations
       
      .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • mergeClientConnectionConfig

      public Instance.Builder mergeClientConnectionConfig(Instance.ClientConnectionConfig value)
       Optional. Client connection specific configurations
       
      .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • clearClientConnectionConfig

      public Instance.Builder clearClientConnectionConfig()
       Optional. Client connection specific configurations
       
      .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • getClientConnectionConfigBuilder

      public Instance.ClientConnectionConfig.Builder getClientConnectionConfigBuilder()
       Optional. Client connection specific configurations
       
      .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • getClientConnectionConfigOrBuilder

      public Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder()
       Optional. Client connection specific configurations
       
      .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getClientConnectionConfigOrBuilder in interface InstanceOrBuilder
    • getSatisfiesPzs

      public boolean getSatisfiesPzs()
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzs in interface InstanceOrBuilder
      Returns:
      The satisfiesPzs.
    • setSatisfiesPzs

      public Instance.Builder setSatisfiesPzs(boolean value)
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The satisfiesPzs to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzs

      public Instance.Builder clearSatisfiesPzs()
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasPscInstanceConfig

      public boolean hasPscInstanceConfig()
       Optional. The configuration for Private Service Connect (PSC) for the
       instance.
       
      .google.cloud.alloydb.v1beta.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasPscInstanceConfig in interface InstanceOrBuilder
      Returns:
      Whether the pscInstanceConfig field is set.
    • getPscInstanceConfig

      public Instance.PscInstanceConfig getPscInstanceConfig()
       Optional. The configuration for Private Service Connect (PSC) for the
       instance.
       
      .google.cloud.alloydb.v1beta.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPscInstanceConfig in interface InstanceOrBuilder
      Returns:
      The pscInstanceConfig.
    • setPscInstanceConfig

      public Instance.Builder setPscInstanceConfig(Instance.PscInstanceConfig value)
       Optional. The configuration for Private Service Connect (PSC) for the
       instance.
       
      .google.cloud.alloydb.v1beta.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
    • setPscInstanceConfig

      public Instance.Builder setPscInstanceConfig(Instance.PscInstanceConfig.Builder builderForValue)
       Optional. The configuration for Private Service Connect (PSC) for the
       instance.
       
      .google.cloud.alloydb.v1beta.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
    • mergePscInstanceConfig

      public Instance.Builder mergePscInstanceConfig(Instance.PscInstanceConfig value)
       Optional. The configuration for Private Service Connect (PSC) for the
       instance.
       
      .google.cloud.alloydb.v1beta.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
    • clearPscInstanceConfig

      public Instance.Builder clearPscInstanceConfig()
       Optional. The configuration for Private Service Connect (PSC) for the
       instance.
       
      .google.cloud.alloydb.v1beta.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
    • getPscInstanceConfigBuilder

      public Instance.PscInstanceConfig.Builder getPscInstanceConfigBuilder()
       Optional. The configuration for Private Service Connect (PSC) for the
       instance.
       
      .google.cloud.alloydb.v1beta.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
    • getPscInstanceConfigOrBuilder

      public Instance.PscInstanceConfigOrBuilder getPscInstanceConfigOrBuilder()
       Optional. The configuration for Private Service Connect (PSC) for the
       instance.
       
      .google.cloud.alloydb.v1beta.Instance.PscInstanceConfig psc_instance_config = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPscInstanceConfigOrBuilder in interface InstanceOrBuilder
    • hasNetworkConfig

      public boolean hasNetworkConfig()
       Optional. Instance-level network configuration.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasNetworkConfig in interface InstanceOrBuilder
      Returns:
      Whether the networkConfig field is set.
    • getNetworkConfig

      public Instance.InstanceNetworkConfig getNetworkConfig()
       Optional. Instance-level network configuration.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkConfig in interface InstanceOrBuilder
      Returns:
      The networkConfig.
    • setNetworkConfig

      public Instance.Builder setNetworkConfig(Instance.InstanceNetworkConfig value)
       Optional. Instance-level network configuration.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
    • setNetworkConfig

      public Instance.Builder setNetworkConfig(Instance.InstanceNetworkConfig.Builder builderForValue)
       Optional. Instance-level network configuration.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
    • mergeNetworkConfig

      public Instance.Builder mergeNetworkConfig(Instance.InstanceNetworkConfig value)
       Optional. Instance-level network configuration.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
    • clearNetworkConfig

      public Instance.Builder clearNetworkConfig()
       Optional. Instance-level network configuration.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
    • getNetworkConfigBuilder

      public Instance.InstanceNetworkConfig.Builder getNetworkConfigBuilder()
       Optional. Instance-level network configuration.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
    • getNetworkConfigOrBuilder

      public Instance.InstanceNetworkConfigOrBuilder getNetworkConfigOrBuilder()
       Optional. Instance-level network configuration.
       
      .google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkConfigOrBuilder in interface InstanceOrBuilder
    • hasGeminiConfig

      @Deprecated public boolean hasGeminiConfig()
      Deprecated.
      google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See google/cloud/alloydb/v1beta/resources.proto;l=1325
       Optional. Deprecated and unused. This field will be removed in the near
       future.
       
      .google.cloud.alloydb.v1beta.GeminiInstanceConfig gemini_config = 33 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGeminiConfig in interface InstanceOrBuilder
      Returns:
      Whether the geminiConfig field is set.
    • getGeminiConfig

      @Deprecated public GeminiInstanceConfig getGeminiConfig()
      Deprecated.
      google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See google/cloud/alloydb/v1beta/resources.proto;l=1325
       Optional. Deprecated and unused. This field will be removed in the near
       future.
       
      .google.cloud.alloydb.v1beta.GeminiInstanceConfig gemini_config = 33 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGeminiConfig in interface InstanceOrBuilder
      Returns:
      The geminiConfig.
    • setGeminiConfig

      @Deprecated public Instance.Builder setGeminiConfig(GeminiInstanceConfig value)
      Deprecated.
       Optional. Deprecated and unused. This field will be removed in the near
       future.
       
      .google.cloud.alloydb.v1beta.GeminiInstanceConfig gemini_config = 33 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
    • setGeminiConfig

      @Deprecated public Instance.Builder setGeminiConfig(GeminiInstanceConfig.Builder builderForValue)
      Deprecated.
       Optional. Deprecated and unused. This field will be removed in the near
       future.
       
      .google.cloud.alloydb.v1beta.GeminiInstanceConfig gemini_config = 33 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
    • mergeGeminiConfig

      @Deprecated public Instance.Builder mergeGeminiConfig(GeminiInstanceConfig value)
      Deprecated.
       Optional. Deprecated and unused. This field will be removed in the near
       future.
       
      .google.cloud.alloydb.v1beta.GeminiInstanceConfig gemini_config = 33 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
    • clearGeminiConfig

      @Deprecated public Instance.Builder clearGeminiConfig()
      Deprecated.
       Optional. Deprecated and unused. This field will be removed in the near
       future.
       
      .google.cloud.alloydb.v1beta.GeminiInstanceConfig gemini_config = 33 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
    • getGeminiConfigBuilder

      @Deprecated public GeminiInstanceConfig.Builder getGeminiConfigBuilder()
      Deprecated.
       Optional. Deprecated and unused. This field will be removed in the near
       future.
       
      .google.cloud.alloydb.v1beta.GeminiInstanceConfig gemini_config = 33 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
    • getGeminiConfigOrBuilder

      @Deprecated public GeminiInstanceConfigOrBuilder getGeminiConfigOrBuilder()
      Deprecated.
       Optional. Deprecated and unused. This field will be removed in the near
       future.
       
      .google.cloud.alloydb.v1beta.GeminiInstanceConfig gemini_config = 33 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGeminiConfigOrBuilder in interface InstanceOrBuilder
    • getOutboundPublicIpAddressesList

      public com.google.protobuf.ProtocolStringList getOutboundPublicIpAddressesList()
       Output only. All outbound public IP addresses configured for the instance.
       
      repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getOutboundPublicIpAddressesList in interface InstanceOrBuilder
      Returns:
      A list containing the outboundPublicIpAddresses.
    • getOutboundPublicIpAddressesCount

      public int getOutboundPublicIpAddressesCount()
       Output only. All outbound public IP addresses configured for the instance.
       
      repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getOutboundPublicIpAddressesCount in interface InstanceOrBuilder
      Returns:
      The count of outboundPublicIpAddresses.
    • getOutboundPublicIpAddresses

      public String getOutboundPublicIpAddresses(int index)
       Output only. All outbound public IP addresses configured for the instance.
       
      repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getOutboundPublicIpAddresses in interface InstanceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The outboundPublicIpAddresses at the given index.
    • getOutboundPublicIpAddressesBytes

      public com.google.protobuf.ByteString getOutboundPublicIpAddressesBytes(int index)
       Output only. All outbound public IP addresses configured for the instance.
       
      repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getOutboundPublicIpAddressesBytes in interface InstanceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the outboundPublicIpAddresses at the given index.
    • setOutboundPublicIpAddresses

      public Instance.Builder setOutboundPublicIpAddresses(int index, String value)
       Output only. All outbound public IP addresses configured for the instance.
       
      repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The outboundPublicIpAddresses to set.
      Returns:
      This builder for chaining.
    • addOutboundPublicIpAddresses

      public Instance.Builder addOutboundPublicIpAddresses(String value)
       Output only. All outbound public IP addresses configured for the instance.
       
      repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The outboundPublicIpAddresses to add.
      Returns:
      This builder for chaining.
    • addAllOutboundPublicIpAddresses

      public Instance.Builder addAllOutboundPublicIpAddresses(Iterable<String> values)
       Output only. All outbound public IP addresses configured for the instance.
       
      repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      values - The outboundPublicIpAddresses to add.
      Returns:
      This builder for chaining.
    • clearOutboundPublicIpAddresses

      public Instance.Builder clearOutboundPublicIpAddresses()
       Output only. All outbound public IP addresses configured for the instance.
       
      repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • addOutboundPublicIpAddressesBytes

      public Instance.Builder addOutboundPublicIpAddressesBytes(com.google.protobuf.ByteString value)
       Output only. All outbound public IP addresses configured for the instance.
       
      repeated string outbound_public_ip_addresses = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes of the outboundPublicIpAddresses to add.
      Returns:
      This builder for chaining.
    • getActivationPolicyValue

      public int getActivationPolicyValue()
       Optional. Specifies whether an instance needs to spin up. Once the instance
       is active, the activation policy can be updated to the `NEVER` to stop the
       instance. Likewise, the activation policy can be updated to `ALWAYS` to
       start the instance.
       There are restrictions around when an instance can/cannot be activated (for
       example, a read pool instance should be stopped before stopping primary
       etc.). Please refer to the API documentation for more details.
       
      .google.cloud.alloydb.v1beta.Instance.ActivationPolicy activation_policy = 35 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getActivationPolicyValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for activationPolicy.
    • setActivationPolicyValue

      public Instance.Builder setActivationPolicyValue(int value)
       Optional. Specifies whether an instance needs to spin up. Once the instance
       is active, the activation policy can be updated to the `NEVER` to stop the
       instance. Likewise, the activation policy can be updated to `ALWAYS` to
       start the instance.
       There are restrictions around when an instance can/cannot be activated (for
       example, a read pool instance should be stopped before stopping primary
       etc.). Please refer to the API documentation for more details.
       
      .google.cloud.alloydb.v1beta.Instance.ActivationPolicy activation_policy = 35 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for activationPolicy to set.
      Returns:
      This builder for chaining.
    • getActivationPolicy

      public Instance.ActivationPolicy getActivationPolicy()
       Optional. Specifies whether an instance needs to spin up. Once the instance
       is active, the activation policy can be updated to the `NEVER` to stop the
       instance. Likewise, the activation policy can be updated to `ALWAYS` to
       start the instance.
       There are restrictions around when an instance can/cannot be activated (for
       example, a read pool instance should be stopped before stopping primary
       etc.). Please refer to the API documentation for more details.
       
      .google.cloud.alloydb.v1beta.Instance.ActivationPolicy activation_policy = 35 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getActivationPolicy in interface InstanceOrBuilder
      Returns:
      The activationPolicy.
    • setActivationPolicy

      public Instance.Builder setActivationPolicy(Instance.ActivationPolicy value)
       Optional. Specifies whether an instance needs to spin up. Once the instance
       is active, the activation policy can be updated to the `NEVER` to stop the
       instance. Likewise, the activation policy can be updated to `ALWAYS` to
       start the instance.
       There are restrictions around when an instance can/cannot be activated (for
       example, a read pool instance should be stopped before stopping primary
       etc.). Please refer to the API documentation for more details.
       
      .google.cloud.alloydb.v1beta.Instance.ActivationPolicy activation_policy = 35 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The activationPolicy to set.
      Returns:
      This builder for chaining.
    • clearActivationPolicy

      public Instance.Builder clearActivationPolicy()
       Optional. Specifies whether an instance needs to spin up. Once the instance
       is active, the activation policy can be updated to the `NEVER` to stop the
       instance. Likewise, the activation policy can be updated to `ALWAYS` to
       start the instance.
       There are restrictions around when an instance can/cannot be activated (for
       example, a read pool instance should be stopped before stopping primary
       etc.). Please refer to the API documentation for more details.
       
      .google.cloud.alloydb.v1beta.Instance.ActivationPolicy activation_policy = 35 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasConnectionPoolConfig

      public boolean hasConnectionPoolConfig()
       Optional. The configuration for Managed Connection Pool (MCP).
       
      .google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasConnectionPoolConfig in interface InstanceOrBuilder
      Returns:
      Whether the connectionPoolConfig field is set.
    • getConnectionPoolConfig

      public Instance.ConnectionPoolConfig getConnectionPoolConfig()
       Optional. The configuration for Managed Connection Pool (MCP).
       
      .google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConnectionPoolConfig in interface InstanceOrBuilder
      Returns:
      The connectionPoolConfig.
    • setConnectionPoolConfig

      public Instance.Builder setConnectionPoolConfig(Instance.ConnectionPoolConfig value)
       Optional. The configuration for Managed Connection Pool (MCP).
       
      .google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL];
    • setConnectionPoolConfig

      public Instance.Builder setConnectionPoolConfig(Instance.ConnectionPoolConfig.Builder builderForValue)
       Optional. The configuration for Managed Connection Pool (MCP).
       
      .google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL];
    • mergeConnectionPoolConfig

      public Instance.Builder mergeConnectionPoolConfig(Instance.ConnectionPoolConfig value)
       Optional. The configuration for Managed Connection Pool (MCP).
       
      .google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL];
    • clearConnectionPoolConfig

      public Instance.Builder clearConnectionPoolConfig()
       Optional. The configuration for Managed Connection Pool (MCP).
       
      .google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL];
    • getConnectionPoolConfigBuilder

      public Instance.ConnectionPoolConfig.Builder getConnectionPoolConfigBuilder()
       Optional. The configuration for Managed Connection Pool (MCP).
       
      .google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL];
    • getConnectionPoolConfigOrBuilder

      public Instance.ConnectionPoolConfigOrBuilder getConnectionPoolConfigOrBuilder()
       Optional. The configuration for Managed Connection Pool (MCP).
       
      .google.cloud.alloydb.v1beta.Instance.ConnectionPoolConfig connection_pool_config = 37 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConnectionPoolConfigOrBuilder in interface InstanceOrBuilder
    • hasGcaConfig

      public boolean hasGcaConfig()
       Output only. Configuration parameters related to Gemini Cloud Assist.
       
      .google.cloud.alloydb.v1beta.GCAInstanceConfig gca_config = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasGcaConfig in interface InstanceOrBuilder
      Returns:
      Whether the gcaConfig field is set.
    • getGcaConfig

      public GCAInstanceConfig getGcaConfig()
       Output only. Configuration parameters related to Gemini Cloud Assist.
       
      .google.cloud.alloydb.v1beta.GCAInstanceConfig gca_config = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGcaConfig in interface InstanceOrBuilder
      Returns:
      The gcaConfig.
    • setGcaConfig

      public Instance.Builder setGcaConfig(GCAInstanceConfig value)
       Output only. Configuration parameters related to Gemini Cloud Assist.
       
      .google.cloud.alloydb.v1beta.GCAInstanceConfig gca_config = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setGcaConfig

      public Instance.Builder setGcaConfig(GCAInstanceConfig.Builder builderForValue)
       Output only. Configuration parameters related to Gemini Cloud Assist.
       
      .google.cloud.alloydb.v1beta.GCAInstanceConfig gca_config = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeGcaConfig

      public Instance.Builder mergeGcaConfig(GCAInstanceConfig value)
       Output only. Configuration parameters related to Gemini Cloud Assist.
       
      .google.cloud.alloydb.v1beta.GCAInstanceConfig gca_config = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearGcaConfig

      public Instance.Builder clearGcaConfig()
       Output only. Configuration parameters related to Gemini Cloud Assist.
       
      .google.cloud.alloydb.v1beta.GCAInstanceConfig gca_config = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getGcaConfigBuilder

      public GCAInstanceConfig.Builder getGcaConfigBuilder()
       Output only. Configuration parameters related to Gemini Cloud Assist.
       
      .google.cloud.alloydb.v1beta.GCAInstanceConfig gca_config = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getGcaConfigOrBuilder

      public GCAInstanceConfigOrBuilder getGcaConfigOrBuilder()
       Output only. Configuration parameters related to Gemini Cloud Assist.
       
      .google.cloud.alloydb.v1beta.GCAInstanceConfig gca_config = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGcaConfigOrBuilder in interface InstanceOrBuilder