Package com.google.cloud.alloydb.v1beta
Class Instance
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.alloydb.v1beta.Instance
- All Implemented Interfaces:
InstanceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Instance
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSpecifies whether an instance needs to spin up.static enumThe Availability type of an instance.static final classAn Instance is a computing unit that an end customer can connect to.static final classClient connection configurationstatic interfacestatic final classConfiguration for Managed Connection Pool (MCP).static interfacestatic final classMetadata related to instance-level network configuration.static interfacestatic enumType of an Instancestatic final classMachineConfig describes the configuration of a machine.static interfacestatic final classDetails of a single node in the instance.static interfacestatic final classObservability Instance specific configuration.static interfacestatic final classConfiguration for setting up PSC service automation.static interfacestatic final classPscInstanceConfig contains PSC related configuration at an instance level.static interfacestatic final classConfiguration for setting up a PSC interface to enable outbound connectivity.static interfacestatic final classQueryInsights Instance specific configuration.static interfacestatic final classConfiguration for a read pool instance.static interfacestatic enumInstance Statestatic final classPolicy to be used while updating the instance.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAnnotations to allow client tools to store small amount of arbitrary data.booleanDatabase flags.booleancontainsLabels(String key) Labels as key value pairsbooleanOptional.intOptional.Deprecated.intAnnotations to allow client tools to store small amount of arbitrary data.Annotations to allow client tools to store small amount of arbitrary data.getAnnotationsOrDefault(String key, String defaultValue) Annotations to allow client tools to store small amount of arbitrary data.Annotations to allow client tools to store small amount of arbitrary data.Availability type of an Instance.intAvailability type of an Instance.Optional.Optional.Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Deprecated.intDatabase flags.Database flags.getDatabaseFlagsOrDefault(String key, String defaultValue) Database flags.Database flags.static Instancecom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.DescriptorUser-settable and human-readable display name for the Instance.com.google.protobuf.ByteStringUser-settable and human-readable display name for the Instance.getEtag()For Resource freshness validation (https://google.aip.dev/154)com.google.protobuf.ByteStringFor Resource freshness validation (https://google.aip.dev/154)Output only.Output only.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.com.google.protobuf.ByteStringThe 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.Deprecated.google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated.Deprecated.Required.intRequired.Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intLabels as key value pairsLabels as key value pairsgetLabelsOrDefault(String key, String defaultValue) Labels as key value pairsgetLabelsOrThrow(String key) Labels as key value pairsConfigurations for the machines that host the underlying database engine.Configurations for the machines that host the underlying database engine.getName()Output only.com.google.protobuf.ByteStringOutput only.Optional.Optional.getNodes(int index) Output only.intOutput only.Output only.getNodesOrBuilder(int index) Output only.List<? extends Instance.NodeOrBuilder>Output only.Configuration for observability.Configuration for observability.getOutboundPublicIpAddresses(int index) Output only.com.google.protobuf.ByteStringgetOutboundPublicIpAddressesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.com.google.protobuf.Parser<Instance>Optional.Optional.Output only.com.google.protobuf.ByteStringOutput only.Configuration for query insights.Configuration for query insights.Read pool instance configuration.Read pool instance configuration.booleanOutput only.booleanOutput only.intgetState()Output only.intOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.Update policy that will be applied during instance update.Update policy that will be applied during instance update.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.booleanOptional.booleanOptional.booleanOutput only.booleanOutput only.booleanOutput only.booleanDeprecated.google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated.inthashCode()booleanConfigurations for the machines that host the underlying database engine.booleanOptional.booleanConfiguration for observability.booleanOptional.booleanConfiguration for query insights.booleanRead pool instance configuration.booleanUpdate policy that will be applied during instance update.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Instance.Builderstatic Instance.BuildernewBuilder(Instance prototype) protected Instance.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static InstanceparseDelimitedFrom(InputStream input) static InstanceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(byte[] data) static InstanceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(com.google.protobuf.ByteString data) static InstanceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(com.google.protobuf.CodedInputStream input) static InstanceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(InputStream input) static InstanceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(ByteBuffer data) static InstanceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Instance>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
DELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
INSTANCE_TYPE_FIELD_NUMBER
public static final int INSTANCE_TYPE_FIELD_NUMBER- See Also:
-
MACHINE_CONFIG_FIELD_NUMBER
public static final int MACHINE_CONFIG_FIELD_NUMBER- See Also:
-
AVAILABILITY_TYPE_FIELD_NUMBER
public static final int AVAILABILITY_TYPE_FIELD_NUMBER- See Also:
-
GCE_ZONE_FIELD_NUMBER
public static final int GCE_ZONE_FIELD_NUMBER- See Also:
-
DATABASE_FLAGS_FIELD_NUMBER
public static final int DATABASE_FLAGS_FIELD_NUMBER- See Also:
-
WRITABLE_NODE_FIELD_NUMBER
public static final int WRITABLE_NODE_FIELD_NUMBER- See Also:
-
NODES_FIELD_NUMBER
public static final int NODES_FIELD_NUMBER- See Also:
-
QUERY_INSIGHTS_CONFIG_FIELD_NUMBER
public static final int QUERY_INSIGHTS_CONFIG_FIELD_NUMBER- See Also:
-
OBSERVABILITY_CONFIG_FIELD_NUMBER
public static final int OBSERVABILITY_CONFIG_FIELD_NUMBER- See Also:
-
READ_POOL_CONFIG_FIELD_NUMBER
public static final int READ_POOL_CONFIG_FIELD_NUMBER- See Also:
-
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER- See Also:
-
PUBLIC_IP_ADDRESS_FIELD_NUMBER
public static final int PUBLIC_IP_ADDRESS_FIELD_NUMBER- See Also:
-
RECONCILING_FIELD_NUMBER
public static final int RECONCILING_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER- See Also:
-
UPDATE_POLICY_FIELD_NUMBER
public static final int UPDATE_POLICY_FIELD_NUMBER- See Also:
-
CLIENT_CONNECTION_CONFIG_FIELD_NUMBER
public static final int CLIENT_CONNECTION_CONFIG_FIELD_NUMBER- See Also:
-
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER- See Also:
-
PSC_INSTANCE_CONFIG_FIELD_NUMBER
public static final int PSC_INSTANCE_CONFIG_FIELD_NUMBER- See Also:
-
NETWORK_CONFIG_FIELD_NUMBER
public static final int NETWORK_CONFIG_FIELD_NUMBER- See Also:
-
GEMINI_CONFIG_FIELD_NUMBER
public static final int GEMINI_CONFIG_FIELD_NUMBER- See Also:
-
OUTBOUND_PUBLIC_IP_ADDRESSES_FIELD_NUMBER
public static final int OUTBOUND_PUBLIC_IP_ADDRESSES_FIELD_NUMBER- See Also:
-
ACTIVATION_POLICY_FIELD_NUMBER
public static final int ACTIVATION_POLICY_FIELD_NUMBER- See Also:
-
CONNECTION_POOL_CONFIG_FIELD_NUMBER
public static final int CONNECTION_POOL_CONFIG_FIELD_NUMBER- See Also:
-
GCA_CONFIG_FIELD_NUMBER
public static final int GCA_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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:
getNamein interfaceInstanceOrBuilder- 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:
getNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
User-settable and human-readable display name for the Instance.
string display_name = 2;- Specified by:
getDisplayNamein interfaceInstanceOrBuilder- 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:
getDisplayNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for displayName.
-
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:
getUidin interfaceInstanceOrBuilder- 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:
getUidBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for uid.
-
hasCreateTime
public boolean hasCreateTime()Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceInstanceOrBuilder- 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:
getCreateTimein interfaceInstanceOrBuilder- Returns:
- The createTime.
-
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:
getCreateTimeOrBuilderin interfaceInstanceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceInstanceOrBuilder- 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:
getUpdateTimein interfaceInstanceOrBuilder- Returns:
- The updateTime.
-
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:
getUpdateTimeOrBuilderin interfaceInstanceOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceInstanceOrBuilder- 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:
getDeleteTimein interfaceInstanceOrBuilder- Returns:
- The deleteTime.
-
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:
getDeleteTimeOrBuilderin interfaceInstanceOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:InstanceOrBuilderLabels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsCountin interfaceInstanceOrBuilder
-
containsLabels
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
containsLabelsin interfaceInstanceOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstanceOrBuilder
-
getLabelsMap
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsMapin interfaceInstanceOrBuilder
-
getLabelsOrDefault
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsOrDefaultin interfaceInstanceOrBuilder
-
getLabelsOrThrow
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsOrThrowin interfaceInstanceOrBuilder
-
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:
getStateValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getStatein interfaceInstanceOrBuilder- Returns:
- The state.
-
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:
getInstanceTypeValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getInstanceTypein interfaceInstanceOrBuilder- Returns:
- The instanceType.
-
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:
hasMachineConfigin interfaceInstanceOrBuilder- Returns:
- Whether the machineConfig field is set.
-
getMachineConfig
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;- Specified by:
getMachineConfigin interfaceInstanceOrBuilder- Returns:
- The machineConfig.
-
getMachineConfigOrBuilder
Configurations for the machines that host the underlying database engine.
.google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;- Specified by:
getMachineConfigOrBuilderin interfaceInstanceOrBuilder
-
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:
getAvailabilityTypeValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getAvailabilityTypein interfaceInstanceOrBuilder- Returns:
- The availabilityType.
-
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:
getGceZonein interfaceInstanceOrBuilder- 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:
getGceZoneBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for gceZone.
-
getDatabaseFlagsCount
public int getDatabaseFlagsCount()Description copied from interface:InstanceOrBuilderDatabase 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:
getDatabaseFlagsCountin interfaceInstanceOrBuilder
-
containsDatabaseFlags
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:
containsDatabaseFlagsin interfaceInstanceOrBuilder
-
getDatabaseFlags
Deprecated.UsegetDatabaseFlagsMap()instead.- Specified by:
getDatabaseFlagsin interfaceInstanceOrBuilder
-
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:
getDatabaseFlagsMapin interfaceInstanceOrBuilder
-
getDatabaseFlagsOrDefault
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:
getDatabaseFlagsOrDefaultin interfaceInstanceOrBuilder
-
getDatabaseFlagsOrThrow
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:
getDatabaseFlagsOrThrowin interfaceInstanceOrBuilder
-
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:
hasWritableNodein interfaceInstanceOrBuilder- Returns:
- Whether the writableNode field is set.
-
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:
getWritableNodein interfaceInstanceOrBuilder- Returns:
- The writableNode.
-
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:
getWritableNodeOrBuilderin interfaceInstanceOrBuilder
-
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:
getNodesListin interfaceInstanceOrBuilder
-
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:
getNodesOrBuilderListin interfaceInstanceOrBuilder
-
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:
getNodesCountin interfaceInstanceOrBuilder
-
getNodes
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:
getNodesin interfaceInstanceOrBuilder
-
getNodesOrBuilder
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:
getNodesOrBuilderin interfaceInstanceOrBuilder
-
hasQueryInsightsConfig
public boolean hasQueryInsightsConfig()Configuration for query insights.
.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21;- Specified by:
hasQueryInsightsConfigin interfaceInstanceOrBuilder- Returns:
- Whether the queryInsightsConfig field is set.
-
getQueryInsightsConfig
Configuration for query insights.
.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21;- Specified by:
getQueryInsightsConfigin interfaceInstanceOrBuilder- Returns:
- The queryInsightsConfig.
-
getQueryInsightsConfigOrBuilder
Configuration for query insights.
.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21;- Specified by:
getQueryInsightsConfigOrBuilderin interfaceInstanceOrBuilder
-
hasObservabilityConfig
public boolean hasObservabilityConfig()Configuration for observability.
.google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig observability_config = 26;- Specified by:
hasObservabilityConfigin interfaceInstanceOrBuilder- Returns:
- Whether the observabilityConfig field is set.
-
getObservabilityConfig
Configuration for observability.
.google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig observability_config = 26;- Specified by:
getObservabilityConfigin interfaceInstanceOrBuilder- Returns:
- The observabilityConfig.
-
getObservabilityConfigOrBuilder
Configuration for observability.
.google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig observability_config = 26;- Specified by:
getObservabilityConfigOrBuilderin interfaceInstanceOrBuilder
-
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:
hasReadPoolConfigin interfaceInstanceOrBuilder- Returns:
- Whether the readPoolConfig field is set.
-
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:
getReadPoolConfigin interfaceInstanceOrBuilder- Returns:
- The readPoolConfig.
-
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:
getReadPoolConfigOrBuilderin interfaceInstanceOrBuilder
-
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:
getIpAddressin interfaceInstanceOrBuilder- 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:
getIpAddressBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for ipAddress.
-
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:
getPublicIpAddressin interfaceInstanceOrBuilder- 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:
getPublicIpAddressBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for publicIpAddress.
-
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:
getReconcilingin interfaceInstanceOrBuilder- Returns:
- The reconciling.
-
getEtag
For Resource freshness validation (https://google.aip.dev/154)
string etag = 17;- Specified by:
getEtagin interfaceInstanceOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()For Resource freshness validation (https://google.aip.dev/154)
string etag = 17;- Specified by:
getEtagBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for etag.
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:InstanceOrBuilderAnnotations 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:
getAnnotationsCountin interfaceInstanceOrBuilder
-
containsAnnotations
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:
containsAnnotationsin interfaceInstanceOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceInstanceOrBuilder
-
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:
getAnnotationsMapin interfaceInstanceOrBuilder
-
getAnnotationsOrDefault
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:
getAnnotationsOrDefaultin interfaceInstanceOrBuilder
-
getAnnotationsOrThrow
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:
getAnnotationsOrThrowin interfaceInstanceOrBuilder
-
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:
hasUpdatePolicyin interfaceInstanceOrBuilder- Returns:
- Whether the updatePolicy field is set.
-
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:
getUpdatePolicyin interfaceInstanceOrBuilder- Returns:
- The updatePolicy.
-
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:
getUpdatePolicyOrBuilderin interfaceInstanceOrBuilder
-
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:
hasClientConnectionConfigin interfaceInstanceOrBuilder- Returns:
- Whether the clientConnectionConfig field is set.
-
getClientConnectionConfig
Optional. Client connection specific configurations
.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClientConnectionConfigin interfaceInstanceOrBuilder- Returns:
- The clientConnectionConfig.
-
getClientConnectionConfigOrBuilder
Optional. Client connection specific configurations
.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClientConnectionConfigOrBuilderin interfaceInstanceOrBuilder
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. Reserved for future use.
bool satisfies_pzs = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceInstanceOrBuilder- Returns:
- The satisfiesPzs.
-
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:
hasPscInstanceConfigin interfaceInstanceOrBuilder- Returns:
- Whether the pscInstanceConfig field is set.
-
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:
getPscInstanceConfigin interfaceInstanceOrBuilder- Returns:
- The pscInstanceConfig.
-
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:
getPscInstanceConfigOrBuilderin interfaceInstanceOrBuilder
-
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:
hasNetworkConfigin interfaceInstanceOrBuilder- Returns:
- Whether the networkConfig field is set.
-
getNetworkConfig
Optional. Instance-level network configuration.
.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkConfigin interfaceInstanceOrBuilder- Returns:
- The networkConfig.
-
getNetworkConfigOrBuilder
Optional. Instance-level network configuration.
.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkConfigOrBuilderin interfaceInstanceOrBuilder
-
hasGeminiConfig
Deprecated.google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See google/cloud/alloydb/v1beta/resources.proto;l=1325Optional. 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:
hasGeminiConfigin interfaceInstanceOrBuilder- Returns:
- Whether the geminiConfig field is set.
-
getGeminiConfig
Deprecated.google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See google/cloud/alloydb/v1beta/resources.proto;l=1325Optional. 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:
getGeminiConfigin interfaceInstanceOrBuilder- Returns:
- The geminiConfig.
-
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:
getGeminiConfigOrBuilderin interfaceInstanceOrBuilder
-
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:
getOutboundPublicIpAddressesListin interfaceInstanceOrBuilder- 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:
getOutboundPublicIpAddressesCountin interfaceInstanceOrBuilder- Returns:
- The count of outboundPublicIpAddresses.
-
getOutboundPublicIpAddresses
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:
getOutboundPublicIpAddressesin interfaceInstanceOrBuilder- 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:
getOutboundPublicIpAddressesBytesin interfaceInstanceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outboundPublicIpAddresses at the given index.
-
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:
getActivationPolicyValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getActivationPolicyin interfaceInstanceOrBuilder- Returns:
- The activationPolicy.
-
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:
hasConnectionPoolConfigin interfaceInstanceOrBuilder- Returns:
- Whether the connectionPoolConfig field is set.
-
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:
getConnectionPoolConfigin interfaceInstanceOrBuilder- Returns:
- The connectionPoolConfig.
-
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:
getConnectionPoolConfigOrBuilderin interfaceInstanceOrBuilder
-
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:
hasGcaConfigin interfaceInstanceOrBuilder- Returns:
- Whether the gcaConfig field is set.
-
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:
getGcaConfigin interfaceInstanceOrBuilder- Returns:
- The gcaConfig.
-
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:
getGcaConfigOrBuilderin interfaceInstanceOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Instance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-