Class VRF.VlanAttachment.Builder

    • Method Detail

      • 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.Builder<VRF.VlanAttachment.Builder>
      • clear

        public VRF.VlanAttachment.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
      • getDefaultInstanceForType

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

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

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

        public VRF.VlanAttachment.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
      • setField

        public VRF.VlanAttachment.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
      • clearField

        public VRF.VlanAttachment.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
      • clearOneof

        public VRF.VlanAttachment.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
      • setRepeatedField

        public VRF.VlanAttachment.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
      • addRepeatedField

        public VRF.VlanAttachment.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
      • mergeFrom

        public VRF.VlanAttachment.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VRF.VlanAttachment.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
      • mergeFrom

        public VRF.VlanAttachment.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VRF.VlanAttachment.Builder>
        Throws:
        IOException
      • 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.
      • setPeerVlanId

        public VRF.VlanAttachment.Builder setPeerVlanId​(long value)
         The peer vlan ID of the attachment.
         
        int64 peer_vlan_id = 1;
        Parameters:
        value - The peerVlanId to set.
        Returns:
        This builder for chaining.
      • clearPeerVlanId

        public VRF.VlanAttachment.Builder clearPeerVlanId()
         The peer vlan ID of the attachment.
         
        int64 peer_vlan_id = 1;
        Returns:
        This builder for chaining.
      • 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.
      • setPeerIp

        public VRF.VlanAttachment.Builder setPeerIp​(String value)
         The peer IP of the attachment.
         
        string peer_ip = 2;
        Parameters:
        value - The peerIp to set.
        Returns:
        This builder for chaining.
      • clearPeerIp

        public VRF.VlanAttachment.Builder clearPeerIp()
         The peer IP of the attachment.
         
        string peer_ip = 2;
        Returns:
        This builder for chaining.
      • setPeerIpBytes

        public VRF.VlanAttachment.Builder setPeerIpBytes​(com.google.protobuf.ByteString value)
         The peer IP of the attachment.
         
        string peer_ip = 2;
        Parameters:
        value - The bytes for peerIp to set.
        Returns:
        This builder for chaining.
      • 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.
      • setRouterIp

        public VRF.VlanAttachment.Builder setRouterIp​(String value)
         The router IP of the attachment.
         
        string router_ip = 3;
        Parameters:
        value - The routerIp to set.
        Returns:
        This builder for chaining.
      • clearRouterIp

        public VRF.VlanAttachment.Builder clearRouterIp()
         The router IP of the attachment.
         
        string router_ip = 3;
        Returns:
        This builder for chaining.
      • setRouterIpBytes

        public VRF.VlanAttachment.Builder setRouterIpBytes​(com.google.protobuf.ByteString value)
         The router IP of the attachment.
         
        string router_ip = 3;
        Parameters:
        value - The bytes for routerIp to set.
        Returns:
        This builder for chaining.
      • 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.
      • setPairingKey

        public VRF.VlanAttachment.Builder setPairingKey​(String value)
         Input only. Pairing key.
         
        string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];
        Parameters:
        value - The pairingKey to set.
        Returns:
        This builder for chaining.
      • clearPairingKey

        public VRF.VlanAttachment.Builder clearPairingKey()
         Input only. Pairing key.
         
        string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];
        Returns:
        This builder for chaining.
      • setPairingKeyBytes

        public VRF.VlanAttachment.Builder setPairingKeyBytes​(com.google.protobuf.ByteString value)
         Input only. Pairing key.
         
        string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];
        Parameters:
        value - The bytes for pairingKey to set.
        Returns:
        This builder for chaining.
      • 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.
      • setQosPolicy

        public VRF.VlanAttachment.Builder setQosPolicy​(VRF.QosPolicy value)
         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;
      • setQosPolicy

        public VRF.VlanAttachment.Builder setQosPolicy​(VRF.QosPolicy.Builder builderForValue)
         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;
      • mergeQosPolicy

        public VRF.VlanAttachment.Builder mergeQosPolicy​(VRF.QosPolicy value)
         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;
      • clearQosPolicy

        public VRF.VlanAttachment.Builder clearQosPolicy()
         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;
      • getQosPolicyBuilder

        public VRF.QosPolicy.Builder getQosPolicyBuilder()
         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;
      • 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.
      • setId

        public VRF.VlanAttachment.Builder setId​(String value)
         Immutable. The identifier of the attachment within vrf.
         
        string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public VRF.VlanAttachment.Builder clearId()
         Immutable. The identifier of the attachment within vrf.
         
        string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setIdBytes

        public VRF.VlanAttachment.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Immutable. The identifier of the attachment within vrf.
         
        string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • 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.
      • setInterconnectAttachment

        public VRF.VlanAttachment.Builder setInterconnectAttachment​(String value)
         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) = { ... }
        Parameters:
        value - The interconnectAttachment to set.
        Returns:
        This builder for chaining.
      • clearInterconnectAttachment

        public VRF.VlanAttachment.Builder clearInterconnectAttachment()
         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:
        This builder for chaining.
      • setInterconnectAttachmentBytes

        public VRF.VlanAttachment.Builder setInterconnectAttachmentBytes​(com.google.protobuf.ByteString value)
         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) = { ... }
        Parameters:
        value - The bytes for interconnectAttachment to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final VRF.VlanAttachment.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
      • mergeUnknownFields

        public final VRF.VlanAttachment.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>