@Generated(value="by GAPIC") @BetaApi public final class ResourceCommitment extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
ResourceCommitment.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAcceleratorType()
Name of the accelerator type resource.
|
String |
getAmount()
The amount of the resource purchased (in a type-dependent unit, such as bytes).
|
com.google.api.gax.httpjson.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 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 getAcceleratorType()
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.