public static final class NetworkAttachmentsScopedList.Builder extends GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder> implements NetworkAttachmentsScopedListOrBuilder
Protobuf type google.cloud.compute.v1.NetworkAttachmentsScopedList
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkAttachmentsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NetworkAttachmentsScopedList build()
buildPartial()
public NetworkAttachmentsScopedList buildPartial()
clear()
public NetworkAttachmentsScopedList.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public NetworkAttachmentsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNetworkAttachments()
public NetworkAttachmentsScopedList.Builder clearNetworkAttachments()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkAttachmentsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public NetworkAttachmentsScopedList.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAttachmentsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkAttachmentsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkAttachmentsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAttachmentsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
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
|
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;