@Generated(value="by GAPIC") @BetaApi public final class Commitment extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Commitment.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.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<Reservation> |
getReservationsList()
List of reservations in this commitment.
|
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 com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.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<Reservation> getReservationsList()
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.