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