Class InterconnectAttachmentsScopedList.Builder (1.63.0)

public static final class InterconnectAttachmentsScopedList.Builder extends GeneratedMessageV3.Builder<InterconnectAttachmentsScopedList.Builder> implements InterconnectAttachmentsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.InterconnectAttachmentsScopedList

Static Methods

getDescriptor()

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

Methods

addAllInterconnectAttachments(Iterable<? extends InterconnectAttachment> values)

public InterconnectAttachmentsScopedList.Builder addAllInterconnectAttachments(Iterable<? extends InterconnectAttachment> values)

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.InterconnectAttachment>
Returns
Type Description
InterconnectAttachmentsScopedList.Builder

addInterconnectAttachments(InterconnectAttachment value)

public InterconnectAttachmentsScopedList.Builder addInterconnectAttachments(InterconnectAttachment value)

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Parameter
Name Description
value InterconnectAttachment
Returns
Type Description
InterconnectAttachmentsScopedList.Builder

addInterconnectAttachments(InterconnectAttachment.Builder builderForValue)

public InterconnectAttachmentsScopedList.Builder addInterconnectAttachments(InterconnectAttachment.Builder builderForValue)

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Parameter
Name Description
builderForValue InterconnectAttachment.Builder
Returns
Type Description
InterconnectAttachmentsScopedList.Builder

addInterconnectAttachments(int index, InterconnectAttachment value)

public InterconnectAttachmentsScopedList.Builder addInterconnectAttachments(int index, InterconnectAttachment value)

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Parameters
Name Description
index int
value InterconnectAttachment
Returns
Type Description
InterconnectAttachmentsScopedList.Builder

addInterconnectAttachments(int index, InterconnectAttachment.Builder builderForValue)

public InterconnectAttachmentsScopedList.Builder addInterconnectAttachments(int index, InterconnectAttachment.Builder builderForValue)

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Parameters
Name Description
index int
builderForValue InterconnectAttachment.Builder
Returns
Type Description
InterconnectAttachmentsScopedList.Builder

addInterconnectAttachmentsBuilder()

public InterconnectAttachment.Builder addInterconnectAttachmentsBuilder()

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Returns
Type Description
InterconnectAttachment.Builder

addInterconnectAttachmentsBuilder(int index)

public InterconnectAttachment.Builder addInterconnectAttachmentsBuilder(int index)

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Parameter
Name Description
index int
Returns
Type Description
InterconnectAttachment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectAttachmentsScopedList build()
Returns
Type Description
InterconnectAttachmentsScopedList

buildPartial()

public InterconnectAttachmentsScopedList buildPartial()
Returns
Type Description
InterconnectAttachmentsScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInterconnectAttachments()

public InterconnectAttachmentsScopedList.Builder clearInterconnectAttachments()

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Returns
Type Description
InterconnectAttachmentsScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public InterconnectAttachmentsScopedList.Builder clearWarning()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
InterconnectAttachmentsScopedList.Builder

clone()

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

getDefaultInstanceForType()

public InterconnectAttachmentsScopedList getDefaultInstanceForType()
Returns
Type Description
InterconnectAttachmentsScopedList

getDescriptorForType()

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

getInterconnectAttachments(int index)

public InterconnectAttachment getInterconnectAttachments(int index)

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Parameter
Name Description
index int
Returns
Type Description
InterconnectAttachment

getInterconnectAttachmentsBuilder(int index)

public InterconnectAttachment.Builder getInterconnectAttachmentsBuilder(int index)

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Parameter
Name Description
index int
Returns
Type Description
InterconnectAttachment.Builder

getInterconnectAttachmentsBuilderList()

public List<InterconnectAttachment.Builder> getInterconnectAttachmentsBuilderList()

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Returns
Type Description
List<Builder>

getInterconnectAttachmentsCount()

public int getInterconnectAttachmentsCount()

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Returns
Type Description
int

getInterconnectAttachmentsList()

public List<InterconnectAttachment> getInterconnectAttachmentsList()

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Returns
Type Description
List<InterconnectAttachment>

getInterconnectAttachmentsOrBuilder(int index)

public InterconnectAttachmentOrBuilder getInterconnectAttachmentsOrBuilder(int index)

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Parameter
Name Description
index int
Returns
Type Description
InterconnectAttachmentOrBuilder

getInterconnectAttachmentsOrBuilderList()

public List<? extends InterconnectAttachmentOrBuilder> getInterconnectAttachmentsOrBuilderList()

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.InterconnectAttachmentOrBuilder>

getWarning()

public Warning getWarning()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning

The warning.

getWarningBuilder()

public Warning.Builder getWarningBuilder()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectAttachmentsScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public InterconnectAttachmentsScopedList.Builder mergeWarning(Warning value)

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
InterconnectAttachmentsScopedList.Builder

removeInterconnectAttachments(int index)

public InterconnectAttachmentsScopedList.Builder removeInterconnectAttachments(int index)

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Parameter
Name Description
index int
Returns
Type Description
InterconnectAttachmentsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInterconnectAttachments(int index, InterconnectAttachment value)

public InterconnectAttachmentsScopedList.Builder setInterconnectAttachments(int index, InterconnectAttachment value)

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Parameters
Name Description
index int
value InterconnectAttachment
Returns
Type Description
InterconnectAttachmentsScopedList.Builder

setInterconnectAttachments(int index, InterconnectAttachment.Builder builderForValue)

public InterconnectAttachmentsScopedList.Builder setInterconnectAttachments(int index, InterconnectAttachment.Builder builderForValue)

A list of interconnect attachments contained in this scope.

repeated .google.cloud.compute.v1.InterconnectAttachment interconnect_attachments = 425388415;

Parameters
Name Description
index int
builderForValue InterconnectAttachment.Builder
Returns
Type Description
InterconnectAttachmentsScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public InterconnectAttachmentsScopedList.Builder setWarning(Warning value)

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
InterconnectAttachmentsScopedList.Builder

setWarning(Warning.Builder builderForValue)

public InterconnectAttachmentsScopedList.Builder setWarning(Warning.Builder builderForValue)

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
InterconnectAttachmentsScopedList.Builder