Package com.google.cloud.compute.v1
Class NetworkAttachmentsScopedList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
- com.google.cloud.compute.v1.NetworkAttachmentsScopedList.Builder
-
- All Implemented Interfaces:
NetworkAttachmentsScopedListOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- NetworkAttachmentsScopedList
public static final class NetworkAttachmentsScopedList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder> implements NetworkAttachmentsScopedListOrBuilder
google.cloud.compute.v1.NetworkAttachmentsScopedList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkAttachmentsScopedList.Builder
addAllNetworkAttachments(Iterable<? extends NetworkAttachment> values)
A list of NetworkAttachments contained in this scope.NetworkAttachmentsScopedList.Builder
addNetworkAttachments(int index, NetworkAttachment value)
A list of NetworkAttachments contained in this scope.NetworkAttachmentsScopedList.Builder
addNetworkAttachments(int index, NetworkAttachment.Builder builderForValue)
A list of NetworkAttachments contained in this scope.NetworkAttachmentsScopedList.Builder
addNetworkAttachments(NetworkAttachment value)
A list of NetworkAttachments contained in this scope.NetworkAttachmentsScopedList.Builder
addNetworkAttachments(NetworkAttachment.Builder builderForValue)
A list of NetworkAttachments contained in this scope.NetworkAttachment.Builder
addNetworkAttachmentsBuilder()
A list of NetworkAttachments contained in this scope.NetworkAttachment.Builder
addNetworkAttachmentsBuilder(int index)
A list of NetworkAttachments contained in this scope.NetworkAttachmentsScopedList.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NetworkAttachmentsScopedList
build()
NetworkAttachmentsScopedList
buildPartial()
NetworkAttachmentsScopedList.Builder
clear()
NetworkAttachmentsScopedList.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NetworkAttachmentsScopedList.Builder
clearNetworkAttachments()
A list of NetworkAttachments contained in this scope.NetworkAttachmentsScopedList.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NetworkAttachmentsScopedList.Builder
clearWarning()
Informational warning which replaces the list of network attachments when the list is empty.NetworkAttachmentsScopedList.Builder
clone()
NetworkAttachmentsScopedList
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
NetworkAttachment
getNetworkAttachments(int index)
A list of NetworkAttachments contained in this scope.NetworkAttachment.Builder
getNetworkAttachmentsBuilder(int index)
A list of NetworkAttachments contained in this scope.List<NetworkAttachment.Builder>
getNetworkAttachmentsBuilderList()
A list of NetworkAttachments contained in this scope.int
getNetworkAttachmentsCount()
A list of NetworkAttachments contained in this scope.List<NetworkAttachment>
getNetworkAttachmentsList()
A list of NetworkAttachments contained in this scope.NetworkAttachmentOrBuilder
getNetworkAttachmentsOrBuilder(int index)
A list of NetworkAttachments contained in this scope.List<? extends NetworkAttachmentOrBuilder>
getNetworkAttachmentsOrBuilderList()
A list of NetworkAttachments contained in this scope.Warning
getWarning()
Informational warning which replaces the list of network attachments when the list is empty.Warning.Builder
getWarningBuilder()
Informational warning which replaces the list of network attachments when the list is empty.WarningOrBuilder
getWarningOrBuilder()
Informational warning which replaces the list of network attachments when the list is empty.boolean
hasWarning()
Informational warning which replaces the list of network attachments when the list is empty.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NetworkAttachmentsScopedList.Builder
mergeFrom(NetworkAttachmentsScopedList other)
NetworkAttachmentsScopedList.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NetworkAttachmentsScopedList.Builder
mergeFrom(com.google.protobuf.Message other)
NetworkAttachmentsScopedList.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NetworkAttachmentsScopedList.Builder
mergeWarning(Warning value)
Informational warning which replaces the list of network attachments when the list is empty.NetworkAttachmentsScopedList.Builder
removeNetworkAttachments(int index)
A list of NetworkAttachments contained in this scope.NetworkAttachmentsScopedList.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NetworkAttachmentsScopedList.Builder
setNetworkAttachments(int index, NetworkAttachment value)
A list of NetworkAttachments contained in this scope.NetworkAttachmentsScopedList.Builder
setNetworkAttachments(int index, NetworkAttachment.Builder builderForValue)
A list of NetworkAttachments contained in this scope.NetworkAttachmentsScopedList.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NetworkAttachmentsScopedList.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NetworkAttachmentsScopedList.Builder
setWarning(Warning value)
Informational warning which replaces the list of network attachments when the list is empty.NetworkAttachmentsScopedList.Builder
setWarning(Warning.Builder builderForValue)
Informational warning which replaces the list of network attachments when the list is empty.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
clear
public NetworkAttachmentsScopedList.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
getDefaultInstanceForType
public NetworkAttachmentsScopedList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NetworkAttachmentsScopedList build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NetworkAttachmentsScopedList buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NetworkAttachmentsScopedList.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
setField
public NetworkAttachmentsScopedList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
clearField
public NetworkAttachmentsScopedList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
clearOneof
public NetworkAttachmentsScopedList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
setRepeatedField
public NetworkAttachmentsScopedList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
addRepeatedField
public NetworkAttachmentsScopedList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
mergeFrom
public NetworkAttachmentsScopedList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NetworkAttachmentsScopedList.Builder>
-
mergeFrom
public NetworkAttachmentsScopedList.Builder mergeFrom(NetworkAttachmentsScopedList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
mergeFrom
public NetworkAttachmentsScopedList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NetworkAttachmentsScopedList.Builder>
- Throws:
IOException
-
getNetworkAttachmentsList
public List<NetworkAttachment> getNetworkAttachmentsList()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
- Specified by:
getNetworkAttachmentsList
in interfaceNetworkAttachmentsScopedListOrBuilder
-
getNetworkAttachmentsCount
public int getNetworkAttachmentsCount()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
- Specified by:
getNetworkAttachmentsCount
in interfaceNetworkAttachmentsScopedListOrBuilder
-
getNetworkAttachments
public NetworkAttachment getNetworkAttachments(int index)
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
- Specified by:
getNetworkAttachments
in interfaceNetworkAttachmentsScopedListOrBuilder
-
setNetworkAttachments
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
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;
-
addNetworkAttachments
public NetworkAttachmentsScopedList.Builder addNetworkAttachments(NetworkAttachment value)
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
-
addNetworkAttachments
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
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
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;
-
addAllNetworkAttachments
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;
-
clearNetworkAttachments
public NetworkAttachmentsScopedList.Builder clearNetworkAttachments()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
-
removeNetworkAttachments
public NetworkAttachmentsScopedList.Builder removeNetworkAttachments(int index)
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
-
getNetworkAttachmentsBuilder
public NetworkAttachment.Builder getNetworkAttachmentsBuilder(int index)
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
-
getNetworkAttachmentsOrBuilder
public NetworkAttachmentOrBuilder getNetworkAttachmentsOrBuilder(int index)
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
- Specified by:
getNetworkAttachmentsOrBuilder
in interfaceNetworkAttachmentsScopedListOrBuilder
-
getNetworkAttachmentsOrBuilderList
public List<? extends NetworkAttachmentOrBuilder> getNetworkAttachmentsOrBuilderList()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
- Specified by:
getNetworkAttachmentsOrBuilderList
in interfaceNetworkAttachmentsScopedListOrBuilder
-
addNetworkAttachmentsBuilder
public NetworkAttachment.Builder addNetworkAttachmentsBuilder()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
-
addNetworkAttachmentsBuilder
public NetworkAttachment.Builder addNetworkAttachmentsBuilder(int index)
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
-
getNetworkAttachmentsBuilderList
public List<NetworkAttachment.Builder> getNetworkAttachmentsBuilderList()
A list of NetworkAttachments contained in this scope.
repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;
-
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;
- Specified by:
hasWarning
in interfaceNetworkAttachmentsScopedListOrBuilder
- Returns:
- Whether the warning field is set.
-
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;
- Specified by:
getWarning
in interfaceNetworkAttachmentsScopedListOrBuilder
- Returns:
- The warning.
-
setWarning
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;
-
setWarning
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;
-
mergeWarning
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;
-
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;
-
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;
- Specified by:
getWarningOrBuilder
in interfaceNetworkAttachmentsScopedListOrBuilder
-
setUnknownFields
public final NetworkAttachmentsScopedList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
mergeUnknownFields
public final NetworkAttachmentsScopedList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentsScopedList.Builder>
-
-