public static final class UsageResourceAllowanceStatus.Builder extends GeneratedMessageV3.Builder<UsageResourceAllowanceStatus.Builder> implements UsageResourceAllowanceStatusOrBuilder
Status of a usage ResourceAllowance.
Protobuf type google.cloud.batch.v1alpha.UsageResourceAllowanceStatus
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 UsageResourceAllowanceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UsageResourceAllowanceStatus build()
buildPartial()
public UsageResourceAllowanceStatus buildPartial()
clear()
public UsageResourceAllowanceStatus.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UsageResourceAllowanceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLimitStatus()
public UsageResourceAllowanceStatus.Builder clearLimitStatus()
Output only. ResourceAllowance consumption status for usage resources.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.LimitStatus limit_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearOneof(Descriptors.OneofDescriptor oneof)
public UsageResourceAllowanceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReport()
public UsageResourceAllowanceStatus.Builder clearReport()
Output only. The report of ResourceAllowance consumptions in a time period.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.ConsumptionReport report = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearState()
public UsageResourceAllowanceStatus.Builder clearState()
Output only. ResourceAllowance state.
.google.cloud.batch.v1alpha.ResourceAllowanceState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public UsageResourceAllowanceStatus.Builder clone()
Overrides
getDefaultInstanceForType()
public UsageResourceAllowanceStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLimitStatus()
public UsageResourceAllowanceStatus.LimitStatus getLimitStatus()
Output only. ResourceAllowance consumption status for usage resources.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.LimitStatus limit_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLimitStatusBuilder()
public UsageResourceAllowanceStatus.LimitStatus.Builder getLimitStatusBuilder()
Output only. ResourceAllowance consumption status for usage resources.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.LimitStatus limit_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLimitStatusOrBuilder()
public UsageResourceAllowanceStatus.LimitStatusOrBuilder getLimitStatusOrBuilder()
Output only. ResourceAllowance consumption status for usage resources.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.LimitStatus limit_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getReport()
public UsageResourceAllowanceStatus.ConsumptionReport getReport()
Output only. The report of ResourceAllowance consumptions in a time period.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.ConsumptionReport report = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getReportBuilder()
public UsageResourceAllowanceStatus.ConsumptionReport.Builder getReportBuilder()
Output only. The report of ResourceAllowance consumptions in a time period.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.ConsumptionReport report = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getReportOrBuilder()
public UsageResourceAllowanceStatus.ConsumptionReportOrBuilder getReportOrBuilder()
Output only. The report of ResourceAllowance consumptions in a time period.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.ConsumptionReport report = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState()
public ResourceAllowanceState getState()
Output only. ResourceAllowance state.
.google.cloud.batch.v1alpha.ResourceAllowanceState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. ResourceAllowance state.
.google.cloud.batch.v1alpha.ResourceAllowanceState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
hasLimitStatus()
public boolean hasLimitStatus()
Output only. ResourceAllowance consumption status for usage resources.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.LimitStatus limit_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the limitStatus field is set.
|
hasReport()
public boolean hasReport()
Output only. The report of ResourceAllowance consumptions in a time period.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.ConsumptionReport report = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the report field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UsageResourceAllowanceStatus other)
public UsageResourceAllowanceStatus.Builder mergeFrom(UsageResourceAllowanceStatus other)
public UsageResourceAllowanceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UsageResourceAllowanceStatus.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeLimitStatus(UsageResourceAllowanceStatus.LimitStatus value)
public UsageResourceAllowanceStatus.Builder mergeLimitStatus(UsageResourceAllowanceStatus.LimitStatus value)
Output only. ResourceAllowance consumption status for usage resources.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.LimitStatus limit_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeReport(UsageResourceAllowanceStatus.ConsumptionReport value)
public UsageResourceAllowanceStatus.Builder mergeReport(UsageResourceAllowanceStatus.ConsumptionReport value)
Output only. The report of ResourceAllowance consumptions in a time period.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.ConsumptionReport report = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UsageResourceAllowanceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UsageResourceAllowanceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLimitStatus(UsageResourceAllowanceStatus.LimitStatus value)
public UsageResourceAllowanceStatus.Builder setLimitStatus(UsageResourceAllowanceStatus.LimitStatus value)
Output only. ResourceAllowance consumption status for usage resources.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.LimitStatus limit_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setLimitStatus(UsageResourceAllowanceStatus.LimitStatus.Builder builderForValue)
public UsageResourceAllowanceStatus.Builder setLimitStatus(UsageResourceAllowanceStatus.LimitStatus.Builder builderForValue)
Output only. ResourceAllowance consumption status for usage resources.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.LimitStatus limit_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UsageResourceAllowanceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setReport(UsageResourceAllowanceStatus.ConsumptionReport value)
public UsageResourceAllowanceStatus.Builder setReport(UsageResourceAllowanceStatus.ConsumptionReport value)
Output only. The report of ResourceAllowance consumptions in a time period.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.ConsumptionReport report = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setReport(UsageResourceAllowanceStatus.ConsumptionReport.Builder builderForValue)
public UsageResourceAllowanceStatus.Builder setReport(UsageResourceAllowanceStatus.ConsumptionReport.Builder builderForValue)
Output only. The report of ResourceAllowance consumptions in a time period.
.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.ConsumptionReport report = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setState(ResourceAllowanceState value)
public UsageResourceAllowanceStatus.Builder setState(ResourceAllowanceState value)
Output only. ResourceAllowance state.
.google.cloud.batch.v1alpha.ResourceAllowanceState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setStateValue(int value)
public UsageResourceAllowanceStatus.Builder setStateValue(int value)
Output only. ResourceAllowance state.
.google.cloud.batch.v1alpha.ResourceAllowanceState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for state to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UsageResourceAllowanceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides