@Generated(value="by GAPIC") @BetaApi public final class Commitment extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Commitment.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
static Commitment |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
String |
getEndTimestamp()
[Output Only] Commitment end time in RFC3339 text format.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
String |
getPlan()
The plan for this commitment, which determines duration and discount rate.
|
String |
getRegion()
[Output Only] URL of the region where this commitment may be used.
|
List<ResourceCommitment> |
getResourcesList()
A list of commitment amounts for particular resources.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getStartTimestamp()
[Output Only] Commitment start time in RFC3339 text format.
|
String |
getStatus()
[Output Only] Status of the commitment with regards to eventual expiration (each commitment has
an end date defined).
|
String |
getStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
|
int |
hashCode() |
static Commitment.Builder |
newBuilder() |
static Commitment.Builder |
newBuilder(Commitment prototype) |
Commitment.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public String getCreationTimestamp()
public String getDescription()
public String getEndTimestamp()
public String getId()
public String getKind()
public String getName()
public String getPlan()
public String getRegion()
public List<ResourceCommitment> getResourcesList()
public String getSelfLink()
public String getStartTimestamp()
public String getStatus()
public String getStatusMessage()
public static Commitment.Builder newBuilder()
public static Commitment.Builder newBuilder(Commitment prototype)
public Commitment.Builder toBuilder()
public static Commitment getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.