public static final class AllocateQuotaRequest.Builder extends GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder> implements AllocateQuotaRequestOrBuilder
Request message for the AllocateQuota method.
Protobuf type google.api.servicecontrol.v1.AllocateQuotaRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AllocateQuotaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AllocateQuotaRequest build()
Returns
buildPartial()
public AllocateQuotaRequest buildPartial()
Returns
clear()
public AllocateQuotaRequest.Builder clear()
Returns
Overrides
clearAllocateOperation()
public AllocateQuotaRequest.Builder clearAllocateOperation()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public AllocateQuotaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AllocateQuotaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServiceConfigId()
public AllocateQuotaRequest.Builder clearServiceConfigId()
Specifies which version of service configuration should be used to process
the request. If unspecified or no matching version can be found, the latest
one will be used.
string service_config_id = 4;
Returns
clearServiceName()
public AllocateQuotaRequest.Builder clearServiceName()
Name of the service as specified in the service configuration. For example,
"pubsub.googleapis.com"
.
See google.api.Service for the definition of a service name.
string service_name = 1;
Returns
clone()
public AllocateQuotaRequest.Builder clone()
Returns
Overrides
getAllocateOperation()
public QuotaOperation getAllocateOperation()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Returns
getAllocateOperationBuilder()
public QuotaOperation.Builder getAllocateOperationBuilder()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Returns
getAllocateOperationOrBuilder()
public QuotaOperationOrBuilder getAllocateOperationOrBuilder()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Returns
getDefaultInstanceForType()
public AllocateQuotaRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getServiceConfigId()
public String getServiceConfigId()
Specifies which version of service configuration should be used to process
the request. If unspecified or no matching version can be found, the latest
one will be used.
string service_config_id = 4;
Returns
Type | Description |
String | The serviceConfigId.
|
getServiceConfigIdBytes()
public ByteString getServiceConfigIdBytes()
Specifies which version of service configuration should be used to process
the request. If unspecified or no matching version can be found, the latest
one will be used.
string service_config_id = 4;
Returns
Type | Description |
ByteString | The bytes for serviceConfigId.
|
getServiceName()
public String getServiceName()
Name of the service as specified in the service configuration. For example,
"pubsub.googleapis.com"
.
See google.api.Service for the definition of a service name.
string service_name = 1;
Returns
Type | Description |
String | The serviceName.
|
getServiceNameBytes()
public ByteString getServiceNameBytes()
Name of the service as specified in the service configuration. For example,
"pubsub.googleapis.com"
.
See google.api.Service for the definition of a service name.
string service_name = 1;
Returns
Type | Description |
ByteString | The bytes for serviceName.
|
hasAllocateOperation()
public boolean hasAllocateOperation()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Returns
Type | Description |
boolean | Whether the allocateOperation field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAllocateOperation(QuotaOperation value)
public AllocateQuotaRequest.Builder mergeAllocateOperation(QuotaOperation value)
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Parameter
Returns
mergeFrom(AllocateQuotaRequest other)
public AllocateQuotaRequest.Builder mergeFrom(AllocateQuotaRequest other)
Parameter
Returns
public AllocateQuotaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AllocateQuotaRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AllocateQuotaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setAllocateOperation(QuotaOperation value)
public AllocateQuotaRequest.Builder setAllocateOperation(QuotaOperation value)
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Parameter
Returns
setAllocateOperation(QuotaOperation.Builder builderForValue)
public AllocateQuotaRequest.Builder setAllocateOperation(QuotaOperation.Builder builderForValue)
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AllocateQuotaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AllocateQuotaRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServiceConfigId(String value)
public AllocateQuotaRequest.Builder setServiceConfigId(String value)
Specifies which version of service configuration should be used to process
the request. If unspecified or no matching version can be found, the latest
one will be used.
string service_config_id = 4;
Parameter
Name | Description |
value | String
The serviceConfigId to set.
|
Returns
setServiceConfigIdBytes(ByteString value)
public AllocateQuotaRequest.Builder setServiceConfigIdBytes(ByteString value)
Specifies which version of service configuration should be used to process
the request. If unspecified or no matching version can be found, the latest
one will be used.
string service_config_id = 4;
Parameter
Name | Description |
value | ByteString
The bytes for serviceConfigId to set.
|
Returns
setServiceName(String value)
public AllocateQuotaRequest.Builder setServiceName(String value)
Name of the service as specified in the service configuration. For example,
"pubsub.googleapis.com"
.
See google.api.Service for the definition of a service name.
string service_name = 1;
Parameter
Name | Description |
value | String
The serviceName to set.
|
Returns
setServiceNameBytes(ByteString value)
public AllocateQuotaRequest.Builder setServiceNameBytes(ByteString value)
Name of the service as specified in the service configuration. For example,
"pubsub.googleapis.com"
.
See google.api.Service for the definition of a service name.
string service_name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for serviceName to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AllocateQuotaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides