Class NetworkConfig.IntakeVlanAttachment.Builder (0.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworkConfig.IntakeVlanAttachment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder
Overrides

build()

public NetworkConfig.IntakeVlanAttachment build()
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment

buildPartial()

public NetworkConfig.IntakeVlanAttachment buildPartial()
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment

clear()

public NetworkConfig.IntakeVlanAttachment.Builder clear()
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NetworkConfig.IntakeVlanAttachment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder
Overrides

clearId()

public NetworkConfig.IntakeVlanAttachment.Builder clearId()

Identifier of the VLAN attachment.

string id = 1;

Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkConfig.IntakeVlanAttachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder
Overrides

clearPairingKey()

public NetworkConfig.IntakeVlanAttachment.Builder clearPairingKey()

Attachment pairing key.

string pairing_key = 2;

Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder

This builder for chaining.

clone()

public NetworkConfig.IntakeVlanAttachment.Builder clone()
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder
Overrides

getDefaultInstanceForType()

public NetworkConfig.IntakeVlanAttachment getDefaultInstanceForType()
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

Identifier of the VLAN attachment.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Identifier of the VLAN attachment.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getPairingKey()

public String getPairingKey()

Attachment pairing key.

string pairing_key = 2;

Returns
TypeDescription
String

The pairingKey.

getPairingKeyBytes()

public ByteString getPairingKeyBytes()

Attachment pairing key.

string pairing_key = 2;

Returns
TypeDescription
ByteString

The bytes for pairingKey.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworkConfig.IntakeVlanAttachment other)

public NetworkConfig.IntakeVlanAttachment.Builder mergeFrom(NetworkConfig.IntakeVlanAttachment other)
Parameter
NameDescription
otherNetworkConfig.IntakeVlanAttachment
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworkConfig.IntakeVlanAttachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NetworkConfig.IntakeVlanAttachment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkConfig.IntakeVlanAttachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkConfig.IntakeVlanAttachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder
Overrides

setId(String value)

public NetworkConfig.IntakeVlanAttachment.Builder setId(String value)

Identifier of the VLAN attachment.

string id = 1;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
valueString

The pairingKey to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pairingKey to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkConfig.IntakeVlanAttachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkConfig.IntakeVlanAttachment.Builder
Overrides