Interface InstancesScopedListOrBuilder (1.21.0)

public interface InstancesScopedListOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstances(int index)

public abstract Instance getInstances(int index)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameter
NameDescription
indexint
Returns
TypeDescription
Instance

getInstancesCount()

public abstract int getInstancesCount()

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Returns
TypeDescription
int

getInstancesList()

public abstract List<Instance> getInstancesList()

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Returns
TypeDescription
List<Instance>

getInstancesOrBuilder(int index)

public abstract InstanceOrBuilder getInstancesOrBuilder(int index)

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceOrBuilder

getInstancesOrBuilderList()

public abstract List<? extends InstanceOrBuilder> getInstancesOrBuilderList()

[Output Only] A list of instances contained in this scope.

repeated .google.cloud.compute.v1.Instance instances = 29097598;

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

getWarning()

public abstract Warning getWarning()

[Output Only] Informational warning which replaces the list of instances 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] Informational warning which replaces the list of instances when the list is empty.

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

Returns
TypeDescription
WarningOrBuilder

hasWarning()

public abstract boolean hasWarning()

[Output Only] Informational warning which replaces the list of instances when the list is empty.

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

Returns
TypeDescription
boolean

Whether the warning field is set.