Interface InstanceTemplatesScopedListOrBuilder (1.65.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the warning field is set.