public static final class Instance.PscAutoConnectionConfig extends com.google.protobuf.GeneratedMessage implements Instance.PscAutoConnectionConfigOrBuilder
Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.Protobuf type
google.cloud.alloydb.v1beta.Instance.PscAutoConnectionConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Instance.PscAutoConnectionConfig.Builder
Configuration for setting up PSC service automation.
|
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>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONSUMER_NETWORK_FIELD_NUMBER |
static int |
CONSUMER_NETWORK_STATUS_FIELD_NUMBER |
static int |
CONSUMER_PROJECT_FIELD_NUMBER |
static int |
IP_ADDRESS_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getConsumerNetwork()
The consumer network for the PSC service automation, example:
"projects/vpc-host-project/global/networks/default".
|
com.google.protobuf.ByteString |
getConsumerNetworkBytes()
The consumer network for the PSC service automation, example:
"projects/vpc-host-project/global/networks/default".
|
String |
getConsumerNetworkStatus()
Output only.
|
com.google.protobuf.ByteString |
getConsumerNetworkStatusBytes()
Output only.
|
String |
getConsumerProject()
The consumer project to which the PSC service automation endpoint will
be created.
|
com.google.protobuf.ByteString |
getConsumerProjectBytes()
The consumer project to which the PSC service automation endpoint will
be created.
|
static Instance.PscAutoConnectionConfig |
getDefaultInstance() |
Instance.PscAutoConnectionConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getIpAddress()
Output only.
|
com.google.protobuf.ByteString |
getIpAddressBytes()
Output only.
|
com.google.protobuf.Parser<Instance.PscAutoConnectionConfig> |
getParserForType() |
int |
getSerializedSize() |
String |
getStatus()
Output only.
|
com.google.protobuf.ByteString |
getStatusBytes()
Output only.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Instance.PscAutoConnectionConfig.Builder |
newBuilder() |
static Instance.PscAutoConnectionConfig.Builder |
newBuilder(Instance.PscAutoConnectionConfig prototype) |
Instance.PscAutoConnectionConfig.Builder |
newBuilderForType() |
protected Instance.PscAutoConnectionConfig.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static Instance.PscAutoConnectionConfig |
parseDelimitedFrom(InputStream input) |
static Instance.PscAutoConnectionConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance.PscAutoConnectionConfig |
parseFrom(byte[] data) |
static Instance.PscAutoConnectionConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance.PscAutoConnectionConfig |
parseFrom(ByteBuffer data) |
static Instance.PscAutoConnectionConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance.PscAutoConnectionConfig |
parseFrom(com.google.protobuf.ByteString data) |
static Instance.PscAutoConnectionConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance.PscAutoConnectionConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Instance.PscAutoConnectionConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance.PscAutoConnectionConfig |
parseFrom(InputStream input) |
static Instance.PscAutoConnectionConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Instance.PscAutoConnectionConfig> |
parser() |
Instance.PscAutoConnectionConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONSUMER_PROJECT_FIELD_NUMBER
public static final int CONSUMER_NETWORK_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int CONSUMER_NETWORK_STATUS_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic String getConsumerProject()
The consumer project to which the PSC service automation endpoint will be created.
string consumer_project = 1;getConsumerProject in interface Instance.PscAutoConnectionConfigOrBuilderpublic com.google.protobuf.ByteString getConsumerProjectBytes()
The consumer project to which the PSC service automation endpoint will be created.
string consumer_project = 1;getConsumerProjectBytes in interface Instance.PscAutoConnectionConfigOrBuilderpublic String getConsumerNetwork()
The consumer network for the PSC service automation, example: "projects/vpc-host-project/global/networks/default". The consumer network might be hosted a different project than the consumer project.
string consumer_network = 2;getConsumerNetwork in interface Instance.PscAutoConnectionConfigOrBuilderpublic com.google.protobuf.ByteString getConsumerNetworkBytes()
The consumer network for the PSC service automation, example: "projects/vpc-host-project/global/networks/default". The consumer network might be hosted a different project than the consumer project.
string consumer_network = 2;getConsumerNetworkBytes in interface Instance.PscAutoConnectionConfigOrBuilderpublic String getIpAddress()
Output only. The IP address of the PSC service automation endpoint.
string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
getIpAddress in interface Instance.PscAutoConnectionConfigOrBuilderpublic com.google.protobuf.ByteString getIpAddressBytes()
Output only. The IP address of the PSC service automation endpoint.
string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
getIpAddressBytes in interface Instance.PscAutoConnectionConfigOrBuilderpublic String getStatus()
Output only. The status of the PSC service automation connection. Possible values: "STATE_UNSPECIFIED" - An invalid state as the default case. "ACTIVE" - The connection has been created successfully. "FAILED" - The connection is not functional since some resources on the connection fail to be created. "CREATING" - The connection is being created. "DELETING" - The connection is being deleted. "CREATE_REPAIRING" - The connection is being repaired to complete creation. "DELETE_REPAIRING" - The connection is being repaired to complete deletion.
string status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getStatus in interface Instance.PscAutoConnectionConfigOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
Output only. The status of the PSC service automation connection. Possible values: "STATE_UNSPECIFIED" - An invalid state as the default case. "ACTIVE" - The connection has been created successfully. "FAILED" - The connection is not functional since some resources on the connection fail to be created. "CREATING" - The connection is being created. "DELETING" - The connection is being deleted. "CREATE_REPAIRING" - The connection is being repaired to complete creation. "DELETE_REPAIRING" - The connection is being repaired to complete deletion.
string status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getStatusBytes in interface Instance.PscAutoConnectionConfigOrBuilderpublic String getConsumerNetworkStatus()
Output only. The status of the service connection policy. Possible values: "STATE_UNSPECIFIED" - Default state, when Connection Map is created initially. "VALID" - Set when policy and map configuration is valid, and their matching can lead to allowing creation of PSC Connections subject to other constraints like connections limit. "CONNECTION_POLICY_MISSING" - No Service Connection Policy found for this network and Service Class "POLICY_LIMIT_REACHED" - Service Connection Policy limit reached for this network and Service Class "CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED" - The consumer instance project is not in AllowedGoogleProducersResourceHierarchyLevels of the matching ServiceConnectionPolicy.
string consumer_network_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getConsumerNetworkStatus in interface Instance.PscAutoConnectionConfigOrBuilderpublic com.google.protobuf.ByteString getConsumerNetworkStatusBytes()
Output only. The status of the service connection policy. Possible values: "STATE_UNSPECIFIED" - Default state, when Connection Map is created initially. "VALID" - Set when policy and map configuration is valid, and their matching can lead to allowing creation of PSC Connections subject to other constraints like connections limit. "CONNECTION_POLICY_MISSING" - No Service Connection Policy found for this network and Service Class "POLICY_LIMIT_REACHED" - Service Connection Policy limit reached for this network and Service Class "CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED" - The consumer instance project is not in AllowedGoogleProducersResourceHierarchyLevels of the matching ServiceConnectionPolicy.
string consumer_network_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getConsumerNetworkStatusBytes in interface Instance.PscAutoConnectionConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Instance.PscAutoConnectionConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.PscAutoConnectionConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.PscAutoConnectionConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.PscAutoConnectionConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.PscAutoConnectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.PscAutoConnectionConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.PscAutoConnectionConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Instance.PscAutoConnectionConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Instance.PscAutoConnectionConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Instance.PscAutoConnectionConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Instance.PscAutoConnectionConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Instance.PscAutoConnectionConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Instance.PscAutoConnectionConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Instance.PscAutoConnectionConfig.Builder newBuilder()
public static Instance.PscAutoConnectionConfig.Builder newBuilder(Instance.PscAutoConnectionConfig prototype)
public Instance.PscAutoConnectionConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Instance.PscAutoConnectionConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static Instance.PscAutoConnectionConfig getDefaultInstance()
public static com.google.protobuf.Parser<Instance.PscAutoConnectionConfig> parser()
public com.google.protobuf.Parser<Instance.PscAutoConnectionConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Instance.PscAutoConnectionConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.