public static final class SnapshotList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder> implements SnapshotListOrBuilder
Contains a list of Snapshot resources.Protobuf type
google.cloud.compute.v1.SnapshotList| Modifier and Type | Method and Description |
|---|---|
SnapshotList.Builder |
addAllItems(Iterable<? extends Snapshot> values)
A list of Snapshot resources.
|
SnapshotList.Builder |
addItems(int index,
Snapshot.Builder builderForValue)
A list of Snapshot resources.
|
SnapshotList.Builder |
addItems(int index,
Snapshot value)
A list of Snapshot resources.
|
SnapshotList.Builder |
addItems(Snapshot.Builder builderForValue)
A list of Snapshot resources.
|
SnapshotList.Builder |
addItems(Snapshot value)
A list of Snapshot resources.
|
Snapshot.Builder |
addItemsBuilder()
A list of Snapshot resources.
|
Snapshot.Builder |
addItemsBuilder(int index)
A list of Snapshot resources.
|
SnapshotList.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SnapshotList |
build() |
SnapshotList |
buildPartial() |
SnapshotList.Builder |
clear() |
SnapshotList.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SnapshotList.Builder |
clearId()
[Output Only] Unique identifier for the resource; defined by the server.
|
SnapshotList.Builder |
clearItems()
A list of Snapshot resources.
|
SnapshotList.Builder |
clearKind()
Type of resource.
|
SnapshotList.Builder |
clearNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests.
|
SnapshotList.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SnapshotList.Builder |
clearSelfLink()
[Output Only] Server-defined URL for this resource.
|
SnapshotList.Builder |
clearWarning()
[Output Only] Informational warning message.
|
SnapshotList.Builder |
clone() |
SnapshotList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getId()
[Output Only] Unique identifier for the resource; defined by the server.
|
com.google.protobuf.ByteString |
getIdBytes()
[Output Only] Unique identifier for the resource; defined by the server.
|
Snapshot |
getItems(int index)
A list of Snapshot resources.
|
Snapshot.Builder |
getItemsBuilder(int index)
A list of Snapshot resources.
|
List<Snapshot.Builder> |
getItemsBuilderList()
A list of Snapshot resources.
|
int |
getItemsCount()
A list of Snapshot resources.
|
List<Snapshot> |
getItemsList()
A list of Snapshot resources.
|
SnapshotOrBuilder |
getItemsOrBuilder(int index)
A list of Snapshot resources.
|
List<? extends SnapshotOrBuilder> |
getItemsOrBuilderList()
A list of Snapshot resources.
|
String |
getKind()
Type of resource.
|
com.google.protobuf.ByteString |
getKindBytes()
Type of resource.
|
String |
getNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
[Output Only] This token allows you to get the next page of results for list requests.
|
String |
getSelfLink()
[Output Only] Server-defined URL for this resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
|
Warning |
getWarning()
[Output Only] Informational warning message.
|
Warning.Builder |
getWarningBuilder()
[Output Only] Informational warning message.
|
WarningOrBuilder |
getWarningOrBuilder()
[Output Only] Informational warning message.
|
boolean |
hasId()
[Output Only] Unique identifier for the resource; defined by the server.
|
boolean |
hasKind()
Type of resource.
|
boolean |
hasNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for this resource.
|
boolean |
hasWarning()
[Output Only] Informational warning message.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SnapshotList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SnapshotList.Builder |
mergeFrom(com.google.protobuf.Message other) |
SnapshotList.Builder |
mergeFrom(SnapshotList other) |
SnapshotList.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SnapshotList.Builder |
mergeWarning(Warning value)
[Output Only] Informational warning message.
|
SnapshotList.Builder |
removeItems(int index)
A list of Snapshot resources.
|
SnapshotList.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SnapshotList.Builder |
setId(String value)
[Output Only] Unique identifier for the resource; defined by the server.
|
SnapshotList.Builder |
setIdBytes(com.google.protobuf.ByteString value)
[Output Only] Unique identifier for the resource; defined by the server.
|
SnapshotList.Builder |
setItems(int index,
Snapshot.Builder builderForValue)
A list of Snapshot resources.
|
SnapshotList.Builder |
setItems(int index,
Snapshot value)
A list of Snapshot resources.
|
SnapshotList.Builder |
setKind(String value)
Type of resource.
|
SnapshotList.Builder |
setKindBytes(com.google.protobuf.ByteString value)
Type of resource.
|
SnapshotList.Builder |
setNextPageToken(String value)
[Output Only] This token allows you to get the next page of results for list requests.
|
SnapshotList.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
[Output Only] This token allows you to get the next page of results for list requests.
|
SnapshotList.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SnapshotList.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
|
SnapshotList.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource.
|
SnapshotList.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SnapshotList.Builder |
setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning message.
|
SnapshotList.Builder |
setWarning(Warning value)
[Output Only] Informational warning message.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder>public SnapshotList.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder>public SnapshotList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SnapshotList build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SnapshotList buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SnapshotList.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder>public SnapshotList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder>public SnapshotList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder>public SnapshotList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder>public SnapshotList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder>public SnapshotList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder>public SnapshotList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SnapshotList.Builder>public SnapshotList.Builder mergeFrom(SnapshotList other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder>public SnapshotList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SnapshotList.Builder>IOExceptionpublic boolean hasId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;hasId in interface SnapshotListOrBuilderpublic String getId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;getId in interface SnapshotListOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;getIdBytes in interface SnapshotListOrBuilderpublic SnapshotList.Builder setId(String value)
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;value - The id to set.public SnapshotList.Builder clearId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;public SnapshotList.Builder setIdBytes(com.google.protobuf.ByteString value)
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;value - The bytes for id to set.public List<Snapshot> getItemsList()
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;getItemsList in interface SnapshotListOrBuilderpublic int getItemsCount()
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;getItemsCount in interface SnapshotListOrBuilderpublic Snapshot getItems(int index)
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;getItems in interface SnapshotListOrBuilderpublic SnapshotList.Builder setItems(int index, Snapshot value)
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public SnapshotList.Builder setItems(int index, Snapshot.Builder builderForValue)
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public SnapshotList.Builder addItems(Snapshot value)
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public SnapshotList.Builder addItems(int index, Snapshot value)
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public SnapshotList.Builder addItems(Snapshot.Builder builderForValue)
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public SnapshotList.Builder addItems(int index, Snapshot.Builder builderForValue)
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public SnapshotList.Builder addAllItems(Iterable<? extends Snapshot> values)
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public SnapshotList.Builder clearItems()
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public SnapshotList.Builder removeItems(int index)
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public Snapshot.Builder getItemsBuilder(int index)
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public SnapshotOrBuilder getItemsOrBuilder(int index)
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;getItemsOrBuilder in interface SnapshotListOrBuilderpublic List<? extends SnapshotOrBuilder> getItemsOrBuilderList()
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;getItemsOrBuilderList in interface SnapshotListOrBuilderpublic Snapshot.Builder addItemsBuilder()
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public Snapshot.Builder addItemsBuilder(int index)
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public List<Snapshot.Builder> getItemsBuilderList()
A list of Snapshot resources.
repeated .google.cloud.compute.v1.Snapshot items = 100526016;public boolean hasKind()
Type of resource.
optional string kind = 3292052;hasKind in interface SnapshotListOrBuilderpublic String getKind()
Type of resource.
optional string kind = 3292052;getKind in interface SnapshotListOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
Type of resource.
optional string kind = 3292052;getKindBytes in interface SnapshotListOrBuilderpublic SnapshotList.Builder setKind(String value)
Type of resource.
optional string kind = 3292052;value - The kind to set.public SnapshotList.Builder clearKind()
Type of resource.
optional string kind = 3292052;public SnapshotList.Builder setKindBytes(com.google.protobuf.ByteString value)
Type of resource.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;hasNextPageToken in interface SnapshotListOrBuilderpublic String getNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;getNextPageToken in interface SnapshotListOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;getNextPageTokenBytes in interface SnapshotListOrBuilderpublic SnapshotList.Builder setNextPageToken(String value)
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;value - The nextPageToken to set.public SnapshotList.Builder clearNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;public SnapshotList.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;value - The bytes for nextPageToken to set.public boolean hasSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;hasSelfLink in interface SnapshotListOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;getSelfLink in interface SnapshotListOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;getSelfLinkBytes in interface SnapshotListOrBuilderpublic SnapshotList.Builder setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;value - The selfLink to set.public SnapshotList.Builder clearSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;public SnapshotList.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;hasWarning in interface SnapshotListOrBuilderpublic Warning getWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;getWarning in interface SnapshotListOrBuilderpublic SnapshotList.Builder setWarning(Warning value)
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public SnapshotList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public SnapshotList.Builder mergeWarning(Warning value)
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public SnapshotList.Builder clearWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public Warning.Builder getWarningBuilder()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public WarningOrBuilder getWarningOrBuilder()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;getWarningOrBuilder in interface SnapshotListOrBuilderpublic final SnapshotList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder>public final SnapshotList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotList.Builder>Copyright © 2023 Google LLC. All rights reserved.