Class VRF.VlanAttachment (0.20.0)

public static final class VRF.VlanAttachment extends GeneratedMessageV3 implements VRF.VlanAttachmentOrBuilder

VLAN attachment details.

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

Static Fields

PEER_IP_FIELD_NUMBER

public static final int PEER_IP_FIELD_NUMBER
Field Value
Type Description
int

PEER_VLAN_ID_FIELD_NUMBER

public static final int PEER_VLAN_ID_FIELD_NUMBER
Field Value
Type Description
int

ROUTER_IP_FIELD_NUMBER

public static final int ROUTER_IP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VRF.VlanAttachment getDefaultInstance()
Returns
Type Description
VRF.VlanAttachment

getDescriptor()

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

newBuilder()

public static VRF.VlanAttachment.Builder newBuilder()
Returns
Type Description
VRF.VlanAttachment.Builder

newBuilder(VRF.VlanAttachment prototype)

public static VRF.VlanAttachment.Builder newBuilder(VRF.VlanAttachment prototype)
Parameter
Name Description
prototype VRF.VlanAttachment
Returns
Type Description
VRF.VlanAttachment.Builder

parseDelimitedFrom(InputStream input)

public static VRF.VlanAttachment parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VRF.VlanAttachment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VRF.VlanAttachment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF.VlanAttachment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VRF.VlanAttachment parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VRF.VlanAttachment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VRF.VlanAttachment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF.VlanAttachment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VRF.VlanAttachment parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VRF.VlanAttachment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VRF.VlanAttachment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF.VlanAttachment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VRF.VlanAttachment parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VRF.VlanAttachment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VRF.VlanAttachment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF.VlanAttachment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VRF.VlanAttachment parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VRF.VlanAttachment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VRF.VlanAttachment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF.VlanAttachment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VRF.VlanAttachment parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VRF.VlanAttachment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VRF.VlanAttachment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VRF.VlanAttachment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VRF.VlanAttachment> parser()
Returns
Type Description
Parser<VlanAttachment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<VRF.VlanAttachment> getParserForType()
Returns
Type Description
Parser<VlanAttachment>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VRF.VlanAttachment.Builder newBuilderForType()
Returns
Type Description
VRF.VlanAttachment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VRF.VlanAttachment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VRF.VlanAttachment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VRF.VlanAttachment.Builder toBuilder()
Returns
Type Description
VRF.VlanAttachment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException