public static final class Instance.PscAutoConnectionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.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.v1.Instance.PscAutoConnectionConfig| Modifier and Type | Method and Description |
|---|---|
Instance.PscAutoConnectionConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Instance.PscAutoConnectionConfig.Builder |
clearIpAddress()
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Instance.PscAutoConnectionConfig.Builder |
clearStatus()
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance.PscAutoConnectionConfig.Builder |
setIpAddress(String value)
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
setIpAddressBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Instance.PscAutoConnectionConfig.Builder |
setStatus(String value)
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
setStatusBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.PscAutoConnectionConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.PscAutoConnectionConfig.Builder>public Instance.PscAutoConnectionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.PscAutoConnectionConfig.Builder>public Instance.PscAutoConnectionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.PscAutoConnectionConfig.Builder>public Instance.PscAutoConnectionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.PscAutoConnectionConfig.Builder>public Instance.PscAutoConnectionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.PscAutoConnectionConfig.Builder>public Instance.PscAutoConnectionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.PscAutoConnectionConfig.Builder>public 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.GeneratedMessageV3.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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
string consumer_network_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The bytes for consumerNetworkStatus to set.public final Instance.PscAutoConnectionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.PscAutoConnectionConfig.Builder>public final Instance.PscAutoConnectionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.PscAutoConnectionConfig.Builder>Copyright © 2025 Google LLC. All rights reserved.