Class PSCAutomationConfig.Builder (3.56.0)

public static final class PSCAutomationConfig.Builder extends GeneratedMessageV3.Builder<PSCAutomationConfig.Builder> implements PSCAutomationConfigOrBuilder

PSC config that is used to automatically create forwarding rule via ServiceConnectionMap.

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetwork()

public PSCAutomationConfig.Builder clearNetwork()

Required. The full name of the Google Compute Engine network. Format: projects/{project}/global/networks/{network}. Where {project} is a project number, as in '12345', and {network} is network name.

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.

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

getNetwork()

public String getNetwork()

Required. The full name of the Google Compute Engine network. Format: projects/{project}/global/networks/{network}. Where {project} is a project number, as in '12345', and {network} is network name.

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}. Where {project} is a project number, as in '12345', and {network} is network name.

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.

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

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

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}. Where {project} is a project number, as in '12345', and {network} is network name.

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}. Where {project} is a project number, as in '12345', and {network} is network name.

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

setUnknownFields(UnknownFieldSet unknownFields)

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