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