Class NetworkAttachmentsScopedList.Builder (1.61.0)

public static final class NetworkAttachmentsScopedList.Builder extends GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder> implements NetworkAttachmentsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.NetworkAttachmentsScopedList

Static Methods

getDescriptor()

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

Methods

addAllNetworkAttachments(Iterable<? extends NetworkAttachment> values)

public NetworkAttachmentsScopedList.Builder addAllNetworkAttachments(Iterable<? extends NetworkAttachment> values)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

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

addNetworkAttachments(NetworkAttachment value)

public NetworkAttachmentsScopedList.Builder addNetworkAttachments(NetworkAttachment value)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameter
Name Description
value NetworkAttachment
Returns
Type Description
NetworkAttachmentsScopedList.Builder

addNetworkAttachments(NetworkAttachment.Builder builderForValue)

public NetworkAttachmentsScopedList.Builder addNetworkAttachments(NetworkAttachment.Builder builderForValue)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameter
Name Description
builderForValue NetworkAttachment.Builder
Returns
Type Description
NetworkAttachmentsScopedList.Builder

addNetworkAttachments(int index, NetworkAttachment value)

public NetworkAttachmentsScopedList.Builder addNetworkAttachments(int index, NetworkAttachment value)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameters
Name Description
index int
value NetworkAttachment
Returns
Type Description
NetworkAttachmentsScopedList.Builder

addNetworkAttachments(int index, NetworkAttachment.Builder builderForValue)

public NetworkAttachmentsScopedList.Builder addNetworkAttachments(int index, NetworkAttachment.Builder builderForValue)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameters
Name Description
index int
builderForValue NetworkAttachment.Builder
Returns
Type Description
NetworkAttachmentsScopedList.Builder

addNetworkAttachmentsBuilder()

public NetworkAttachment.Builder addNetworkAttachmentsBuilder()

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Returns
Type Description
NetworkAttachment.Builder

addNetworkAttachmentsBuilder(int index)

public NetworkAttachment.Builder addNetworkAttachmentsBuilder(int index)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameter
Name Description
index int
Returns
Type Description
NetworkAttachment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkAttachmentsScopedList build()
Returns
Type Description
NetworkAttachmentsScopedList

buildPartial()

public NetworkAttachmentsScopedList buildPartial()
Returns
Type Description
NetworkAttachmentsScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkAttachments()

public NetworkAttachmentsScopedList.Builder clearNetworkAttachments()

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Returns
Type Description
NetworkAttachmentsScopedList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public NetworkAttachmentsScopedList.Builder clearWarning()

Informational warning which replaces the list of network attachments when the list is empty.

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

Returns
Type Description
NetworkAttachmentsScopedList.Builder

clone()

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

getDefaultInstanceForType()

public NetworkAttachmentsScopedList getDefaultInstanceForType()
Returns
Type Description
NetworkAttachmentsScopedList

getDescriptorForType()

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

getNetworkAttachments(int index)

public NetworkAttachment getNetworkAttachments(int index)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameter
Name Description
index int
Returns
Type Description
NetworkAttachment

getNetworkAttachmentsBuilder(int index)

public NetworkAttachment.Builder getNetworkAttachmentsBuilder(int index)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameter
Name Description
index int
Returns
Type Description
NetworkAttachment.Builder

getNetworkAttachmentsBuilderList()

public List<NetworkAttachment.Builder> getNetworkAttachmentsBuilderList()

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Returns
Type Description
List<Builder>

getNetworkAttachmentsCount()

public int getNetworkAttachmentsCount()

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Returns
Type Description
int

getNetworkAttachmentsList()

public List<NetworkAttachment> getNetworkAttachmentsList()

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Returns
Type Description
List<NetworkAttachment>

getNetworkAttachmentsOrBuilder(int index)

public NetworkAttachmentOrBuilder getNetworkAttachmentsOrBuilder(int index)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameter
Name Description
index int
Returns
Type Description
NetworkAttachmentOrBuilder

getNetworkAttachmentsOrBuilderList()

public List<? extends NetworkAttachmentOrBuilder> getNetworkAttachmentsOrBuilderList()

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

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

getWarning()

public Warning getWarning()

Informational warning which replaces the list of network attachments 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 network attachments 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 network attachments 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 network attachments 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(NetworkAttachmentsScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public NetworkAttachmentsScopedList.Builder mergeWarning(Warning value)

Informational warning which replaces the list of network attachments when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
NetworkAttachmentsScopedList.Builder

removeNetworkAttachments(int index)

public NetworkAttachmentsScopedList.Builder removeNetworkAttachments(int index)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameter
Name Description
index int
Returns
Type Description
NetworkAttachmentsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkAttachments(int index, NetworkAttachment value)

public NetworkAttachmentsScopedList.Builder setNetworkAttachments(int index, NetworkAttachment value)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameters
Name Description
index int
value NetworkAttachment
Returns
Type Description
NetworkAttachmentsScopedList.Builder

setNetworkAttachments(int index, NetworkAttachment.Builder builderForValue)

public NetworkAttachmentsScopedList.Builder setNetworkAttachments(int index, NetworkAttachment.Builder builderForValue)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameters
Name Description
index int
builderForValue NetworkAttachment.Builder
Returns
Type Description
NetworkAttachmentsScopedList.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public NetworkAttachmentsScopedList.Builder setWarning(Warning value)

Informational warning which replaces the list of network attachments when the list is empty.

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

Parameter
Name Description
value Warning
Returns
Type Description
NetworkAttachmentsScopedList.Builder

setWarning(Warning.Builder builderForValue)

public NetworkAttachmentsScopedList.Builder setWarning(Warning.Builder builderForValue)

Informational warning which replaces the list of network attachments when the list is empty.

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

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