Send feedback
Class UsageResourceAllowance.Builder (0.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.54.0 keyboard_arrow_down
public static final class UsageResourceAllowance . Builder extends GeneratedMessageV3 . Builder<UsageResourceAllowance . Builder > implements UsageResourceAllowanceOrBuilder
UsageResourceAllowance describes the detail of usage resource allowance.
Protobuf type google.cloud.batch.v1alpha.UsageResourceAllowance
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UsageResourceAllowance . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public UsageResourceAllowance build ()
buildPartial()
public UsageResourceAllowance buildPartial ()
clear()
public UsageResourceAllowance . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UsageResourceAllowance . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UsageResourceAllowance . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSpec()
public UsageResourceAllowance . Builder clearSpec ()
Required. Spec of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];
clearStatus()
public UsageResourceAllowance . Builder clearStatus ()
Output only. Status of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public UsageResourceAllowance . Builder clone ()
Overrides
getDefaultInstanceForType()
public UsageResourceAllowance getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getSpec()
public UsageResourceAllowanceSpec getSpec ()
Required. Spec of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];
getSpecBuilder()
public UsageResourceAllowanceSpec . Builder getSpecBuilder ()
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];
getStatusBuilder()
public UsageResourceAllowanceStatus . Builder getStatusBuilder ()
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(UsageResourceAllowance other)
public UsageResourceAllowance . Builder mergeFrom ( UsageResourceAllowance other )
public UsageResourceAllowance . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public UsageResourceAllowance . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeSpec(UsageResourceAllowanceSpec value)
public UsageResourceAllowance . Builder mergeSpec ( UsageResourceAllowanceSpec value )
Required. Spec of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];
mergeStatus(UsageResourceAllowanceStatus value)
public UsageResourceAllowance . Builder mergeStatus ( UsageResourceAllowanceStatus value )
Output only. Status of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UsageResourceAllowance . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UsageResourceAllowance . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UsageResourceAllowance . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSpec(UsageResourceAllowanceSpec value)
public UsageResourceAllowance . Builder setSpec ( UsageResourceAllowanceSpec value )
Required. Spec of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];
setSpec(UsageResourceAllowanceSpec.Builder builderForValue)
public UsageResourceAllowance . Builder setSpec ( UsageResourceAllowanceSpec . Builder builderForValue )
Required. Spec of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];
setStatus(UsageResourceAllowanceStatus value)
public UsageResourceAllowance . Builder setStatus ( UsageResourceAllowanceStatus value )
Output only. Status of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setStatus(UsageResourceAllowanceStatus.Builder builderForValue)
public UsageResourceAllowance . Builder setStatus ( UsageResourceAllowanceStatus . Builder builderForValue )
Output only. Status of a usage ResourceAllowance.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setUnknownFields(UnknownFieldSet unknownFields)
public final UsageResourceAllowance . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]