Package com.google.cloud.aiplatform.v1
Class PSCAutomationConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PSCAutomationConfig.Builder>
com.google.cloud.aiplatform.v1.PSCAutomationConfig.Builder
- All Implemented Interfaces:
PSCAutomationConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PSCAutomationConfig
public static final class PSCAutomationConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PSCAutomationConfig.Builder>
implements PSCAutomationConfigOrBuilder
PSC config that is used to automatically create PSC endpoints in the user projects.Protobuf type
google.cloud.aiplatform.v1.PSCAutomationConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Required.Required.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.getState()Output only.intOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(PSCAutomationConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setErrorMessage(String value) Output only.setErrorMessageBytes(com.google.protobuf.ByteString value) Output only.setForwardingRule(String value) Output only.setForwardingRuleBytes(com.google.protobuf.ByteString value) Output only.setIpAddress(String value) Output only.setIpAddressBytes(com.google.protobuf.ByteString value) Output only.setNetwork(String value) Required.setNetworkBytes(com.google.protobuf.ByteString value) Required.setProjectId(String value) Required.setProjectIdBytes(com.google.protobuf.ByteString value) Required.setState(PSCAutomationState value) Output only.setStateValue(int 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<PSCAutomationConfig.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<PSCAutomationConfig.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<PSCAutomationConfig.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<PSCAutomationConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PSCAutomationConfig.Builder>
-
mergeFrom
public PSCAutomationConfig.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<PSCAutomationConfig.Builder>- Throws:
IOException
-
getProjectId
Required. Project id used to create forwarding rule.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getProjectIdin interfacePSCAutomationConfigOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()Required. Project id used to create forwarding rule.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getProjectIdBytesin interfacePSCAutomationConfigOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
Required. Project id used to create forwarding rule.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
Required. Project id used to create forwarding rule.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setProjectIdBytes
Required. Project id used to create forwarding rule.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getNetwork
Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get): `projects/{project}/global/networks/{network}`.string network = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNetworkin interfacePSCAutomationConfigOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get): `projects/{project}/global/networks/{network}`.string network = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNetworkBytesin interfacePSCAutomationConfigOrBuilder- Returns:
- The bytes for network.
-
setNetwork
Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get): `projects/{project}/global/networks/{network}`.string network = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get): `projects/{project}/global/networks/{network}`.string network = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNetworkBytes
Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get): `projects/{project}/global/networks/{network}`.string network = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
getIpAddress
Output only. IP address rule created by the PSC service automation.
string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIpAddressin interfacePSCAutomationConfigOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()Output only. IP address rule created by the PSC service automation.
string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIpAddressBytesin interfacePSCAutomationConfigOrBuilder- Returns:
- The bytes for ipAddress.
-
setIpAddress
Output only. IP address rule created by the PSC service automation.
string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
Output only. IP address rule created by the PSC service automation.
string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setIpAddressBytes
Output only. IP address rule created by the PSC service automation.
string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
getForwardingRule
Output only. Forwarding rule created by the PSC service automation.
string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getForwardingRulein interfacePSCAutomationConfigOrBuilder- Returns:
- The forwardingRule.
-
getForwardingRuleBytes
public com.google.protobuf.ByteString getForwardingRuleBytes()Output only. Forwarding rule created by the PSC service automation.
string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getForwardingRuleBytesin interfacePSCAutomationConfigOrBuilder- Returns:
- The bytes for forwardingRule.
-
setForwardingRule
Output only. Forwarding rule created by the PSC service automation.
string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The forwardingRule to set.- Returns:
- This builder for chaining.
-
clearForwardingRule
Output only. Forwarding rule created by the PSC service automation.
string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setForwardingRuleBytes
Output only. Forwarding rule created by the PSC service automation.
string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for forwardingRule to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. The state of the PSC service automation.
.google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfacePSCAutomationConfigOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The state of the PSC service automation.
.google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The state of the PSC service automation.
.google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfacePSCAutomationConfigOrBuilder- Returns:
- The state.
-
setState
Output only. The state of the PSC service automation.
.google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of the PSC service automation.
.google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getErrorMessage
Output only. Error message if the PSC service automation failed.
string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorMessagein interfacePSCAutomationConfigOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()Output only. Error message if the PSC service automation failed.
string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorMessageBytesin interfacePSCAutomationConfigOrBuilder- Returns:
- The bytes for errorMessage.
-
setErrorMessage
Output only. Error message if the PSC service automation failed.
string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
clearErrorMessage
Output only. Error message if the PSC service automation failed.
string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setErrorMessageBytes
Output only. Error message if the PSC service automation failed.
string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-