public static final class QuotaDetails.Builder extends GeneratedMessageV3.Builder<QuotaDetails.Builder> implements QuotaDetailsOrBuilder
The quota details for a map of dimensions.
Protobuf type google.api.cloudquotas.v1.QuotaDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QuotaDetails.BuilderImplements
QuotaDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QuotaDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder |
build()
public QuotaDetails build()
Returns | |
---|---|
Type | Description |
QuotaDetails |
buildPartial()
public QuotaDetails buildPartial()
Returns | |
---|---|
Type | Description |
QuotaDetails |
clear()
public QuotaDetails.Builder clear()
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder |
clearField(Descriptors.FieldDescriptor field)
public QuotaDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public QuotaDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder |
clearValue()
public QuotaDetails.Builder clearValue()
The value currently in effect and being enforced.
int64 value = 1;
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder | This builder for chaining. |
clone()
public QuotaDetails.Builder clone()
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder |
getDefaultInstanceForType()
public QuotaDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
QuotaDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getValue()
public long getValue()
The value currently in effect and being enforced.
int64 value = 1;
Returns | |
---|---|
Type | Description |
long | The value. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(QuotaDetails other)
public QuotaDetails.Builder mergeFrom(QuotaDetails other)
Parameter | |
---|---|
Name | Description |
other | QuotaDetails |
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QuotaDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public QuotaDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QuotaDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public QuotaDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QuotaDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final QuotaDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder |
setValue(long value)
public QuotaDetails.Builder setValue(long value)
The value currently in effect and being enforced.
int64 value = 1;
Parameter | |
---|---|
Name | Description |
value | long The value to set. |
Returns | |
---|---|
Type | Description |
QuotaDetails.Builder | This builder for chaining. |