Interface InstanceTemplatesScopedListOrBuilder (1.25.0)

public interface InstanceTemplatesScopedListOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstanceTemplates(int index)

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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>

getWarning()

public abstract 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 abstract 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 abstract 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.