Package com.google.cloud.alloydb.v1beta
Class Instance.PscInstanceConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.alloydb.v1beta.Instance.PscInstanceConfig
- All Implemented Interfaces:
Instance.PscInstanceConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Instance
public static final class Instance.PscInstanceConfig
extends com.google.protobuf.GeneratedMessage
implements Instance.PscInstanceConfigOrBuilder
PscInstanceConfig contains PSC related configuration at an instance level.Protobuf type
google.cloud.alloydb.v1beta.Instance.PscInstanceConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPscInstanceConfig contains PSC related configuration at an instance level.Nested 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 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 TypeMethodDescriptionbooleangetAllowedConsumerProjects(int index) Optional.com.google.protobuf.ByteStringgetAllowedConsumerProjectsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.static Instance.PscInstanceConfigstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Instance.PscInstanceConfig>getPscAutoConnections(int index) Optional.intOptional.Optional.getPscAutoConnectionsOrBuilder(int index) Optional.List<? extends Instance.PscAutoConnectionConfigOrBuilder>Optional.Output only.com.google.protobuf.ByteStringOutput only.getPscInterfaceConfigs(int index) Optional.intOptional.Optional.getPscInterfaceConfigsOrBuilder(int index) Optional.List<? extends Instance.PscInterfaceConfigOrBuilder>Optional.intOutput only.com.google.protobuf.ByteStringOutput only.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Instance.PscInstanceConfig prototype) protected Instance.PscInstanceConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Instance.PscInstanceConfigparseDelimitedFrom(InputStream input) static Instance.PscInstanceConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Instance.PscInstanceConfigparseFrom(byte[] data) static Instance.PscInstanceConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Instance.PscInstanceConfigparseFrom(com.google.protobuf.ByteString data) static Instance.PscInstanceConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Instance.PscInstanceConfigparseFrom(com.google.protobuf.CodedInputStream input) static Instance.PscInstanceConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Instance.PscInstanceConfigparseFrom(InputStream input) static Instance.PscInstanceConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Instance.PscInstanceConfigparseFrom(ByteBuffer data) static Instance.PscInstanceConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Instance.PscInstanceConfig>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, internalGetMapFieldReflection, 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
-
SERVICE_ATTACHMENT_LINK_FIELD_NUMBER
public static final int SERVICE_ATTACHMENT_LINK_FIELD_NUMBER- See Also:
-
ALLOWED_CONSUMER_PROJECTS_FIELD_NUMBER
public static final int ALLOWED_CONSUMER_PROJECTS_FIELD_NUMBER- See Also:
-
PSC_DNS_NAME_FIELD_NUMBER
public static final int PSC_DNS_NAME_FIELD_NUMBER- See Also:
-
PSC_INTERFACE_CONFIGS_FIELD_NUMBER
public static final int PSC_INTERFACE_CONFIGS_FIELD_NUMBER- See Also:
-
PSC_AUTO_CONNECTIONS_FIELD_NUMBER
public static final int PSC_AUTO_CONNECTIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getServiceAttachmentLink
Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>`
string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getServiceAttachmentLinkin interfaceInstance.PscInstanceConfigOrBuilder- Returns:
- The serviceAttachmentLink.
-
getServiceAttachmentLinkBytes
public com.google.protobuf.ByteString getServiceAttachmentLinkBytes()Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of `projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>`
string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getServiceAttachmentLinkBytesin interfaceInstance.PscInstanceConfigOrBuilder- Returns:
- The bytes for serviceAttachmentLink.
-
getAllowedConsumerProjectsList
public com.google.protobuf.ProtocolStringList getAllowedConsumerProjectsList()Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedConsumerProjectsListin interfaceInstance.PscInstanceConfigOrBuilder- Returns:
- A list containing the allowedConsumerProjects.
-
getAllowedConsumerProjectsCount
public int getAllowedConsumerProjectsCount()Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedConsumerProjectsCountin interfaceInstance.PscInstanceConfigOrBuilder- Returns:
- The count of allowedConsumerProjects.
-
getAllowedConsumerProjects
Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedConsumerProjectsin interfaceInstance.PscInstanceConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The allowedConsumerProjects at the given index.
-
getAllowedConsumerProjectsBytes
public com.google.protobuf.ByteString getAllowedConsumerProjectsBytes(int index) Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedConsumerProjectsBytesin interfaceInstance.PscInstanceConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedConsumerProjects at the given index.
-
getPscDnsName
Output only. The DNS name of the instance for PSC connectivity. Name convention: <uid>.<uid>.<region>.alloydb-psc.goog
string psc_dns_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPscDnsNamein interfaceInstance.PscInstanceConfigOrBuilder- Returns:
- The pscDnsName.
-
getPscDnsNameBytes
public com.google.protobuf.ByteString getPscDnsNameBytes()Output only. The DNS name of the instance for PSC connectivity. Name convention: <uid>.<uid>.<region>.alloydb-psc.goog
string psc_dns_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPscDnsNameBytesin interfaceInstance.PscInstanceConfigOrBuilder- Returns:
- The bytes for pscDnsName.
-
getPscInterfaceConfigsList
Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.
repeated .google.cloud.alloydb.v1beta.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscInterfaceConfigsListin interfaceInstance.PscInstanceConfigOrBuilder
-
getPscInterfaceConfigsOrBuilderList
Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.
repeated .google.cloud.alloydb.v1beta.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscInterfaceConfigsOrBuilderListin interfaceInstance.PscInstanceConfigOrBuilder
-
getPscInterfaceConfigsCount
public int getPscInterfaceConfigsCount()Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.
repeated .google.cloud.alloydb.v1beta.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscInterfaceConfigsCountin interfaceInstance.PscInstanceConfigOrBuilder
-
getPscInterfaceConfigs
Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.
repeated .google.cloud.alloydb.v1beta.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscInterfaceConfigsin interfaceInstance.PscInstanceConfigOrBuilder
-
getPscInterfaceConfigsOrBuilder
Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.
repeated .google.cloud.alloydb.v1beta.Instance.PscInterfaceConfig psc_interface_configs = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscInterfaceConfigsOrBuilderin interfaceInstance.PscInstanceConfigOrBuilder
-
getPscAutoConnectionsList
Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAutoConnectionsListin interfaceInstance.PscInstanceConfigOrBuilder
-
getPscAutoConnectionsOrBuilderList
public List<? extends Instance.PscAutoConnectionConfigOrBuilder> getPscAutoConnectionsOrBuilderList()Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAutoConnectionsOrBuilderListin interfaceInstance.PscInstanceConfigOrBuilder
-
getPscAutoConnectionsCount
public int getPscAutoConnectionsCount()Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAutoConnectionsCountin interfaceInstance.PscInstanceConfigOrBuilder
-
getPscAutoConnections
Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAutoConnectionsin interfaceInstance.PscInstanceConfigOrBuilder
-
getPscAutoConnectionsOrBuilder
Optional. Configurations for setting up PSC service automation.
repeated .google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig psc_auto_connections = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAutoConnectionsOrBuilderin interfaceInstance.PscInstanceConfigOrBuilder
-
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.PscInstanceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.PscInstanceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.PscInstanceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.PscInstanceConfig 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.PscInstanceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance.PscInstanceConfig 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.PscInstanceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Instance.PscInstanceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Instance.PscInstanceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Instance.PscInstanceConfig 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.PscInstanceConfig.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
-