Class VRF.VlanAttachment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
- com.google.cloud.baremetalsolution.v2.VRF.VlanAttachment.Builder
-
- All Implemented Interfaces:
VRF.VlanAttachmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VRF.VlanAttachment
public static final class VRF.VlanAttachment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder> implements VRF.VlanAttachmentOrBuilder
VLAN attachment details.
Protobuf typegoogle.cloud.baremetalsolution.v2.VRF.VlanAttachment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VRF.VlanAttachment.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VRF.VlanAttachmentbuild()VRF.VlanAttachmentbuildPartial()VRF.VlanAttachment.Builderclear()VRF.VlanAttachment.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)VRF.VlanAttachment.BuilderclearId()Immutable.VRF.VlanAttachment.BuilderclearInterconnectAttachment()Optional.VRF.VlanAttachment.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)VRF.VlanAttachment.BuilderclearPairingKey()Input only.VRF.VlanAttachment.BuilderclearPeerIp()The peer IP of the attachment.VRF.VlanAttachment.BuilderclearPeerVlanId()The peer vlan ID of the attachment.VRF.VlanAttachment.BuilderclearQosPolicy()The QOS policy applied to this VLAN attachment.VRF.VlanAttachment.BuilderclearRouterIp()The router IP of the attachment.VRF.VlanAttachment.Builderclone()VRF.VlanAttachmentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetId()Immutable.com.google.protobuf.ByteStringgetIdBytes()Immutable.StringgetInterconnectAttachment()Optional.com.google.protobuf.ByteStringgetInterconnectAttachmentBytes()Optional.StringgetPairingKey()Input only.com.google.protobuf.ByteStringgetPairingKeyBytes()Input only.StringgetPeerIp()The peer IP of the attachment.com.google.protobuf.ByteStringgetPeerIpBytes()The peer IP of the attachment.longgetPeerVlanId()The peer vlan ID of the attachment.VRF.QosPolicygetQosPolicy()The QOS policy applied to this VLAN attachment.VRF.QosPolicy.BuildergetQosPolicyBuilder()The QOS policy applied to this VLAN attachment.VRF.QosPolicyOrBuildergetQosPolicyOrBuilder()The QOS policy applied to this VLAN attachment.StringgetRouterIp()The router IP of the attachment.com.google.protobuf.ByteStringgetRouterIpBytes()The router IP of the attachment.booleanhasQosPolicy()The QOS policy applied to this VLAN attachment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()VRF.VlanAttachment.BuildermergeFrom(VRF.VlanAttachment other)VRF.VlanAttachment.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)VRF.VlanAttachment.BuildermergeFrom(com.google.protobuf.Message other)VRF.VlanAttachment.BuildermergeQosPolicy(VRF.QosPolicy value)The QOS policy applied to this VLAN attachment.VRF.VlanAttachment.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VRF.VlanAttachment.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VRF.VlanAttachment.BuildersetId(String value)Immutable.VRF.VlanAttachment.BuildersetIdBytes(com.google.protobuf.ByteString value)Immutable.VRF.VlanAttachment.BuildersetInterconnectAttachment(String value)Optional.VRF.VlanAttachment.BuildersetInterconnectAttachmentBytes(com.google.protobuf.ByteString value)Optional.VRF.VlanAttachment.BuildersetPairingKey(String value)Input only.VRF.VlanAttachment.BuildersetPairingKeyBytes(com.google.protobuf.ByteString value)Input only.VRF.VlanAttachment.BuildersetPeerIp(String value)The peer IP of the attachment.VRF.VlanAttachment.BuildersetPeerIpBytes(com.google.protobuf.ByteString value)The peer IP of the attachment.VRF.VlanAttachment.BuildersetPeerVlanId(long value)The peer vlan ID of the attachment.VRF.VlanAttachment.BuildersetQosPolicy(VRF.QosPolicy value)The QOS policy applied to this VLAN attachment.VRF.VlanAttachment.BuildersetQosPolicy(VRF.QosPolicy.Builder builderForValue)The QOS policy applied to this VLAN attachment.VRF.VlanAttachment.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)VRF.VlanAttachment.BuildersetRouterIp(String value)The router IP of the attachment.VRF.VlanAttachment.BuildersetRouterIpBytes(com.google.protobuf.ByteString value)The router IP of the attachment.VRF.VlanAttachment.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
clear
public VRF.VlanAttachment.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
getDefaultInstanceForType
public VRF.VlanAttachment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public VRF.VlanAttachment build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VRF.VlanAttachment buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VRF.VlanAttachment.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
setField
public VRF.VlanAttachment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
clearField
public VRF.VlanAttachment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
clearOneof
public VRF.VlanAttachment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
addRepeatedField
public VRF.VlanAttachment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
mergeFrom
public VRF.VlanAttachment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VRF.VlanAttachment.Builder>
-
mergeFrom
public VRF.VlanAttachment.Builder mergeFrom(VRF.VlanAttachment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getPeerVlanIdin interfaceVRF.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.
-
getPeerIp
public String getPeerIp()
The peer IP of the attachment.
string peer_ip = 2;- Specified by:
getPeerIpin interfaceVRF.VlanAttachmentOrBuilder- Returns:
- The peerIp.
-
getPeerIpBytes
public com.google.protobuf.ByteString getPeerIpBytes()
The peer IP of the attachment.
string peer_ip = 2;- Specified by:
getPeerIpBytesin interfaceVRF.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.
-
getRouterIp
public String getRouterIp()
The router IP of the attachment.
string router_ip = 3;- Specified by:
getRouterIpin interfaceVRF.VlanAttachmentOrBuilder- Returns:
- The routerIp.
-
getRouterIpBytes
public com.google.protobuf.ByteString getRouterIpBytes()
The router IP of the attachment.
string router_ip = 3;- Specified by:
getRouterIpBytesin interfaceVRF.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:
getPairingKeyin 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:
getPairingKeyBytesin interfaceVRF.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:
hasQosPolicyin 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:
getQosPolicyin interfaceVRF.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;
-
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:
getQosPolicyOrBuilderin interfaceVRF.VlanAttachmentOrBuilder
-
getId
public String getId()
Immutable. The identifier of the attachment within vrf.
string id = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getIdin 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:
getIdBytesin interfaceVRF.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:
getInterconnectAttachmentin 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:
getInterconnectAttachmentBytesin interfaceVRF.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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
mergeUnknownFields
public final VRF.VlanAttachment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
-