Class VRF.VlanAttachment (0.28.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

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

INTERCONNECT_ATTACHMENT_FIELD_NUMBER

public static final int INTERCONNECT_ATTACHMENT_FIELD_NUMBER
Field Value
TypeDescription
int

PAIRING_KEY_FIELD_NUMBER

public static final int PAIRING_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

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

QOS_POLICY_FIELD_NUMBER

public static final int QOS_POLICY_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

getId()

public String getId()

Immutable. The identifier of the attachment within vrf.

string id = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Immutable. The identifier of the attachment within vrf.

string id = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for id.

getInterconnectAttachment()

public String getInterconnectAttachment()

Optional. The name of the vlan attachment within vrf. This is of the form projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}

string interconnect_attachment = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The interconnectAttachment.

getInterconnectAttachmentBytes()

public ByteString getInterconnectAttachmentBytes()

Optional. The name of the vlan attachment within vrf. This is of the form projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}

string interconnect_attachment = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for interconnectAttachment.

getPairingKey()

public String getPairingKey()

Input only. Pairing key.

string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
String

The pairingKey.

getPairingKeyBytes()

public ByteString getPairingKeyBytes()

Input only. Pairing key.

string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for pairingKey.

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.

getQosPolicy()

public VRF.QosPolicy getQosPolicy()

The QOS policy applied to this VLAN attachment. This value should be preferred to using qos at vrf level.

.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 5;

Returns
TypeDescription
VRF.QosPolicy

The qosPolicy.

getQosPolicyOrBuilder()

public VRF.QosPolicyOrBuilder getQosPolicyOrBuilder()

The QOS policy applied to this VLAN attachment. This value should be preferred to using qos at vrf level.

.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 5;

Returns
TypeDescription
VRF.QosPolicyOrBuilder

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

hasQosPolicy()

public boolean hasQosPolicy()

The QOS policy applied to this VLAN attachment. This value should be preferred to using qos at vrf level.

.google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 5;

Returns
TypeDescription
boolean

Whether the qosPolicy field is set.

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