Class InstanceTemplatesScopedList (1.27.0)

public final class InstanceTemplatesScopedList extends GeneratedMessageV3 implements InstanceTemplatesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.InstanceTemplatesScopedList

Static Fields

INSTANCE_TEMPLATES_FIELD_NUMBER

public static final int INSTANCE_TEMPLATES_FIELD_NUMBER
Field Value
TypeDescription
int

WARNING_FIELD_NUMBER

public static final int WARNING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InstanceTemplatesScopedList getDefaultInstance()
Returns
TypeDescription
InstanceTemplatesScopedList

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InstanceTemplatesScopedList.Builder newBuilder()
Returns
TypeDescription
InstanceTemplatesScopedList.Builder

newBuilder(InstanceTemplatesScopedList prototype)

public static InstanceTemplatesScopedList.Builder newBuilder(InstanceTemplatesScopedList prototype)
Parameter
NameDescription
prototypeInstanceTemplatesScopedList
Returns
TypeDescription
InstanceTemplatesScopedList.Builder

parseDelimitedFrom(InputStream input)

public static InstanceTemplatesScopedList parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstanceTemplatesScopedList
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceTemplatesScopedList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceTemplatesScopedList
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InstanceTemplatesScopedList parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InstanceTemplatesScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstanceTemplatesScopedList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceTemplatesScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstanceTemplatesScopedList parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InstanceTemplatesScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstanceTemplatesScopedList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceTemplatesScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstanceTemplatesScopedList parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InstanceTemplatesScopedList
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceTemplatesScopedList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceTemplatesScopedList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InstanceTemplatesScopedList parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstanceTemplatesScopedList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceTemplatesScopedList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceTemplatesScopedList
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InstanceTemplatesScopedList parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InstanceTemplatesScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstanceTemplatesScopedList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceTemplatesScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InstanceTemplatesScopedList> parser()
Returns
TypeDescription
Parser<InstanceTemplatesScopedList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public InstanceTemplatesScopedList getDefaultInstanceForType()
Returns
TypeDescription
InstanceTemplatesScopedList

getInstanceTemplates(int index)

public InstanceTemplate getInstanceTemplates(int index)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceTemplate

getInstanceTemplatesCount()

public int getInstanceTemplatesCount()

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Returns
TypeDescription
int

getInstanceTemplatesList()

public List<InstanceTemplate> getInstanceTemplatesList()

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Returns
TypeDescription
List<InstanceTemplate>

getInstanceTemplatesOrBuilder(int index)

public InstanceTemplateOrBuilder getInstanceTemplatesOrBuilder(int index)

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceTemplateOrBuilder

getInstanceTemplatesOrBuilderList()

public List<? extends InstanceTemplateOrBuilder> getInstanceTemplatesOrBuilderList()

[Output Only] A list of instance templates that are contained within the specified project and zone.

repeated .google.cloud.compute.v1.InstanceTemplate instance_templates = 459889679;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.InstanceTemplateOrBuilder>

getParserForType()

public Parser<InstanceTemplatesScopedList> getParserForType()
Returns
TypeDescription
Parser<InstanceTemplatesScopedList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getWarning()

public Warning getWarning()

[Output Only] An informational warning that replaces the list of instance templates when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
Warning

The warning.

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

[Output Only] An informational warning that replaces the list of instance templates when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
WarningOrBuilder

hasWarning()

public boolean hasWarning()

[Output Only] An informational warning that replaces the list of instance templates when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
boolean

Whether the warning field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InstanceTemplatesScopedList.Builder newBuilderForType()
Returns
TypeDescription
InstanceTemplatesScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstanceTemplatesScopedList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InstanceTemplatesScopedList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InstanceTemplatesScopedList.Builder toBuilder()
Returns
TypeDescription
InstanceTemplatesScopedList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException