Class InterconnectAttachmentsScopedList.Builder (1.11.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
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
TypeDescription
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
NameDescription
valueInterconnectAttachment
Returns
TypeDescription
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
NameDescription
builderForValueInterconnectAttachment.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInterconnectAttachment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInterconnectAttachment.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InterconnectAttachment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectAttachmentsScopedList build()
Returns
TypeDescription
InterconnectAttachmentsScopedList

buildPartial()

public InterconnectAttachmentsScopedList buildPartial()
Returns
TypeDescription
InterconnectAttachmentsScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InterconnectAttachmentsScopedList getDefaultInstanceForType()
Returns
TypeDescription
InterconnectAttachmentsScopedList

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
TypeDescription
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
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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
NameDescription
otherInterconnectAttachmentsScopedList
Returns
TypeDescription
InterconnectAttachmentsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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
TypeDescription
InterconnectAttachmentsScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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