public static final class NetworkAttachmentsScopedList.Builder extends GeneratedMessage.Builder<NetworkAttachmentsScopedList.Builder> implements NetworkAttachmentsScopedListOrBuilder
Protobuf type google.cloud.compute.v1.NetworkAttachmentsScopedList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
addNetworkAttachmentsBuilder()
public NetworkAttachment.Builder addNetworkAttachmentsBuilder()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
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
|
build()
public NetworkAttachmentsScopedList build()
buildPartial()
public NetworkAttachmentsScopedList buildPartial()
clear()
public NetworkAttachmentsScopedList.Builder clear()
Overrides
clearNetworkAttachments()
public NetworkAttachmentsScopedList.Builder clearNetworkAttachments()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
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;
getDefaultInstanceForType()
public NetworkAttachmentsScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getNetworkAttachmentsBuilderList()
public List<NetworkAttachment.Builder> getNetworkAttachmentsBuilderList()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
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;
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
|
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;
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;
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NetworkAttachmentsScopedList other)
public NetworkAttachmentsScopedList.Builder mergeFrom(NetworkAttachmentsScopedList other)
public NetworkAttachmentsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NetworkAttachmentsScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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
|
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;
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;
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
|
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;