Package com.google.cloud.compute.v1
Class MachineTypeList
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.MachineTypeList
- All Implemented Interfaces:
MachineTypeListOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class MachineTypeList
extends com.google.protobuf.GeneratedMessage
implements MachineTypeListOrBuilder
Contains a list of machine types.Protobuf type
google.cloud.compute.v1.MachineTypeList- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains a list of machine types.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic MachineTypeListstatic final com.google.protobuf.Descriptors.DescriptorgetId()[Output Only] Unique identifier for the resource; defined by the server.com.google.protobuf.ByteString[Output Only] Unique identifier for the resource; defined by the server.getItems(int index) A list of MachineType resources.intA list of MachineType resources.A list of MachineType resources.getItemsOrBuilder(int index) A list of MachineType resources.List<? extends MachineTypeOrBuilder>A list of MachineType resources.getKind()Output only.com.google.protobuf.ByteStringOutput only.[Output Only] This token allows you to get the next page of results for list requests.com.google.protobuf.ByteString[Output Only] This token allows you to get the next page of results for list requests.com.google.protobuf.Parser<MachineTypeList>Output only.com.google.protobuf.ByteStringOutput only.int[Output Only] Informational warning message.[Output Only] Informational warning message.inthashCode()booleanhasId()[Output Only] Unique identifier for the resource; defined by the server.booleanhasKind()Output only.boolean[Output Only] This token allows you to get the next page of results for list requests.booleanOutput only.boolean[Output Only] Informational warning message.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic MachineTypeList.Builderstatic MachineTypeList.BuildernewBuilder(MachineTypeList prototype) protected MachineTypeList.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static MachineTypeListparseDelimitedFrom(InputStream input) static MachineTypeListparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MachineTypeListparseFrom(byte[] data) static MachineTypeListparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MachineTypeListparseFrom(com.google.protobuf.ByteString data) static MachineTypeListparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MachineTypeListparseFrom(com.google.protobuf.CodedInputStream input) static MachineTypeListparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MachineTypeListparseFrom(InputStream input) static MachineTypeListparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MachineTypeListparseFrom(ByteBuffer data) static MachineTypeListparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MachineTypeList>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER- See Also:
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER- See Also:
-
WARNING_FIELD_NUMBER
public static final int WARNING_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasId
public boolean hasId()[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Specified by:
hasIdin interfaceMachineTypeListOrBuilder- Returns:
- Whether the id field is set.
-
getId
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Specified by:
getIdin interfaceMachineTypeListOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Specified by:
getIdBytesin interfaceMachineTypeListOrBuilder- Returns:
- The bytes for id.
-
getItemsList
A list of MachineType resources.
repeated .google.cloud.compute.v1.MachineType items = 100526016;- Specified by:
getItemsListin interfaceMachineTypeListOrBuilder
-
getItemsOrBuilderList
A list of MachineType resources.
repeated .google.cloud.compute.v1.MachineType items = 100526016;- Specified by:
getItemsOrBuilderListin interfaceMachineTypeListOrBuilder
-
getItemsCount
public int getItemsCount()A list of MachineType resources.
repeated .google.cloud.compute.v1.MachineType items = 100526016;- Specified by:
getItemsCountin interfaceMachineTypeListOrBuilder
-
getItems
A list of MachineType resources.
repeated .google.cloud.compute.v1.MachineType items = 100526016;- Specified by:
getItemsin interfaceMachineTypeListOrBuilder
-
getItemsOrBuilder
A list of MachineType resources.
repeated .google.cloud.compute.v1.MachineType items = 100526016;- Specified by:
getItemsOrBuilderin interfaceMachineTypeListOrBuilder
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types.
optional string kind = 3292052;- Specified by:
hasKindin interfaceMachineTypeListOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types.
optional string kind = 3292052;- Specified by:
getKindin interfaceMachineTypeListOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceMachineTypeListOrBuilder- Returns:
- The bytes for kind.
-
hasNextPageToken
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 thanmaxResults, 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;- Specified by:
hasNextPageTokenin interfaceMachineTypeListOrBuilder- Returns:
- Whether the nextPageToken field is set.
-
getNextPageToken
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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;- Specified by:
getNextPageTokenin interfaceMachineTypeListOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public 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 thanmaxResults, 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;- Specified by:
getNextPageTokenBytesin interfaceMachineTypeListOrBuilder- Returns:
- The bytes for nextPageToken.
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceMachineTypeListOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceMachineTypeListOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceMachineTypeListOrBuilder- Returns:
- The bytes for selfLink.
-
hasWarning
public boolean hasWarning()[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
hasWarningin interfaceMachineTypeListOrBuilder- Returns:
- Whether the warning field is set.
-
getWarning
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
getWarningin interfaceMachineTypeListOrBuilder- Returns:
- The warning.
-
getWarningOrBuilder
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
getWarningOrBuilderin interfaceMachineTypeListOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MachineTypeList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineTypeList parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineTypeList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineTypeList parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineTypeList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineTypeList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MachineTypeList parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MachineTypeList parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static MachineTypeList parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static MachineTypeList parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MachineTypeList.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-