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

Whether the warning field is set.