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

Whether the warning field is set.