Class InterconnectAttachmentPrivateInfo.Builder (1.93.0)

public static final class InterconnectAttachmentPrivateInfo.Builder extends GeneratedMessage.Builder<InterconnectAttachmentPrivateInfo.Builder> implements InterconnectAttachmentPrivateInfoOrBuilder

Information for an interconnect attachment when this belongs to an interconnect of type DEDICATED.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentPrivateInfo

Static Methods

getDescriptor()

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

Methods

build()

public InterconnectAttachmentPrivateInfo build()
Returns
Type Description
InterconnectAttachmentPrivateInfo

buildPartial()

public InterconnectAttachmentPrivateInfo buildPartial()
Returns
Type Description
InterconnectAttachmentPrivateInfo

clear()

public InterconnectAttachmentPrivateInfo.Builder clear()
Returns
Type Description
InterconnectAttachmentPrivateInfo.Builder
Overrides

clearTag8021Q()

public InterconnectAttachmentPrivateInfo.Builder clearTag8021Q()

[Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.

optional uint32 tag8021q = 271820992;

Returns
Type Description
InterconnectAttachmentPrivateInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public InterconnectAttachmentPrivateInfo getDefaultInstanceForType()
Returns
Type Description
InterconnectAttachmentPrivateInfo

getDescriptorForType()

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

getTag8021Q()

public int getTag8021Q()

[Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.

optional uint32 tag8021q = 271820992;

Returns
Type Description
int

The tag8021q.

hasTag8021Q()

public boolean hasTag8021Q()

[Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.

optional uint32 tag8021q = 271820992;

Returns
Type Description
boolean

Whether the tag8021q field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectAttachmentPrivateInfo other)

public InterconnectAttachmentPrivateInfo.Builder mergeFrom(InterconnectAttachmentPrivateInfo other)
Parameter
Name Description
other InterconnectAttachmentPrivateInfo
Returns
Type Description
InterconnectAttachmentPrivateInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectAttachmentPrivateInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentPrivateInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InterconnectAttachmentPrivateInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InterconnectAttachmentPrivateInfo.Builder
Overrides

setTag8021Q(int value)

public InterconnectAttachmentPrivateInfo.Builder setTag8021Q(int value)

[Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.

optional uint32 tag8021q = 271820992;

Parameter
Name Description
value int

The tag8021q to set.

Returns
Type Description
InterconnectAttachmentPrivateInfo.Builder

This builder for chaining.