Class VRF.VlanAttachment (0.18.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
TypeDescription
int

PEER_VLAN_ID_FIELD_NUMBER

public static final int PEER_VLAN_ID_FIELD_NUMBER
Field Value
TypeDescription
int

ROUTER_IP_FIELD_NUMBER

public static final int ROUTER_IP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VRF.VlanAttachment getDefaultInstance()
Returns
TypeDescription
VRF.VlanAttachment

getDescriptor()

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

newBuilder()

public static VRF.VlanAttachment.Builder newBuilder()
Returns
TypeDescription
VRF.VlanAttachment.Builder

newBuilder(VRF.VlanAttachment prototype)

public static VRF.VlanAttachment.Builder newBuilder(VRF.VlanAttachment prototype)
Parameter
NameDescription
prototypeVRF.VlanAttachment
Returns
TypeDescription
VRF.VlanAttachment.Builder

parseDelimitedFrom(InputStream input)

public static VRF.VlanAttachment parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VRF.VlanAttachment
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VRF.VlanAttachment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF.VlanAttachment
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VRF.VlanAttachment parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VRF.VlanAttachment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VRF.VlanAttachment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF.VlanAttachment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VRF.VlanAttachment parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VRF.VlanAttachment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VRF.VlanAttachment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF.VlanAttachment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VRF.VlanAttachment parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VRF.VlanAttachment
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VRF.VlanAttachment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF.VlanAttachment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VRF.VlanAttachment parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VRF.VlanAttachment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VRF.VlanAttachment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF.VlanAttachment
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VRF.VlanAttachment parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VRF.VlanAttachment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VRF.VlanAttachment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF.VlanAttachment
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VRF.VlanAttachment.Builder newBuilderForType()
Returns
TypeDescription
VRF.VlanAttachment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VRF.VlanAttachment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VRF.VlanAttachment.Builder toBuilder()
Returns
TypeDescription
VRF.VlanAttachment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException