Class InterconnectAttachmentsScopedList.Builder (1.12.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.InterconnectAttachment>
Returns

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
NameDescription
valueInterconnectAttachment
Returns

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
NameDescription
builderForValueInterconnectAttachment.Builder
Returns

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
NameDescription
indexint
valueInterconnectAttachment
Returns

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
NameDescription
indexint
builderForValueInterconnectAttachment.Builder
Returns

addInterconnectAttachmentsBuilder()

public InterconnectAttachment.Builder addInterconnectAttachmentsBuilder()

A list of interconnect attachments contained in this scope.

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

Returns

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
NameDescription
indexint
Returns

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectAttachmentsScopedList build()
Returns

buildPartial()

public InterconnectAttachmentsScopedList buildPartial()
Returns

clear()

public InterconnectAttachmentsScopedList.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public InterconnectAttachmentsScopedList.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public InterconnectAttachmentsScopedList getDefaultInstanceForType()
Returns

getDescriptorForType()

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

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

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
NameDescription
indexint
Returns

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

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectAttachmentsScopedList other)

public InterconnectAttachmentsScopedList.Builder mergeFrom(InterconnectAttachmentsScopedList other)
Parameter Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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
NameDescription
valueWarning
Returns

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
NameDescription
indexint
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectAttachmentsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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
NameDescription
indexint
valueInterconnectAttachment
Returns

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
NameDescription
indexint
builderForValueInterconnectAttachment.Builder
Returns

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

public InterconnectAttachmentsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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
NameDescription
valueWarning
Returns

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
NameDescription
builderForValueWarning.Builder
Returns