Class VRF.VlanAttachment.Builder (0.2.1)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VRF.VlanAttachment build()
Returns
Type Description
VRF.VlanAttachment

buildPartial()

public VRF.VlanAttachment buildPartial()
Returns
Type Description
VRF.VlanAttachment

clear()

public VRF.VlanAttachment.Builder clear()
Returns
Type Description
VRF.VlanAttachment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPeerIp()

public VRF.VlanAttachment.Builder clearPeerIp()

The peer IP of the attachment.

string peer_ip = 2;

Returns
Type Description
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
Type Description
VRF.VlanAttachment.Builder

This builder for chaining.

clearRouterIp()

public VRF.VlanAttachment.Builder clearRouterIp()

The router IP of the attachment.

string router_ip = 3;

Returns
Type Description
VRF.VlanAttachment.Builder

This builder for chaining.

clone()

public VRF.VlanAttachment.Builder clone()
Returns
Type Description
VRF.VlanAttachment.Builder
Overrides

getDefaultInstanceForType()

public VRF.VlanAttachment getDefaultInstanceForType()
Returns
Type Description
VRF.VlanAttachment

getDescriptorForType()

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

getPeerIp()

public String getPeerIp()

The peer IP of the attachment.

string peer_ip = 2;

Returns
Type Description
String

The peerIp.

getPeerIpBytes()

public ByteString getPeerIpBytes()

The peer IP of the attachment.

string peer_ip = 2;

Returns
Type Description
ByteString

The bytes for peerIp.

getPeerVlanId()

public long getPeerVlanId()

The peer vlan ID of the attachment.

int64 peer_vlan_id = 1;

Returns
Type Description
long

The peerVlanId.

getRouterIp()

public String getRouterIp()

The router IP of the attachment.

string router_ip = 3;

Returns
Type Description
String

The routerIp.

getRouterIpBytes()

public ByteString getRouterIpBytes()

The router IP of the attachment.

string router_ip = 3;

Returns
Type Description
ByteString

The bytes for routerIp.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VRF.VlanAttachment other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public VRF.VlanAttachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The peerIp to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for peerIp to set.

Returns
Type Description
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
Name Description
value long

The peerVlanId to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value String

The routerIp to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for routerIp to set.

Returns
Type Description
VRF.VlanAttachment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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