@Generated(value="by GAPIC") @BetaApi public final class ResourceCommitment extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
ResourceCommitment.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAmount()
The amount of the resource purchased (in a type-dependent unit, such as bytes).
|
ApiMessage |
getApiMessageRequestBody() |
static ResourceCommitment |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getType()
Type of resource for which this commitment applies.
|
int |
hashCode() |
static ResourceCommitment.Builder |
newBuilder() |
static ResourceCommitment.Builder |
newBuilder(ResourceCommitment prototype) |
ResourceCommitment.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 getAmount()
public String getType()
public static ResourceCommitment.Builder newBuilder()
public static ResourceCommitment.Builder newBuilder(ResourceCommitment prototype)
public ResourceCommitment.Builder toBuilder()
public static ResourceCommitment getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.