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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VRF.VlanAttachment
build()
VRF.VlanAttachment
buildPartial()
VRF.VlanAttachment.Builder
clear()
VRF.VlanAttachment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VRF.VlanAttachment.Builder
clearId()
Immutable.VRF.VlanAttachment.Builder
clearInterconnectAttachment()
Optional.VRF.VlanAttachment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VRF.VlanAttachment.Builder
clearPairingKey()
Input only.VRF.VlanAttachment.Builder
clearPeerIp()
The peer IP of the attachment.VRF.VlanAttachment.Builder
clearPeerVlanId()
The peer vlan ID of the attachment.VRF.VlanAttachment.Builder
clearQosPolicy()
The QOS policy applied to this VLAN attachment.VRF.VlanAttachment.Builder
clearRouterIp()
The router IP of the attachment.VRF.VlanAttachment.Builder
clone()
VRF.VlanAttachment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.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.QosPolicy.Builder
getQosPolicyBuilder()
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.boolean
hasQosPolicy()
The QOS policy applied to this VLAN attachment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VRF.VlanAttachment.Builder
mergeFrom(VRF.VlanAttachment other)
VRF.VlanAttachment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VRF.VlanAttachment.Builder
mergeFrom(com.google.protobuf.Message other)
VRF.VlanAttachment.Builder
mergeQosPolicy(VRF.QosPolicy value)
The QOS policy applied to this VLAN attachment.VRF.VlanAttachment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VRF.VlanAttachment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VRF.VlanAttachment.Builder
setId(String value)
Immutable.VRF.VlanAttachment.Builder
setIdBytes(com.google.protobuf.ByteString value)
Immutable.VRF.VlanAttachment.Builder
setInterconnectAttachment(String value)
Optional.VRF.VlanAttachment.Builder
setInterconnectAttachmentBytes(com.google.protobuf.ByteString value)
Optional.VRF.VlanAttachment.Builder
setPairingKey(String value)
Input only.VRF.VlanAttachment.Builder
setPairingKeyBytes(com.google.protobuf.ByteString value)
Input only.VRF.VlanAttachment.Builder
setPeerIp(String value)
The peer IP of the attachment.VRF.VlanAttachment.Builder
setPeerIpBytes(com.google.protobuf.ByteString value)
The peer IP of the attachment.VRF.VlanAttachment.Builder
setPeerVlanId(long value)
The peer vlan ID of the attachment.VRF.VlanAttachment.Builder
setQosPolicy(VRF.QosPolicy value)
The QOS policy applied to this VLAN attachment.VRF.VlanAttachment.Builder
setQosPolicy(VRF.QosPolicy.Builder builderForValue)
The QOS policy applied to this VLAN attachment.VRF.VlanAttachment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
VRF.VlanAttachment.Builder
setRouterIp(String value)
The router IP of the attachment.VRF.VlanAttachment.Builder
setRouterIpBytes(com.google.protobuf.ByteString value)
The router IP of the attachment.VRF.VlanAttachment.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
clear
public VRF.VlanAttachment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
getDefaultInstanceForType
public VRF.VlanAttachment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VRF.VlanAttachment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VRF.VlanAttachment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VRF.VlanAttachment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
clearField
public VRF.VlanAttachment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
clearOneof
public VRF.VlanAttachment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
mergeFrom
public VRF.VlanAttachment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VRF.VlanAttachment.Builder>
-
mergeFrom
public VRF.VlanAttachment.Builder mergeFrom(VRF.VlanAttachment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getPeerVlanId
in 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:
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.
-
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:
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.
-
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 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.
-
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 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.
-
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:
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.
-
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 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.
-
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
mergeUnknownFields
public final VRF.VlanAttachment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder>
-
-