Class VRF.VlanAttachment.Builder (0.53.0)

public static final class VRF.VlanAttachment.Builder extends GeneratedMessageV3.Builder<VRF.VlanAttachment.Builder> implements VRF.VlanAttachmentOrBuilder

VLAN attachment details.

Protobuf type google.cloud.baremetalsolution.v2.VRF.VlanAttachment

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VRF.VlanAttachment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VRF.VlanAttachment.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public VRF.VlanAttachment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VRF.VlanAttachment.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public VRF.VlanAttachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VRF.VlanAttachment.Builder
Overrides

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.

clone()

public VRF.VlanAttachment.Builder clone()
Returns
Type Description
VRF.VlanAttachment.Builder
Overrides

getDefaultInstanceForType()

public VRF.VlanAttachment getDefaultInstanceForType()
Returns
Type Description
VRF.VlanAttachment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VRF.VlanAttachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VRF.VlanAttachment.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VRF.VlanAttachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VRF.VlanAttachment.Builder
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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 long

The 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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VRF.VlanAttachment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VRF.VlanAttachment.Builder
Overrides

setRouterIp(String value)

public VRF.VlanAttachment.Builder setRouterIp(String value)

The router IP of the attachment.

string router_ip = 3;

Parameter
Name Description
value String

The 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 ByteString

The bytes for routerIp to set.

Returns
Type Description
VRF.VlanAttachment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VRF.VlanAttachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VRF.VlanAttachment.Builder
Overrides