public final class UsageResourceAllowance extends GeneratedMessageV3 implements UsageResourceAllowanceOrBuilder
UsageResourceAllowance describes the detail of usage resource allowance.
Protobuf type google.cloud.batch.v1alpha.UsageResourceAllowance
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
SPEC_FIELD_NUMBER
public static final int SPEC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UsageResourceAllowance getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UsageResourceAllowance.Builder newBuilder()
newBuilder(UsageResourceAllowance prototype)
public static UsageResourceAllowance.Builder newBuilder(UsageResourceAllowance prototype)
public static UsageResourceAllowance parseDelimitedFrom(InputStream input)
public static UsageResourceAllowance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UsageResourceAllowance parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UsageResourceAllowance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UsageResourceAllowance parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UsageResourceAllowance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UsageResourceAllowance parseFrom(CodedInputStream input)
public static UsageResourceAllowance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UsageResourceAllowance parseFrom(InputStream input)
public static UsageResourceAllowance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UsageResourceAllowance parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UsageResourceAllowance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UsageResourceAllowance> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public UsageResourceAllowance getDefaultInstanceForType()
getParserForType()
public Parser<UsageResourceAllowance> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSpec()
public UsageResourceAllowanceSpec getSpec()
Required. Spec of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];
getSpecOrBuilder()
public UsageResourceAllowanceSpecOrBuilder getSpecOrBuilder()
Required. Spec of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];
getStatus()
public UsageResourceAllowanceStatus getStatus()
Output only. Status of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusOrBuilder()
public UsageResourceAllowanceStatusOrBuilder getStatusOrBuilder()
Output only. Status of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasSpec()
Required. Spec of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the spec field is set.
|
hasStatus()
public boolean hasStatus()
Output only. Status of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the status field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UsageResourceAllowance.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UsageResourceAllowance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UsageResourceAllowance.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides