Class PSCAutomationConfig.Builder (3.68.0)

public static final class PSCAutomationConfig.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PSCAutomationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PSCAutomationConfig.Builder
Overrides

build()

public PSCAutomationConfig build()
Returns
Type Description
PSCAutomationConfig

buildPartial()

public PSCAutomationConfig buildPartial()
Returns
Type Description
PSCAutomationConfig

clear()

public PSCAutomationConfig.Builder clear()
Returns
Type Description
PSCAutomationConfig.Builder
Overrides

clearErrorMessage()

public PSCAutomationConfig.Builder clearErrorMessage()

Output only. Error message if the PSC service automation failed.

string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PSCAutomationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PSCAutomationConfig.Builder
Overrides

clearForwardingRule()

public PSCAutomationConfig.Builder clearForwardingRule()

Output only. Forwarding rule created by the PSC service automation.

string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

clearIpAddress()

public PSCAutomationConfig.Builder clearIpAddress()

Output only. IP address rule created by the PSC service automation.

string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

clearNetwork()

public PSCAutomationConfig.Builder clearNetwork()

Required. The full name of the Google Compute Engine network. Format: projects/{project}/global/networks/{network}.

string network = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PSCAutomationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PSCAutomationConfig.Builder
Overrides

clearProjectId()

public PSCAutomationConfig.Builder clearProjectId()

Required. Project id used to create forwarding rule.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

clearState()

public PSCAutomationConfig.Builder clearState()

Output only. The state of the PSC service automation.

.google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

clone()

public PSCAutomationConfig.Builder clone()
Returns
Type Description
PSCAutomationConfig.Builder
Overrides

getDefaultInstanceForType()

public PSCAutomationConfig getDefaultInstanceForType()
Returns
Type Description
PSCAutomationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrorMessage()

public String getErrorMessage()

Output only. Error message if the PSC service automation failed.

string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

Output only. Error message if the PSC service automation failed.

string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for errorMessage.

getForwardingRule()

public String getForwardingRule()

Output only. Forwarding rule created by the PSC service automation.

string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The forwardingRule.

getForwardingRuleBytes()

public ByteString getForwardingRuleBytes()

Output only. Forwarding rule created by the PSC service automation.

string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for forwardingRule.

getIpAddress()

public String getIpAddress()

Output only. IP address rule created by the PSC service automation.

string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

Output only. IP address rule created by the PSC service automation.

string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for ipAddress.

getNetwork()

public String getNetwork()

Required. The full name of the Google Compute Engine network. Format: projects/{project}/global/networks/{network}.

string network = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Required. The full name of the Google Compute Engine network. Format: projects/{project}/global/networks/{network}.

string network = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for network.

getProjectId()

public String getProjectId()

Required. Project id used to create forwarding rule.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Required. Project id used to create forwarding rule.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.

getState()

public PSCAutomationState getState()

Output only. The state of the PSC service automation.

.google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PSCAutomationState

The state.

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];

Returns
Type Description
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PSCAutomationConfig other)

public PSCAutomationConfig.Builder mergeFrom(PSCAutomationConfig other)
Parameter
Name Description
other PSCAutomationConfig
Returns
Type Description
PSCAutomationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PSCAutomationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PSCAutomationConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PSCAutomationConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PSCAutomationConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PSCAutomationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PSCAutomationConfig.Builder
Overrides

setErrorMessage(String value)

public PSCAutomationConfig.Builder setErrorMessage(String value)

Output only. Error message if the PSC service automation failed.

string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The errorMessage to set.

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public PSCAutomationConfig.Builder setErrorMessageBytes(ByteString value)

Output only. Error message if the PSC service automation failed.

string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PSCAutomationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PSCAutomationConfig.Builder
Overrides

setForwardingRule(String value)

public PSCAutomationConfig.Builder setForwardingRule(String value)

Output only. Forwarding rule created by the PSC service automation.

string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The forwardingRule to set.

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

setForwardingRuleBytes(ByteString value)

public PSCAutomationConfig.Builder setForwardingRuleBytes(ByteString value)

Output only. Forwarding rule created by the PSC service automation.

string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for forwardingRule to set.

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

setIpAddress(String value)

public PSCAutomationConfig.Builder setIpAddress(String value)

Output only. IP address rule created by the PSC service automation.

string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The ipAddress to set.

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

setIpAddressBytes(ByteString value)

public PSCAutomationConfig.Builder setIpAddressBytes(ByteString value)

Output only. IP address rule created by the PSC service automation.

string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for ipAddress to set.

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

setNetwork(String value)

public PSCAutomationConfig.Builder setNetwork(String value)

Required. The full name of the Google Compute Engine network. Format: projects/{project}/global/networks/{network}.

string network = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The network to set.

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public PSCAutomationConfig.Builder setNetworkBytes(ByteString value)

Required. The full name of the Google Compute Engine network. Format: projects/{project}/global/networks/{network}.

string network = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for network to set.

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

setProjectId(String value)

public PSCAutomationConfig.Builder setProjectId(String value)

Required. Project id used to create forwarding rule.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public PSCAutomationConfig.Builder setProjectIdBytes(ByteString value)

Required. Project id used to create forwarding rule.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PSCAutomationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PSCAutomationConfig.Builder
Overrides

setState(PSCAutomationState value)

public PSCAutomationConfig.Builder setState(PSCAutomationState value)

Output only. The state of the PSC service automation.

.google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PSCAutomationState

The state to set.

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

setStateValue(int value)

public PSCAutomationConfig.Builder setStateValue(int value)

Output only. The state of the PSC service automation.

.google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
PSCAutomationConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PSCAutomationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PSCAutomationConfig.Builder
Overrides