Class 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 type google.cloud.baremetalsolution.v2.VRF.VlanAttachment
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
      • getPeerVlanId

        public long getPeerVlanId()
         The peer vlan ID of the attachment.
         
        int64 peer_vlan_id = 1;
        Specified by:
        getPeerVlanId in interface VRF.VlanAttachmentOrBuilder
        Returns:
        The peerVlanId.
      • getPeerIpBytes

        public com.google.protobuf.ByteString getPeerIpBytes()
         The peer IP of the attachment.
         
        string peer_ip = 2;
        Specified by:
        getPeerIpBytes in interface VRF.VlanAttachmentOrBuilder
        Returns:
        The bytes for peerIp.
      • getRouterIpBytes

        public com.google.protobuf.ByteString getRouterIpBytes()
         The router IP of the attachment.
         
        string router_ip = 3;
        Specified by:
        getRouterIpBytes in interface VRF.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 interface VRF.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 interface VRF.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 interface VRF.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 interface VRF.VlanAttachmentOrBuilder
        Returns:
        The qosPolicy.
      • getId

        public String getId()
         Immutable. The identifier of the attachment within vrf.
         
        string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getId in interface VRF.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 interface VRF.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 interface VRF.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 interface VRF.VlanAttachmentOrBuilder
        Returns:
        The bytes for interconnectAttachment.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Throws:
        IOException
      • newBuilderForType

        public VRF.VlanAttachment.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public VRF.VlanAttachment.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected VRF.VlanAttachment.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<VRF.VlanAttachment> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public VRF.VlanAttachment getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder