Class VRF.VlanAttachment.Builder (0.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VRF.VlanAttachment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides

build()

public VRF.VlanAttachment build()
Returns
TypeDescription
VRF.VlanAttachment

buildPartial()

public VRF.VlanAttachment buildPartial()
Returns
TypeDescription
VRF.VlanAttachment

clear()

public VRF.VlanAttachment.Builder clear()
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VRF.VlanAttachment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VRF.VlanAttachment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VRF.VlanAttachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
VRF.VlanAttachment.Builder

This builder for chaining.

clearPeerIp()

public VRF.VlanAttachment.Builder clearPeerIp()

The peer IP of the attachment.

string peer_ip = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VRF.VlanAttachment.Builder

clearRouterIp()

public VRF.VlanAttachment.Builder clearRouterIp()

The router IP of the attachment.

string router_ip = 3;

Returns
TypeDescription
VRF.VlanAttachment.Builder

This builder for chaining.

clone()

public VRF.VlanAttachment.Builder clone()
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides

getDefaultInstanceForType()

public VRF.VlanAttachment getDefaultInstanceForType()
Returns
TypeDescription
VRF.VlanAttachment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

Immutable. The identifier of the attachment within vrf.

string id = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Immutable. The identifier of the attachment within vrf.

string id = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for interconnectAttachment.

getPairingKey()

public String getPairingKey()

Input only. Pairing key.

string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
String

The pairingKey.

getPairingKeyBytes()

public ByteString getPairingKeyBytes()

Input only. Pairing key.

string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for pairingKey.

getPeerIp()

public String getPeerIp()

The peer IP of the attachment.

string peer_ip = 2;

Returns
TypeDescription
String

The peerIp.

getPeerIpBytes()

public ByteString getPeerIpBytes()

The peer IP of the attachment.

string peer_ip = 2;

Returns
TypeDescription
ByteString

The bytes for peerIp.

getPeerVlanId()

public long getPeerVlanId()

The peer vlan ID of the attachment.

int64 peer_vlan_id = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
VRF.QosPolicyOrBuilder

getRouterIp()

public String getRouterIp()

The router IP of the attachment.

string router_ip = 3;

Returns
TypeDescription
String

The routerIp.

getRouterIpBytes()

public ByteString getRouterIpBytes()

The router IP of the attachment.

string router_ip = 3;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the qosPolicy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VRF.VlanAttachment other)

public VRF.VlanAttachment.Builder mergeFrom(VRF.VlanAttachment other)
Parameter
NameDescription
otherVRF.VlanAttachment
Returns
TypeDescription
VRF.VlanAttachment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VRF.VlanAttachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VRF.VlanAttachment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueVRF.QosPolicy
Returns
TypeDescription
VRF.VlanAttachment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VRF.VlanAttachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VRF.VlanAttachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The id to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
valueString

The interconnectAttachment to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for interconnectAttachment to set.

Returns
TypeDescription
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
NameDescription
valueString

The pairingKey to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pairingKey to set.

Returns
TypeDescription
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
NameDescription
valueString

The peerIp to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for peerIp to set.

Returns
TypeDescription
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
NameDescription
valuelong

The peerVlanId to set.

Returns
TypeDescription
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
NameDescription
valueVRF.QosPolicy
Returns
TypeDescription
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
NameDescription
builderForValueVRF.QosPolicy.Builder
Returns
TypeDescription
VRF.VlanAttachment.Builder

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

public VRF.VlanAttachment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The routerIp to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for routerIp to set.

Returns
TypeDescription
VRF.VlanAttachment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VRF.VlanAttachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VRF.VlanAttachment.Builder
Overrides