public static final class Instance.PscAutoConnectionConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Instance.PscAutoConnectionConfig.Builder> 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 | Method and Description |
|---|---|
Instance.PscAutoConnectionConfig |
build() |
Instance.PscAutoConnectionConfig |
buildPartial() |
Instance.PscAutoConnectionConfig.Builder |
clear() |
Instance.PscAutoConnectionConfig.Builder |
clearConsumerNetwork()
The consumer network for the PSC service automation, example:
"projects/vpc-host-project/global/networks/default".
|
Instance.PscAutoConnectionConfig.Builder |
clearConsumerNetworkStatus()
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
clearConsumerProject()
The consumer project to which the PSC service automation endpoint will
be created.
|
Instance.PscAutoConnectionConfig.Builder |
clearIpAddress()
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
clearStatus()
Output only.
|
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.
|
Instance.PscAutoConnectionConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getIpAddress()
Output only.
|
com.google.protobuf.ByteString |
getIpAddressBytes()
Output only.
|
String |
getStatus()
Output only.
|
com.google.protobuf.ByteString |
getStatusBytes()
Output only.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Instance.PscAutoConnectionConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Instance.PscAutoConnectionConfig.Builder |
mergeFrom(Instance.PscAutoConnectionConfig other) |
Instance.PscAutoConnectionConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
Instance.PscAutoConnectionConfig.Builder |
setConsumerNetwork(String value)
The consumer network for the PSC service automation, example:
"projects/vpc-host-project/global/networks/default".
|
Instance.PscAutoConnectionConfig.Builder |
setConsumerNetworkBytes(com.google.protobuf.ByteString value)
The consumer network for the PSC service automation, example:
"projects/vpc-host-project/global/networks/default".
|
Instance.PscAutoConnectionConfig.Builder |
setConsumerNetworkStatus(String value)
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
setConsumerNetworkStatusBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
setConsumerProject(String value)
The consumer project to which the PSC service automation endpoint will
be created.
|
Instance.PscAutoConnectionConfig.Builder |
setConsumerProjectBytes(com.google.protobuf.ByteString value)
The consumer project to which the PSC service automation endpoint will
be created.
|
Instance.PscAutoConnectionConfig.Builder |
setIpAddress(String value)
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
setIpAddressBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
setStatus(String value)
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
setStatusBytes(com.google.protobuf.ByteString value)
Output only.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Instance.PscAutoConnectionConfig.Builder>public Instance.PscAutoConnectionConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Instance.PscAutoConnectionConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Instance.PscAutoConnectionConfig.Builder>public Instance.PscAutoConnectionConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Instance.PscAutoConnectionConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Instance.PscAutoConnectionConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Instance.PscAutoConnectionConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.PscAutoConnectionConfig.Builder>public Instance.PscAutoConnectionConfig.Builder mergeFrom(Instance.PscAutoConnectionConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Instance.PscAutoConnectionConfig.Builder>public Instance.PscAutoConnectionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.PscAutoConnectionConfig.Builder>IOExceptionpublic 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 Instance.PscAutoConnectionConfig.Builder setConsumerProject(String value)
The consumer project to which the PSC service automation endpoint will be created.
string consumer_project = 1;value - The consumerProject to set.public Instance.PscAutoConnectionConfig.Builder clearConsumerProject()
The consumer project to which the PSC service automation endpoint will be created.
string consumer_project = 1;public Instance.PscAutoConnectionConfig.Builder setConsumerProjectBytes(com.google.protobuf.ByteString value)
The consumer project to which the PSC service automation endpoint will be created.
string consumer_project = 1;value - The bytes for consumerProject to set.public 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 Instance.PscAutoConnectionConfig.Builder setConsumerNetwork(String value)
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;value - The consumerNetwork to set.public Instance.PscAutoConnectionConfig.Builder clearConsumerNetwork()
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;public Instance.PscAutoConnectionConfig.Builder setConsumerNetworkBytes(com.google.protobuf.ByteString value)
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;value - The bytes for consumerNetwork to set.public 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 Instance.PscAutoConnectionConfig.Builder setIpAddress(String value)
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) = { ... }
value - The ipAddress to set.public Instance.PscAutoConnectionConfig.Builder clearIpAddress()
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) = { ... }
public Instance.PscAutoConnectionConfig.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for ipAddress to set.public 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 Instance.PscAutoConnectionConfig.Builder setStatus(String value)
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];value - The status to set.public Instance.PscAutoConnectionConfig.Builder clearStatus()
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];public Instance.PscAutoConnectionConfig.Builder setStatusBytes(com.google.protobuf.ByteString value)
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];value - The bytes for status to set.public 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 Instance.PscAutoConnectionConfig.Builder setConsumerNetworkStatus(String value)
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];
value - The consumerNetworkStatus to set.public Instance.PscAutoConnectionConfig.Builder clearConsumerNetworkStatus()
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];
public Instance.PscAutoConnectionConfig.Builder setConsumerNetworkStatusBytes(com.google.protobuf.ByteString value)
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];
value - The bytes for consumerNetworkStatus to set.Copyright © 2026 Google LLC. All rights reserved.