Interface CommitmentListOrBuilder (1.40.0)

public interface CommitmentListOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId()

public abstract String getId()

[Output Only] Unique identifier for the resource; defined by the server.

optional string id = 3355;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

[Output Only] Unique identifier for the resource; defined by the server.

optional string id = 3355;

Returns
TypeDescription
ByteString

The bytes for id.

getItems(int index)

public abstract Commitment getItems(int index)

A list of Commitment resources.

repeated .google.cloud.compute.v1.Commitment items = 100526016;

Parameter
NameDescription
indexint
Returns
TypeDescription
Commitment

getItemsCount()

public abstract int getItemsCount()

A list of Commitment resources.

repeated .google.cloud.compute.v1.Commitment items = 100526016;

Returns
TypeDescription
int

getItemsList()

public abstract List<Commitment> getItemsList()

A list of Commitment resources.

repeated .google.cloud.compute.v1.Commitment items = 100526016;

Returns
TypeDescription
List<Commitment>

getItemsOrBuilder(int index)

public abstract CommitmentOrBuilder getItemsOrBuilder(int index)

A list of Commitment resources.

repeated .google.cloud.compute.v1.Commitment items = 100526016;

Parameter
NameDescription
indexint
Returns
TypeDescription
CommitmentOrBuilder

getItemsOrBuilderList()

public abstract List<? extends CommitmentOrBuilder> getItemsOrBuilderList()

A list of Commitment resources.

repeated .google.cloud.compute.v1.Commitment items = 100526016;

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

getKind()

public abstract String getKind()

[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getNextPageToken()

public abstract String getNextPageToken()

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

optional string next_page_token = 79797525;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

optional string next_page_token = 79797525;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

public abstract String getSelfLink()

[Output Only] Server-defined URL for this resource.

optional string self_link = 456214797;

Returns
TypeDescription
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for this resource.

optional string self_link = 456214797;

Returns
TypeDescription
ByteString

The bytes for selfLink.

getWarning()

public abstract Warning getWarning()

[Output Only] Informational warning message.

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

Returns
TypeDescription
Warning

The warning.

getWarningOrBuilder()

public abstract WarningOrBuilder getWarningOrBuilder()

[Output Only] Informational warning message.

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

Returns
TypeDescription
WarningOrBuilder

hasId()

public abstract boolean hasId()

[Output Only] Unique identifier for the resource; defined by the server.

optional string id = 3355;

Returns
TypeDescription
boolean

Whether the id field is set.

hasKind()

public abstract boolean hasKind()

[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasNextPageToken()

public abstract boolean hasNextPageToken()

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

optional string next_page_token = 79797525;

Returns
TypeDescription
boolean

Whether the nextPageToken field is set.

public abstract boolean hasSelfLink()

[Output Only] Server-defined URL for this resource.

optional string self_link = 456214797;

Returns
TypeDescription
boolean

Whether the selfLink field is set.

hasWarning()

public abstract boolean hasWarning()

[Output Only] Informational warning message.

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

Returns
TypeDescription
boolean

Whether the warning field is set.