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.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()
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
addNetworkAttachmentsBuilder()
public NetworkAttachment.Builder addNetworkAttachmentsBuilder()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkAttachmentsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NetworkAttachmentsScopedList build()
Returns
buildPartial()
public NetworkAttachmentsScopedList buildPartial()
Returns
clear()
public NetworkAttachmentsScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NetworkAttachmentsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNetworkAttachments()
public NetworkAttachmentsScopedList.Builder clearNetworkAttachments()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkAttachmentsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public NetworkAttachmentsScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NetworkAttachmentsScopedList getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getNetworkAttachmentsBuilderList()
public List<NetworkAttachment.Builder> getNetworkAttachmentsBuilderList()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
Returns
getNetworkAttachmentsCount()
public int getNetworkAttachmentsCount()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
Returns
getNetworkAttachmentsList()
public List<NetworkAttachment> getNetworkAttachmentsList()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
Returns
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
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NetworkAttachmentsScopedList other)
public NetworkAttachmentsScopedList.Builder mergeFrom(NetworkAttachmentsScopedList other)
Parameter
Returns
public NetworkAttachmentsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NetworkAttachmentsScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAttachmentsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkAttachmentsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkAttachmentsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAttachmentsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns