Interface CommitmentsScopedListOrBuilder (1.51.0)

public interface CommitmentsScopedListOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitments(int index)

public abstract Commitment getCommitments(int index)

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

repeated .google.cloud.compute.v1.Commitment commitments = 450664446;

Parameter
NameDescription
indexint
Returns
TypeDescription
Commitment

getCommitmentsCount()

public abstract int getCommitmentsCount()

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

repeated .google.cloud.compute.v1.Commitment commitments = 450664446;

Returns
TypeDescription
int

getCommitmentsList()

public abstract List<Commitment> getCommitmentsList()

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

repeated .google.cloud.compute.v1.Commitment commitments = 450664446;

Returns
TypeDescription
List<Commitment>

getCommitmentsOrBuilder(int index)

public abstract CommitmentOrBuilder getCommitmentsOrBuilder(int index)

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

repeated .google.cloud.compute.v1.Commitment commitments = 450664446;

Parameter
NameDescription
indexint
Returns
TypeDescription
CommitmentOrBuilder

getCommitmentsOrBuilderList()

public abstract List<? extends CommitmentOrBuilder> getCommitmentsOrBuilderList()

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

repeated .google.cloud.compute.v1.Commitment commitments = 450664446;

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

getWarning()

public abstract Warning getWarning()

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

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

Returns
TypeDescription
boolean

Whether the warning field is set.