Class InterconnectAttachmentPrivateInfo.Builder (1.52.0)

public static final class InterconnectAttachmentPrivateInfo.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectAttachmentPrivateInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public InterconnectAttachmentPrivateInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

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