Package com.google.cloud.compute.v1
Class InstanceList
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.InstanceList
-
- All Implemented Interfaces:
InstanceListOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class InstanceList extends com.google.protobuf.GeneratedMessageV3 implements InstanceListOrBuilder
Contains a list of instances.
Protobuf typegoogle.cloud.compute.v1.InstanceList- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstanceList.BuilderContains a list of instances.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intID_FIELD_NUMBERstatic intITEMS_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intNEXT_PAGE_TOKEN_FIELD_NUMBERstatic intSELF_LINK_FIELD_NUMBERstatic intWARNING_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static InstanceListgetDefaultInstance()InstanceListgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetId()[Output Only] Unique identifier for the resource; defined by the server.com.google.protobuf.ByteStringgetIdBytes()[Output Only] Unique identifier for the resource; defined by the server.InstancegetItems(int index)A list of Instance resources.intgetItemsCount()A list of Instance resources.List<Instance>getItemsList()A list of Instance resources.InstanceOrBuildergetItemsOrBuilder(int index)A list of Instance resources.List<? extends InstanceOrBuilder>getItemsOrBuilderList()A list of Instance resources.StringgetKind()[Output Only] Type of resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of resource.StringgetNextPageToken()[Output Only] This token allows you to get the next page of results for list requests.com.google.protobuf.ByteStringgetNextPageTokenBytes()[Output Only] This token allows you to get the next page of results for list requests.com.google.protobuf.Parser<InstanceList>getParserForType()StringgetSelfLink()[Output Only] Server-defined URL for this resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for this resource.intgetSerializedSize()WarninggetWarning()[Output Only] Informational warning message.WarningOrBuildergetWarningOrBuilder()[Output Only] Informational warning message.inthashCode()booleanhasId()[Output Only] Unique identifier for the resource; defined by the server.booleanhasKind()[Output Only] Type of resource.booleanhasNextPageToken()[Output Only] This token allows you to get the next page of results for list requests.booleanhasSelfLink()[Output Only] Server-defined URL for this resource.booleanhasWarning()[Output Only] Informational warning message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static InstanceList.BuildernewBuilder()static InstanceList.BuildernewBuilder(InstanceList prototype)InstanceList.BuildernewBuilderForType()protected InstanceList.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static InstanceListparseDelimitedFrom(InputStream input)static InstanceListparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceListparseFrom(byte[] data)static InstanceListparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceListparseFrom(com.google.protobuf.ByteString data)static InstanceListparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceListparseFrom(com.google.protobuf.CodedInputStream input)static InstanceListparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceListparseFrom(InputStream input)static InstanceListparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceListparseFrom(ByteBuffer data)static InstanceListparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<InstanceList>parser()InstanceList.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WARNING_FIELD_NUMBER
public static final int WARNING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasId
public boolean hasId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Specified by:
hasIdin interfaceInstanceListOrBuilder- Returns:
- Whether the id field is set.
-
getId
public String getId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Specified by:
getIdin interfaceInstanceListOrBuilder- 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 interfaceInstanceListOrBuilder- Returns:
- The bytes for id.
-
getItemsList
public List<Instance> getItemsList()
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;- Specified by:
getItemsListin interfaceInstanceListOrBuilder
-
getItemsOrBuilderList
public List<? extends InstanceOrBuilder> getItemsOrBuilderList()
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;- Specified by:
getItemsOrBuilderListin interfaceInstanceListOrBuilder
-
getItemsCount
public int getItemsCount()
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;- Specified by:
getItemsCountin interfaceInstanceListOrBuilder
-
getItems
public Instance getItems(int index)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;- Specified by:
getItemsin interfaceInstanceListOrBuilder
-
getItemsOrBuilder
public InstanceOrBuilder getItemsOrBuilder(int index)
A list of Instance resources.
repeated .google.cloud.compute.v1.Instance items = 100526016;- Specified by:
getItemsOrBuilderin interfaceInstanceListOrBuilder
-
hasKind
public boolean hasKind()
[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.
optional string kind = 3292052;- Specified by:
hasKindin interfaceInstanceListOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.
optional string kind = 3292052;- Specified by:
getKindin interfaceInstanceListOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceInstanceListOrBuilder- 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 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;- Specified by:
hasNextPageTokenin interfaceInstanceListOrBuilder- Returns:
- Whether the nextPageToken field is set.
-
getNextPageToken
public 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;- Specified by:
getNextPageTokenin interfaceInstanceListOrBuilder- 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 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;- Specified by:
getNextPageTokenBytesin interfaceInstanceListOrBuilder- Returns:
- The bytes for nextPageToken.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceInstanceListOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceInstanceListOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceInstanceListOrBuilder- 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 interfaceInstanceListOrBuilder- Returns:
- Whether the warning field is set.
-
getWarning
public Warning getWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
getWarningin interfaceInstanceListOrBuilder- Returns:
- The warning.
-
getWarningOrBuilder
public WarningOrBuilder getWarningOrBuilder()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
getWarningOrBuilderin interfaceInstanceListOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 InstanceList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceList parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceList parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceList parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static InstanceList parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static InstanceList parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static InstanceList parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static InstanceList parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static InstanceList parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public InstanceList.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static InstanceList.Builder newBuilder()
-
newBuilder
public static InstanceList.Builder newBuilder(InstanceList prototype)
-
toBuilder
public InstanceList.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InstanceList.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static InstanceList getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<InstanceList> parser()
-
getParserForType
public com.google.protobuf.Parser<InstanceList> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public InstanceList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-