Class NetworkConfig.IntakeVlanAttachment.Builder (0.51.0)

public static final class NetworkConfig.IntakeVlanAttachment.Builder extends GeneratedMessageV3.Builder<NetworkConfig.IntakeVlanAttachment.Builder> implements NetworkConfig.IntakeVlanAttachmentOrBuilder

A GCP vlan attachment.

Protobuf type google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkConfig.IntakeVlanAttachment build()
Returns
Type Description
NetworkConfig.IntakeVlanAttachment

buildPartial()

public NetworkConfig.IntakeVlanAttachment buildPartial()
Returns
Type Description
NetworkConfig.IntakeVlanAttachment

clear()

public NetworkConfig.IntakeVlanAttachment.Builder clear()
Returns
Type Description
NetworkConfig.IntakeVlanAttachment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public NetworkConfig.IntakeVlanAttachment.Builder clearId()

Identifier of the VLAN attachment.

string id = 1;

Returns
Type Description
NetworkConfig.IntakeVlanAttachment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPairingKey()

public NetworkConfig.IntakeVlanAttachment.Builder clearPairingKey()

Attachment pairing key.

string pairing_key = 2;

Returns
Type Description
NetworkConfig.IntakeVlanAttachment.Builder

This builder for chaining.

clone()

public NetworkConfig.IntakeVlanAttachment.Builder clone()
Returns
Type Description
NetworkConfig.IntakeVlanAttachment.Builder
Overrides

getDefaultInstanceForType()

public NetworkConfig.IntakeVlanAttachment getDefaultInstanceForType()
Returns
Type Description
NetworkConfig.IntakeVlanAttachment

getDescriptorForType()

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

getId()

public String getId()

Identifier of the VLAN attachment.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Identifier of the VLAN attachment.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getPairingKey()

public String getPairingKey()

Attachment pairing key.

string pairing_key = 2;

Returns
Type Description
String

The pairingKey.

getPairingKeyBytes()

public ByteString getPairingKeyBytes()

Attachment pairing key.

string pairing_key = 2;

Returns
Type Description
ByteString

The bytes for pairingKey.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkConfig.IntakeVlanAttachment other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public NetworkConfig.IntakeVlanAttachment.Builder setId(String value)

Identifier of the VLAN attachment.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
NetworkConfig.IntakeVlanAttachment.Builder

This builder for chaining.

setIdBytes(ByteString value)

public NetworkConfig.IntakeVlanAttachment.Builder setIdBytes(ByteString value)

Identifier of the VLAN attachment.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
NetworkConfig.IntakeVlanAttachment.Builder

This builder for chaining.

setPairingKey(String value)

public NetworkConfig.IntakeVlanAttachment.Builder setPairingKey(String value)

Attachment pairing key.

string pairing_key = 2;

Parameter
Name Description
value String

The pairingKey to set.

Returns
Type Description
NetworkConfig.IntakeVlanAttachment.Builder

This builder for chaining.

setPairingKeyBytes(ByteString value)

public NetworkConfig.IntakeVlanAttachment.Builder setPairingKeyBytes(ByteString value)

Attachment pairing key.

string pairing_key = 2;

Parameter
Name Description
value ByteString

The bytes for pairingKey to set.

Returns
Type Description
NetworkConfig.IntakeVlanAttachment.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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