Package com.google.cloud.compute.v1
Class InstanceTemplateList
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.InstanceTemplateList
-
- All Implemented Interfaces:
InstanceTemplateListOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class InstanceTemplateList extends com.google.protobuf.GeneratedMessageV3 implements InstanceTemplateListOrBuilder
A list of instance templates.
Protobuf typegoogle.cloud.compute.v1.InstanceTemplateList
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstanceTemplateList.Builder
A list of instance templates.-
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 int
ID_FIELD_NUMBER
static int
ITEMS_FIELD_NUMBER
static int
KIND_FIELD_NUMBER
static int
NEXT_PAGE_TOKEN_FIELD_NUMBER
static int
SELF_LINK_FIELD_NUMBER
static int
WARNING_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static InstanceTemplateList
getDefaultInstance()
InstanceTemplateList
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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.InstanceTemplate
getItems(int index)
A list of InstanceTemplate resources.int
getItemsCount()
A list of InstanceTemplate resources.List<InstanceTemplate>
getItemsList()
A list of InstanceTemplate resources.InstanceTemplateOrBuilder
getItemsOrBuilder(int index)
A list of InstanceTemplate resources.List<? extends InstanceTemplateOrBuilder>
getItemsOrBuilderList()
A list of InstanceTemplate resources.String
getKind()
[Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists.com.google.protobuf.ByteString
getKindBytes()
[Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists.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.com.google.protobuf.Parser<InstanceTemplateList>
getParserForType()
String
getSelfLink()
[Output Only] Server-defined URL for this resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.int
getSerializedSize()
Warning
getWarning()
[Output Only] Informational warning message.WarningOrBuilder
getWarningOrBuilder()
[Output Only] Informational warning message.int
hashCode()
boolean
hasId()
[Output Only] Unique identifier for the resource; defined by the server.boolean
hasKind()
[Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists.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()
static InstanceTemplateList.Builder
newBuilder()
static InstanceTemplateList.Builder
newBuilder(InstanceTemplateList prototype)
InstanceTemplateList.Builder
newBuilderForType()
protected InstanceTemplateList.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static InstanceTemplateList
parseDelimitedFrom(InputStream input)
static InstanceTemplateList
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InstanceTemplateList
parseFrom(byte[] data)
static InstanceTemplateList
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InstanceTemplateList
parseFrom(com.google.protobuf.ByteString data)
static InstanceTemplateList
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InstanceTemplateList
parseFrom(com.google.protobuf.CodedInputStream input)
static InstanceTemplateList
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InstanceTemplateList
parseFrom(InputStream input)
static InstanceTemplateList
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static InstanceTemplateList
parseFrom(ByteBuffer data)
static InstanceTemplateList
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<InstanceTemplateList>
parser()
InstanceTemplateList.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
hasId
in interfaceInstanceTemplateListOrBuilder
- 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:
getId
in interfaceInstanceTemplateListOrBuilder
- 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:
getIdBytes
in interfaceInstanceTemplateListOrBuilder
- Returns:
- The bytes for id.
-
getItemsList
public List<InstanceTemplate> getItemsList()
A list of InstanceTemplate resources.
repeated .google.cloud.compute.v1.InstanceTemplate items = 100526016;
- Specified by:
getItemsList
in interfaceInstanceTemplateListOrBuilder
-
getItemsOrBuilderList
public List<? extends InstanceTemplateOrBuilder> getItemsOrBuilderList()
A list of InstanceTemplate resources.
repeated .google.cloud.compute.v1.InstanceTemplate items = 100526016;
- Specified by:
getItemsOrBuilderList
in interfaceInstanceTemplateListOrBuilder
-
getItemsCount
public int getItemsCount()
A list of InstanceTemplate resources.
repeated .google.cloud.compute.v1.InstanceTemplate items = 100526016;
- Specified by:
getItemsCount
in interfaceInstanceTemplateListOrBuilder
-
getItems
public InstanceTemplate getItems(int index)
A list of InstanceTemplate resources.
repeated .google.cloud.compute.v1.InstanceTemplate items = 100526016;
- Specified by:
getItems
in interfaceInstanceTemplateListOrBuilder
-
getItemsOrBuilder
public InstanceTemplateOrBuilder getItemsOrBuilder(int index)
A list of InstanceTemplate resources.
repeated .google.cloud.compute.v1.InstanceTemplate items = 100526016;
- Specified by:
getItemsOrBuilder
in interfaceInstanceTemplateListOrBuilder
-
hasKind
public boolean hasKind()
[Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists.
optional string kind = 3292052;
- Specified by:
hasKind
in interfaceInstanceTemplateListOrBuilder
- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists.
optional string kind = 3292052;
- Specified by:
getKind
in interfaceInstanceTemplateListOrBuilder
- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists.
optional string kind = 3292052;
- Specified by:
getKindBytes
in interfaceInstanceTemplateListOrBuilder
- 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:
hasNextPageToken
in interfaceInstanceTemplateListOrBuilder
- 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:
getNextPageToken
in interfaceInstanceTemplateListOrBuilder
- 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:
getNextPageTokenBytes
in interfaceInstanceTemplateListOrBuilder
- Returns:
- The bytes for nextPageToken.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
- Specified by:
hasSelfLink
in interfaceInstanceTemplateListOrBuilder
- 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:
getSelfLink
in interfaceInstanceTemplateListOrBuilder
- 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:
getSelfLinkBytes
in interfaceInstanceTemplateListOrBuilder
- Returns:
- The bytes for selfLink.
-
hasWarning
public boolean hasWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
- Specified by:
hasWarning
in interfaceInstanceTemplateListOrBuilder
- 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:
getWarning
in interfaceInstanceTemplateListOrBuilder
- Returns:
- The warning.
-
getWarningOrBuilder
public WarningOrBuilder getWarningOrBuilder()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
- Specified by:
getWarningOrBuilder
in interfaceInstanceTemplateListOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InstanceTemplateList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceTemplateList parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceTemplateList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceTemplateList parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceTemplateList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceTemplateList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceTemplateList parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static InstanceTemplateList parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static InstanceTemplateList parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static InstanceTemplateList parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static InstanceTemplateList parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static InstanceTemplateList parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public InstanceTemplateList.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static InstanceTemplateList.Builder newBuilder()
-
newBuilder
public static InstanceTemplateList.Builder newBuilder(InstanceTemplateList prototype)
-
toBuilder
public InstanceTemplateList.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InstanceTemplateList.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static InstanceTemplateList getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<InstanceTemplateList> parser()
-
getParserForType
public com.google.protobuf.Parser<InstanceTemplateList> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public InstanceTemplateList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-