Class VRF.VlanAttachment.Builder (0.18.0)

public static final class VRF.VlanAttachment.Builder extends GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder> implements VRF.VlanAttachmentOrBuilder

VLAN attachment details.

Protobuf type google.cloud.baremetalsolution.v2.VRF.VlanAttachment

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VRF.VlanAttachment build()
Returns
TypeDescription
VRF.VlanAttachment

buildPartial()

public VRF.VlanAttachment buildPartial()
Returns
TypeDescription
VRF.VlanAttachment

clear()

public VRF.VlanAttachment.Builder clear()
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VRF.VlanAttachment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VRF.VlanAttachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides

clearPeerIp()

public VRF.VlanAttachment.Builder clearPeerIp()

The peer IP of the attachment.

string peer_ip = 2;

Returns
TypeDescription
VRF.VlanAttachment.Builder

This builder for chaining.

clearPeerVlanId()

public VRF.VlanAttachment.Builder clearPeerVlanId()

The peer vlan ID of the attachment.

int64 peer_vlan_id = 1;

Returns
TypeDescription
VRF.VlanAttachment.Builder

This builder for chaining.

clearRouterIp()

public VRF.VlanAttachment.Builder clearRouterIp()

The router IP of the attachment.

string router_ip = 3;

Returns
TypeDescription
VRF.VlanAttachment.Builder

This builder for chaining.

clone()

public VRF.VlanAttachment.Builder clone()
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides

getDefaultInstanceForType()

public VRF.VlanAttachment getDefaultInstanceForType()
Returns
TypeDescription
VRF.VlanAttachment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPeerIp()

public String getPeerIp()

The peer IP of the attachment.

string peer_ip = 2;

Returns
TypeDescription
String

The peerIp.

getPeerIpBytes()

public ByteString getPeerIpBytes()

The peer IP of the attachment.

string peer_ip = 2;

Returns
TypeDescription
ByteString

The bytes for peerIp.

getPeerVlanId()

public long getPeerVlanId()

The peer vlan ID of the attachment.

int64 peer_vlan_id = 1;

Returns
TypeDescription
long

The peerVlanId.

getRouterIp()

public String getRouterIp()

The router IP of the attachment.

string router_ip = 3;

Returns
TypeDescription
String

The routerIp.

getRouterIpBytes()

public ByteString getRouterIpBytes()

The router IP of the attachment.

string router_ip = 3;

Returns
TypeDescription
ByteString

The bytes for routerIp.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VRF.VlanAttachment other)

public VRF.VlanAttachment.Builder mergeFrom(VRF.VlanAttachment other)
Parameter
NameDescription
otherVRF.VlanAttachment
Returns
TypeDescription
VRF.VlanAttachment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public VRF.VlanAttachment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VRF.VlanAttachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setPeerIp(String value)

public VRF.VlanAttachment.Builder setPeerIp(String value)

The peer IP of the attachment.

string peer_ip = 2;

Parameter
NameDescription
valueString

The peerIp to set.

Returns
TypeDescription
VRF.VlanAttachment.Builder

This builder for chaining.

setPeerIpBytes(ByteString value)

public VRF.VlanAttachment.Builder setPeerIpBytes(ByteString value)

The peer IP of the attachment.

string peer_ip = 2;

Parameter
NameDescription
valueByteString

The bytes for peerIp to set.

Returns
TypeDescription
VRF.VlanAttachment.Builder

This builder for chaining.

setPeerVlanId(long value)

public VRF.VlanAttachment.Builder setPeerVlanId(long value)

The peer vlan ID of the attachment.

int64 peer_vlan_id = 1;

Parameter
NameDescription
valuelong

The peerVlanId to set.

Returns
TypeDescription
VRF.VlanAttachment.Builder

This builder for chaining.

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

public VRF.VlanAttachment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides

setRouterIp(String value)

public VRF.VlanAttachment.Builder setRouterIp(String value)

The router IP of the attachment.

string router_ip = 3;

Parameter
NameDescription
valueString

The routerIp to set.

Returns
TypeDescription
VRF.VlanAttachment.Builder

This builder for chaining.

setRouterIpBytes(ByteString value)

public VRF.VlanAttachment.Builder setRouterIpBytes(ByteString value)

The router IP of the attachment.

string router_ip = 3;

Parameter
NameDescription
valueByteString

The bytes for routerIp to set.

Returns
TypeDescription
VRF.VlanAttachment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VRF.VlanAttachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides