Class VRF.VlanAttachment (0.53.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
Type Description
int

INTERCONNECT_ATTACHMENT_FIELD_NUMBER

public static final int INTERCONNECT_ATTACHMENT_FIELD_NUMBER
Field Value
Type Description
int

PAIRING_KEY_FIELD_NUMBER

public static final int PAIRING_KEY_FIELD_NUMBER
Field Value
Type Description
int

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

QOS_POLICY_FIELD_NUMBER

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

getId()

public String getId()

Immutable. The identifier of the attachment within vrf.

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

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Immutable. The identifier of the attachment within vrf.

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

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

The bytes for interconnectAttachment.

getPairingKey()

public String getPairingKey()

Input only. Pairing key.

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

Returns
Type Description
String

The pairingKey.

getPairingKeyBytes()

public ByteString getPairingKeyBytes()

Input only. Pairing key.

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

Returns
Type Description
ByteString

The bytes for pairingKey.

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.

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
Type Description
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
Type Description
VRF.QosPolicyOrBuilder

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

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

Whether the qosPolicy field is set.

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