public static final class InstanceList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceList.Builder> implements InstanceListOrBuilder
Contains a list of instances.Protobuf type
google.cloud.compute.v1.InstanceList| Modifier and Type | Method and Description |
|---|---|
InstanceList.Builder |
addAllItems(Iterable<? extends Instance> values)
A list of Instance resources.
|
InstanceList.Builder |
addItems(Instance.Builder builderForValue)
A list of Instance resources.
|
InstanceList.Builder |
addItems(Instance value)
A list of Instance resources.
|
InstanceList.Builder |
addItems(int index,
Instance.Builder builderForValue)
A list of Instance resources.
|
InstanceList.Builder |
addItems(int index,
Instance value)
A list of Instance resources.
|
Instance.Builder |
addItemsBuilder()
A list of Instance resources.
|
Instance.Builder |
addItemsBuilder(int index)
A list of Instance resources.
|
InstanceList.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceList |
build() |
InstanceList |
buildPartial() |
InstanceList.Builder |
clear() |
InstanceList.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InstanceList.Builder |
clearId()
[Output Only] Unique identifier for the resource; defined by the server.
|
InstanceList.Builder |
clearItems()
A list of Instance resources.
|
InstanceList.Builder |
clearKind()
[Output Only] Type of resource.
|
InstanceList.Builder |
clearNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests.
|
InstanceList.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InstanceList.Builder |
clearSelfLink()
[Output Only] Server-defined URL for this resource.
|
InstanceList.Builder |
clearWarning()
[Output Only] Informational warning message.
|
InstanceList.Builder |
clone() |
InstanceList |
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.
|
Instance |
getItems(int index)
A list of Instance resources.
|
Instance.Builder |
getItemsBuilder(int index)
A list of Instance resources.
|
List<Instance.Builder> |
getItemsBuilderList()
A list of Instance resources.
|
int |
getItemsCount()
A list of Instance resources.
|
List<Instance> |
getItemsList()
A list of Instance resources.
|
InstanceOrBuilder |
getItemsOrBuilder(int index)
A list of Instance resources.
|
List<? extends InstanceOrBuilder> |
getItemsOrBuilderList()
A list of Instance resources.
|
String |
getKind()
[Output Only] Type of resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] 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()
[Output Only] 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() |
InstanceList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InstanceList.Builder |
mergeFrom(InstanceList other) |
InstanceList.Builder |
mergeFrom(com.google.protobuf.Message other) |
InstanceList.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InstanceList.Builder |
mergeWarning(Warning value)
[Output Only] Informational warning message.
|
InstanceList.Builder |
removeItems(int index)
A list of Instance resources.
|
InstanceList.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceList.Builder |
setId(String value)
[Output Only] Unique identifier for the resource; defined by the server.
|
InstanceList.Builder |
setIdBytes(com.google.protobuf.ByteString value)
[Output Only] Unique identifier for the resource; defined by the server.
|
InstanceList.Builder |
setItems(int index,
Instance.Builder builderForValue)
A list of Instance resources.
|
InstanceList.Builder |
setItems(int index,
Instance value)
A list of Instance resources.
|
InstanceList.Builder |
setKind(String value)
[Output Only] Type of resource.
|
InstanceList.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource.
|
InstanceList.Builder |
setNextPageToken(String value)
[Output Only] This token allows you to get the next page of results for list requests.
|
InstanceList.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
[Output Only] This token allows you to get the next page of results for list requests.
|
InstanceList.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InstanceList.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
|
InstanceList.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource.
|
InstanceList.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InstanceList.Builder |
setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning message.
|
InstanceList.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<InstanceList.Builder>public InstanceList.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceList.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<InstanceList.Builder>public InstanceList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InstanceList build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InstanceList buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InstanceList.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceList.Builder>public InstanceList.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<InstanceList.Builder>public InstanceList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceList.Builder>public InstanceList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceList.Builder>public InstanceList.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<InstanceList.Builder>public InstanceList.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<InstanceList.Builder>public InstanceList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceList.Builder>public InstanceList.Builder mergeFrom(InstanceList other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceList.Builder>public InstanceList.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<InstanceList.Builder>IOExceptionpublic boolean hasId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;hasId in interface InstanceListOrBuilderpublic String getId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;getId in interface InstanceListOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;getIdBytes in interface InstanceListOrBuilderpublic InstanceList.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 InstanceList.Builder clearId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;public InstanceList.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<Instance> getItemsList()
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;getItemsList in interface InstanceListOrBuilderpublic int getItemsCount()
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;getItemsCount in interface InstanceListOrBuilderpublic Instance getItems(int index)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;getItems in interface InstanceListOrBuilderpublic InstanceList.Builder setItems(int index, Instance value)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public InstanceList.Builder setItems(int index, Instance.Builder builderForValue)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public InstanceList.Builder addItems(Instance value)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public InstanceList.Builder addItems(int index, Instance value)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public InstanceList.Builder addItems(Instance.Builder builderForValue)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public InstanceList.Builder addItems(int index, Instance.Builder builderForValue)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public InstanceList.Builder addAllItems(Iterable<? extends Instance> values)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public InstanceList.Builder clearItems()
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public InstanceList.Builder removeItems(int index)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public Instance.Builder getItemsBuilder(int index)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public InstanceOrBuilder getItemsOrBuilder(int index)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;getItemsOrBuilder in interface InstanceListOrBuilderpublic List<? extends InstanceOrBuilder> getItemsOrBuilderList()
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;getItemsOrBuilderList in interface InstanceListOrBuilderpublic Instance.Builder addItemsBuilder()
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public Instance.Builder addItemsBuilder(int index)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public List<Instance.Builder> getItemsBuilderList()
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;public boolean hasKind()
[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.
optional string kind = 3292052;hasKind in interface InstanceListOrBuilderpublic String getKind()
[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.
optional string kind = 3292052;getKind in interface InstanceListOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.
optional string kind = 3292052;getKindBytes in interface InstanceListOrBuilderpublic InstanceList.Builder setKind(String value)
[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.
optional string kind = 3292052;value - The kind to set.public InstanceList.Builder clearKind()
[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.
optional string kind = 3292052;public InstanceList.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.
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 InstanceListOrBuilderpublic 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 InstanceListOrBuilderpublic 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 InstanceListOrBuilderpublic InstanceList.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 InstanceList.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 InstanceList.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 InstanceListOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;getSelfLink in interface InstanceListOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;getSelfLinkBytes in interface InstanceListOrBuilderpublic InstanceList.Builder setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;value - The selfLink to set.public InstanceList.Builder clearSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;public InstanceList.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 InstanceListOrBuilderpublic Warning getWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;getWarning in interface InstanceListOrBuilderpublic InstanceList.Builder setWarning(Warning value)
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public InstanceList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public InstanceList.Builder mergeWarning(Warning value)
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;public InstanceList.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 InstanceListOrBuilderpublic final InstanceList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceList.Builder>public final InstanceList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceList.Builder>Copyright © 2023 Google LLC. All rights reserved.