Class InterconnectAttachmentPrivateInfo.Builder (1.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectAttachmentPrivateInfo build()
Returns
TypeDescription
InterconnectAttachmentPrivateInfo

buildPartial()

public InterconnectAttachmentPrivateInfo buildPartial()
Returns
TypeDescription
InterconnectAttachmentPrivateInfo

clear()

public InterconnectAttachmentPrivateInfo.Builder clear()
Returns
TypeDescription
InterconnectAttachmentPrivateInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InterconnectAttachmentPrivateInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InterconnectAttachmentPrivateInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public InterconnectAttachmentPrivateInfo.Builder clone()
Returns
TypeDescription
InterconnectAttachmentPrivateInfo.Builder
Overrides

getDefaultInstanceForType()

public InterconnectAttachmentPrivateInfo getDefaultInstanceForType()
Returns
TypeDescription
InterconnectAttachmentPrivateInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the tag8021q field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectAttachmentPrivateInfo other)

public InterconnectAttachmentPrivateInfo.Builder mergeFrom(InterconnectAttachmentPrivateInfo other)
Parameter
NameDescription
otherInterconnectAttachmentPrivateInfo
Returns
TypeDescription
InterconnectAttachmentPrivateInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InterconnectAttachmentPrivateInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InterconnectAttachmentPrivateInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectAttachmentPrivateInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InterconnectAttachmentPrivateInfo.Builder
Overrides

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

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

The tag8021q to set.

Returns
TypeDescription
InterconnectAttachmentPrivateInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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