Class VRF.VlanAttachment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.baremetalsolution.v2.VRF.VlanAttachment
-
- All Implemented Interfaces:
VRF.VlanAttachmentOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- VRF
public static final class VRF.VlanAttachment extends com.google.protobuf.GeneratedMessageV3 implements VRF.VlanAttachmentOrBuilder
VLAN attachment details.
Protobuf typegoogle.cloud.baremetalsolution.v2.VRF.VlanAttachment
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VRF.VlanAttachment.Builder
VLAN attachment details.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ID_FIELD_NUMBER
static int
INTERCONNECT_ATTACHMENT_FIELD_NUMBER
static int
PAIRING_KEY_FIELD_NUMBER
static int
PEER_IP_FIELD_NUMBER
static int
PEER_VLAN_ID_FIELD_NUMBER
static int
QOS_POLICY_FIELD_NUMBER
static int
ROUTER_IP_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static VRF.VlanAttachment
getDefaultInstance()
VRF.VlanAttachment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getId()
Immutable.com.google.protobuf.ByteString
getIdBytes()
Immutable.String
getInterconnectAttachment()
Optional.com.google.protobuf.ByteString
getInterconnectAttachmentBytes()
Optional.String
getPairingKey()
Input only.com.google.protobuf.ByteString
getPairingKeyBytes()
Input only.com.google.protobuf.Parser<VRF.VlanAttachment>
getParserForType()
String
getPeerIp()
The peer IP of the attachment.com.google.protobuf.ByteString
getPeerIpBytes()
The peer IP of the attachment.long
getPeerVlanId()
The peer vlan ID of the attachment.VRF.QosPolicy
getQosPolicy()
The QOS policy applied to this VLAN attachment.VRF.QosPolicyOrBuilder
getQosPolicyOrBuilder()
The QOS policy applied to this VLAN attachment.String
getRouterIp()
The router IP of the attachment.com.google.protobuf.ByteString
getRouterIpBytes()
The router IP of the attachment.int
getSerializedSize()
int
hashCode()
boolean
hasQosPolicy()
The QOS policy applied to this VLAN attachment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static VRF.VlanAttachment.Builder
newBuilder()
static VRF.VlanAttachment.Builder
newBuilder(VRF.VlanAttachment prototype)
VRF.VlanAttachment.Builder
newBuilderForType()
protected VRF.VlanAttachment.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static VRF.VlanAttachment
parseDelimitedFrom(InputStream input)
static VRF.VlanAttachment
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VRF.VlanAttachment
parseFrom(byte[] data)
static VRF.VlanAttachment
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VRF.VlanAttachment
parseFrom(com.google.protobuf.ByteString data)
static VRF.VlanAttachment
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VRF.VlanAttachment
parseFrom(com.google.protobuf.CodedInputStream input)
static VRF.VlanAttachment
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VRF.VlanAttachment
parseFrom(InputStream input)
static VRF.VlanAttachment
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VRF.VlanAttachment
parseFrom(ByteBuffer data)
static VRF.VlanAttachment
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<VRF.VlanAttachment>
parser()
VRF.VlanAttachment.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PEER_VLAN_ID_FIELD_NUMBER
public static final int PEER_VLAN_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEER_IP_FIELD_NUMBER
public static final int PEER_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROUTER_IP_FIELD_NUMBER
public static final int ROUTER_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAIRING_KEY_FIELD_NUMBER
public static final int PAIRING_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QOS_POLICY_FIELD_NUMBER
public static final int QOS_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERCONNECT_ATTACHMENT_FIELD_NUMBER
public static final int INTERCONNECT_ATTACHMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getPeerVlanId
public long getPeerVlanId()
The peer vlan ID of the attachment.
int64 peer_vlan_id = 1;
- Specified by:
getPeerVlanId
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- The peerVlanId.
-
getPeerIp
public String getPeerIp()
The peer IP of the attachment.
string peer_ip = 2;
- Specified by:
getPeerIp
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- The peerIp.
-
getPeerIpBytes
public com.google.protobuf.ByteString getPeerIpBytes()
The peer IP of the attachment.
string peer_ip = 2;
- Specified by:
getPeerIpBytes
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- The bytes for peerIp.
-
getRouterIp
public String getRouterIp()
The router IP of the attachment.
string router_ip = 3;
- Specified by:
getRouterIp
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- The routerIp.
-
getRouterIpBytes
public com.google.protobuf.ByteString getRouterIpBytes()
The router IP of the attachment.
string router_ip = 3;
- Specified by:
getRouterIpBytes
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- The bytes for routerIp.
-
getPairingKey
public String getPairingKey()
Input only. Pairing key.
string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getPairingKey
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- The pairingKey.
-
getPairingKeyBytes
public com.google.protobuf.ByteString getPairingKeyBytes()
Input only. Pairing key.
string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getPairingKeyBytes
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- The bytes for pairingKey.
-
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;
- Specified by:
hasQosPolicy
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- Whether the qosPolicy field is set.
-
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;
- Specified by:
getQosPolicy
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- 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;
- Specified by:
getQosPolicyOrBuilder
in interfaceVRF.VlanAttachmentOrBuilder
-
getId
public String getId()
Immutable. The identifier of the attachment within vrf.
string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getId
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Immutable. The identifier of the attachment within vrf.
string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getIdBytes
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- 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) = { ... }
- Specified by:
getInterconnectAttachment
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- The interconnectAttachment.
-
getInterconnectAttachmentBytes
public com.google.protobuf.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) = { ... }
- Specified by:
getInterconnectAttachmentBytes
in interfaceVRF.VlanAttachmentOrBuilder
- Returns:
- The bytes for interconnectAttachment.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static VRF.VlanAttachment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VRF.VlanAttachment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VRF.VlanAttachment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VRF.VlanAttachment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VRF.VlanAttachment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VRF.VlanAttachment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VRF.VlanAttachment parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static VRF.VlanAttachment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static VRF.VlanAttachment parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static VRF.VlanAttachment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static VRF.VlanAttachment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static VRF.VlanAttachment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public VRF.VlanAttachment.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static VRF.VlanAttachment.Builder newBuilder()
-
newBuilder
public static VRF.VlanAttachment.Builder newBuilder(VRF.VlanAttachment prototype)
-
toBuilder
public VRF.VlanAttachment.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VRF.VlanAttachment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static VRF.VlanAttachment getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<VRF.VlanAttachment> parser()
-
getParserForType
public com.google.protobuf.Parser<VRF.VlanAttachment> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public VRF.VlanAttachment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-