Package com.google.cloud.aiplatform.v1
Class PrivateServiceConnectConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PrivateServiceConnectConfig.Builder>
com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.Builder
- All Implemented Interfaces:
PrivateServiceConnectConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PrivateServiceConnectConfig
public static final class PrivateServiceConnectConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PrivateServiceConnectConfig.Builder>
implements PrivateServiceConnectConfigOrBuilder
Represents configuration for private service connect.Protobuf type
google.cloud.aiplatform.v1.PrivateServiceConnectConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllProjectAllowlist(Iterable<String> values) A list of Projects from which the forwarding rule will target the service attachment.addAllPscAutomationConfigs(Iterable<? extends PSCAutomationConfig> values) Optional.addProjectAllowlist(String value) A list of Projects from which the forwarding rule will target the service attachment.addProjectAllowlistBytes(com.google.protobuf.ByteString value) A list of Projects from which the forwarding rule will target the service attachment.addPscAutomationConfigs(int index, PSCAutomationConfig value) Optional.addPscAutomationConfigs(int index, PSCAutomationConfig.Builder builderForValue) Optional.Optional.addPscAutomationConfigs(PSCAutomationConfig.Builder builderForValue) Optional.Optional.addPscAutomationConfigsBuilder(int index) Optional.build()clear()Required.A list of Projects from which the forwarding rule will target the service attachment.Optional.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanRequired.getProjectAllowlist(int index) A list of Projects from which the forwarding rule will target the service attachment.com.google.protobuf.ByteStringgetProjectAllowlistBytes(int index) A list of Projects from which the forwarding rule will target the service attachment.intA list of Projects from which the forwarding rule will target the service attachment.com.google.protobuf.ProtocolStringListA list of Projects from which the forwarding rule will target the service attachment.getPscAutomationConfigs(int index) Optional.getPscAutomationConfigsBuilder(int index) Optional.Optional.intOptional.Optional.getPscAutomationConfigsOrBuilder(int index) Optional.List<? extends PSCAutomationConfigOrBuilder>Optional.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removePscAutomationConfigs(int index) Optional.setEnablePrivateServiceConnect(boolean value) Required.setProjectAllowlist(int index, String value) A list of Projects from which the forwarding rule will target the service attachment.setPscAutomationConfigs(int index, PSCAutomationConfig value) Optional.setPscAutomationConfigs(int index, PSCAutomationConfig.Builder builderForValue) Optional.setServiceAttachment(String value) Output only.setServiceAttachmentBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<PrivateServiceConnectConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PrivateServiceConnectConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PrivateServiceConnectConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivateServiceConnectConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PrivateServiceConnectConfig.Builder>
-
mergeFrom
public PrivateServiceConnectConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivateServiceConnectConfig.Builder>- Throws:
IOException
-
getEnablePrivateServiceConnect
public boolean getEnablePrivateServiceConnect()Required. If true, expose the IndexEndpoint via private service connect.
bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEnablePrivateServiceConnectin interfacePrivateServiceConnectConfigOrBuilder- Returns:
- The enablePrivateServiceConnect.
-
setEnablePrivateServiceConnect
Required. If true, expose the IndexEndpoint via private service connect.
bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enablePrivateServiceConnect to set.- Returns:
- This builder for chaining.
-
clearEnablePrivateServiceConnect
Required. If true, expose the IndexEndpoint via private service connect.
bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getProjectAllowlistList
public com.google.protobuf.ProtocolStringList getProjectAllowlistList()A list of Projects from which the forwarding rule will target the service attachment.
repeated string project_allowlist = 2;- Specified by:
getProjectAllowlistListin interfacePrivateServiceConnectConfigOrBuilder- Returns:
- A list containing the projectAllowlist.
-
getProjectAllowlistCount
public int getProjectAllowlistCount()A list of Projects from which the forwarding rule will target the service attachment.
repeated string project_allowlist = 2;- Specified by:
getProjectAllowlistCountin interfacePrivateServiceConnectConfigOrBuilder- Returns:
- The count of projectAllowlist.
-
getProjectAllowlist
A list of Projects from which the forwarding rule will target the service attachment.
repeated string project_allowlist = 2;- Specified by:
getProjectAllowlistin interfacePrivateServiceConnectConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The projectAllowlist at the given index.
-
getProjectAllowlistBytes
public com.google.protobuf.ByteString getProjectAllowlistBytes(int index) A list of Projects from which the forwarding rule will target the service attachment.
repeated string project_allowlist = 2;- Specified by:
getProjectAllowlistBytesin interfacePrivateServiceConnectConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the projectAllowlist at the given index.
-
setProjectAllowlist
A list of Projects from which the forwarding rule will target the service attachment.
repeated string project_allowlist = 2;- Parameters:
index- The index to set the value at.value- The projectAllowlist to set.- Returns:
- This builder for chaining.
-
addProjectAllowlist
A list of Projects from which the forwarding rule will target the service attachment.
repeated string project_allowlist = 2;- Parameters:
value- The projectAllowlist to add.- Returns:
- This builder for chaining.
-
addAllProjectAllowlist
A list of Projects from which the forwarding rule will target the service attachment.
repeated string project_allowlist = 2;- Parameters:
values- The projectAllowlist to add.- Returns:
- This builder for chaining.
-
clearProjectAllowlist
A list of Projects from which the forwarding rule will target the service attachment.
repeated string project_allowlist = 2;- Returns:
- This builder for chaining.
-
addProjectAllowlistBytes
public PrivateServiceConnectConfig.Builder addProjectAllowlistBytes(com.google.protobuf.ByteString value) A list of Projects from which the forwarding rule will target the service attachment.
repeated string project_allowlist = 2;- Parameters:
value- The bytes of the projectAllowlist to add.- Returns:
- This builder for chaining.
-
getPscAutomationConfigsList
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAutomationConfigsListin interfacePrivateServiceConnectConfigOrBuilder
-
getPscAutomationConfigsCount
public int getPscAutomationConfigsCount()Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAutomationConfigsCountin interfacePrivateServiceConnectConfigOrBuilder
-
getPscAutomationConfigs
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAutomationConfigsin interfacePrivateServiceConnectConfigOrBuilder
-
setPscAutomationConfigs
public PrivateServiceConnectConfig.Builder setPscAutomationConfigs(int index, PSCAutomationConfig value) Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setPscAutomationConfigs
public PrivateServiceConnectConfig.Builder setPscAutomationConfigs(int index, PSCAutomationConfig.Builder builderForValue) Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addPscAutomationConfigs
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addPscAutomationConfigs
public PrivateServiceConnectConfig.Builder addPscAutomationConfigs(int index, PSCAutomationConfig value) Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addPscAutomationConfigs
public PrivateServiceConnectConfig.Builder addPscAutomationConfigs(PSCAutomationConfig.Builder builderForValue) Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addPscAutomationConfigs
public PrivateServiceConnectConfig.Builder addPscAutomationConfigs(int index, PSCAutomationConfig.Builder builderForValue) Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAllPscAutomationConfigs
public PrivateServiceConnectConfig.Builder addAllPscAutomationConfigs(Iterable<? extends PSCAutomationConfig> values) Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearPscAutomationConfigs
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
removePscAutomationConfigs
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPscAutomationConfigsBuilder
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPscAutomationConfigsOrBuilder
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAutomationConfigsOrBuilderin interfacePrivateServiceConnectConfigOrBuilder
-
getPscAutomationConfigsOrBuilderList
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscAutomationConfigsOrBuilderListin interfacePrivateServiceConnectConfigOrBuilder
-
addPscAutomationConfigsBuilder
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addPscAutomationConfigsBuilder
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPscAutomationConfigsBuilderList
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getServiceAttachment
Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect.
string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceAttachmentin interfacePrivateServiceConnectConfigOrBuilder- Returns:
- The serviceAttachment.
-
getServiceAttachmentBytes
public com.google.protobuf.ByteString getServiceAttachmentBytes()Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect.
string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceAttachmentBytesin interfacePrivateServiceConnectConfigOrBuilder- Returns:
- The bytes for serviceAttachment.
-
setServiceAttachment
Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect.
string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The serviceAttachment to set.- Returns:
- This builder for chaining.
-
clearServiceAttachment
Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect.
string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setServiceAttachmentBytes
public PrivateServiceConnectConfig.Builder setServiceAttachmentBytes(com.google.protobuf.ByteString value) Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect.
string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for serviceAttachment to set.- Returns:
- This builder for chaining.
-