public static final class VRF.VlanAttachment.Builder extends GeneratedMessage.Builder<VRF.VlanAttachment.Builder> implements VRF.VlanAttachmentOrBuilderVLAN attachment details.
Protobuf type google.cloud.baremetalsolution.v2.VRF.VlanAttachment
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VRF.VlanAttachment.BuilderImplements
VRF.VlanAttachmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VRF.VlanAttachment build()| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment |
|
buildPartial()
public VRF.VlanAttachment buildPartial()| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment |
|
clear()
public VRF.VlanAttachment.Builder clear()| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
|
clearId()
public VRF.VlanAttachment.Builder clearId()Immutable. The identifier of the attachment within vrf.
string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
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 | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
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 | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
clearPeerIp()
public VRF.VlanAttachment.Builder clearPeerIp()The peer IP of the attachment.
string peer_ip = 2;
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
clearPeerVlanId()
public VRF.VlanAttachment.Builder clearPeerVlanId()The peer vlan ID of the attachment.
int64 peer_vlan_id = 1;
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
|
clearRouterIp()
public VRF.VlanAttachment.Builder clearRouterIp()The router IP of the attachment.
string router_ip = 3;
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public VRF.VlanAttachment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId()Immutable. The identifier of the attachment within vrf.
string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()Immutable. The identifier of the attachment within vrf.
string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The interconnectAttachment. |
getInterconnectAttachmentBytes()
public 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for interconnectAttachment. |
getPairingKey()
public String getPairingKey()Input only. Pairing key.
string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The pairingKey. |
getPairingKeyBytes()
public ByteString getPairingKeyBytes()Input only. Pairing key.
string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pairingKey. |
getPeerIp()
public String getPeerIp()The peer IP of the attachment.
string peer_ip = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The peerIp. |
getPeerIpBytes()
public ByteString getPeerIpBytes()The peer IP of the attachment.
string peer_ip = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for peerIp. |
getPeerVlanId()
public long getPeerVlanId()The peer vlan ID of the attachment.
int64 peer_vlan_id = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The peerVlanId. |
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;
| Returns | |
|---|---|
| Type | Description |
VRF.QosPolicy |
The qosPolicy. |
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;
| Returns | |
|---|---|
| Type | Description |
VRF.QosPolicy.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
VRF.QosPolicyOrBuilder |
|
getRouterIp()
public String getRouterIp()The router IP of the attachment.
string router_ip = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The routerIp. |
getRouterIpBytes()
public ByteString getRouterIpBytes()The router IP of the attachment.
string router_ip = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for routerIp. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the qosPolicy field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VRF.VlanAttachment other)
public VRF.VlanAttachment.Builder mergeFrom(VRF.VlanAttachment other)| Parameter | |
|---|---|
| Name | Description |
other |
VRF.VlanAttachment |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VRF.VlanAttachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VRF.VlanAttachment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
|
mergeQosPolicy(VRF.QosPolicy value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
VRF.QosPolicy |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
|
setId(String value)
public VRF.VlanAttachment.Builder setId(String value)Immutable. The identifier of the attachment within vrf.
string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public VRF.VlanAttachment.Builder setIdBytes(ByteString value)Immutable. The identifier of the attachment within vrf.
string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
setInterconnectAttachment(String value)
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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe interconnectAttachment to set. |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
setInterconnectAttachmentBytes(ByteString value)
public VRF.VlanAttachment.Builder setInterconnectAttachmentBytes(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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for interconnectAttachment to set. |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
setPairingKey(String value)
public VRF.VlanAttachment.Builder setPairingKey(String value)Input only. Pairing key.
string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pairingKey to set. |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
setPairingKeyBytes(ByteString value)
public VRF.VlanAttachment.Builder setPairingKeyBytes(ByteString value)Input only. Pairing key.
string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pairingKey to set. |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
setPeerIp(String value)
public VRF.VlanAttachment.Builder setPeerIp(String value)The peer IP of the attachment.
string peer_ip = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe peerIp to set. |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
setPeerIpBytes(ByteString value)
public VRF.VlanAttachment.Builder setPeerIpBytes(ByteString value)The peer IP of the attachment.
string peer_ip = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for peerIp to set. |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
setPeerVlanId(long value)
public VRF.VlanAttachment.Builder setPeerVlanId(long value)The peer vlan ID of the attachment.
int64 peer_vlan_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe peerVlanId to set. |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
setQosPolicy(VRF.QosPolicy value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
VRF.QosPolicy |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
|
setQosPolicy(VRF.QosPolicy.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
VRF.QosPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
|
setRouterIp(String value)
public VRF.VlanAttachment.Builder setRouterIp(String value)The router IP of the attachment.
string router_ip = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe routerIp to set. |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |
setRouterIpBytes(ByteString value)
public VRF.VlanAttachment.Builder setRouterIpBytes(ByteString value)The router IP of the attachment.
string router_ip = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for routerIp to set. |
| Returns | |
|---|---|
| Type | Description |
VRF.VlanAttachment.Builder |
This builder for chaining. |