Class PscInterfaceConfig.Builder (3.48.0)

public static final class PscInterfaceConfig.Builder extends GeneratedMessageV3.Builder<PscInterfaceConfig.Builder> implements PscInterfaceConfigOrBuilder

Configuration for PSC-I.

Protobuf type google.cloud.aiplatform.v1beta1.PscInterfaceConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PscInterfaceConfig build()
Returns
Type Description
PscInterfaceConfig

buildPartial()

public PscInterfaceConfig buildPartial()
Returns
Type Description
PscInterfaceConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkAttachment()

public PscInterfaceConfig.Builder clearNetworkAttachment()

Optional. The full name of the Compute Engine network attachment to attach to the resource. For example, projects/12345/regions/us-central1/networkAttachments/myNA. is of the form projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. Where {project} is a project number, as in 12345, and {networkAttachment} is a network attachment name. To specify this field, you must have already created a network attachment. This field is only used for resources using PSC-I.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
PscInterfaceConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PscInterfaceConfig getDefaultInstanceForType()
Returns
Type Description
PscInterfaceConfig

getDescriptorForType()

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

getNetworkAttachment()

public String getNetworkAttachment()

Optional. The full name of the Compute Engine network attachment to attach to the resource. For example, projects/12345/regions/us-central1/networkAttachments/myNA. is of the form projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. Where {project} is a project number, as in 12345, and {networkAttachment} is a network attachment name. To specify this field, you must have already created a network attachment. This field is only used for resources using PSC-I.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The networkAttachment.

getNetworkAttachmentBytes()

public ByteString getNetworkAttachmentBytes()

Optional. The full name of the Compute Engine network attachment to attach to the resource. For example, projects/12345/regions/us-central1/networkAttachments/myNA. is of the form projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. Where {project} is a project number, as in 12345, and {networkAttachment} is a network attachment name. To specify this field, you must have already created a network attachment. This field is only used for resources using PSC-I.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for networkAttachment.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PscInterfaceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkAttachment(String value)

public PscInterfaceConfig.Builder setNetworkAttachment(String value)

Optional. The full name of the Compute Engine network attachment to attach to the resource. For example, projects/12345/regions/us-central1/networkAttachments/myNA. is of the form projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. Where {project} is a project number, as in 12345, and {networkAttachment} is a network attachment name. To specify this field, you must have already created a network attachment. This field is only used for resources using PSC-I.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The networkAttachment to set.

Returns
Type Description
PscInterfaceConfig.Builder

This builder for chaining.

setNetworkAttachmentBytes(ByteString value)

public PscInterfaceConfig.Builder setNetworkAttachmentBytes(ByteString value)

Optional. The full name of the Compute Engine network attachment to attach to the resource. For example, projects/12345/regions/us-central1/networkAttachments/myNA. is of the form projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. Where {project} is a project number, as in 12345, and {networkAttachment} is a network attachment name. To specify this field, you must have already created a network attachment. This field is only used for resources using PSC-I.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for networkAttachment to set.

Returns
Type Description
PscInterfaceConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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