- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AllocateQuotaRequest.BuilderImplements
AllocateQuotaRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AllocateQuotaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
build()
public AllocateQuotaRequest build()
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest |
buildPartial()
public AllocateQuotaRequest buildPartial()
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest |
clear()
public AllocateQuotaRequest.Builder clear()
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
clearAllocateOperation()
public AllocateQuotaRequest.Builder clearAllocateOperation()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public AllocateQuotaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AllocateQuotaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
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 | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
This builder for chaining. |
clone()
public AllocateQuotaRequest.Builder clone()
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
getAllocateOperation()
public QuotaOperation getAllocateOperation()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Returns | |
---|---|
Type | Description |
QuotaOperation |
The allocateOperation. |
getAllocateOperationBuilder()
public QuotaOperation.Builder getAllocateOperationBuilder()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Returns | |
---|---|
Type | Description |
QuotaOperation.Builder |
getAllocateOperationOrBuilder()
public QuotaOperationOrBuilder getAllocateOperationOrBuilder()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Returns | |
---|---|
Type | Description |
QuotaOperationOrBuilder |
getDefaultInstanceForType()
public AllocateQuotaRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAllocateOperation(QuotaOperation value)
public AllocateQuotaRequest.Builder mergeAllocateOperation(QuotaOperation value)
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Parameter | |
---|---|
Name | Description |
value |
QuotaOperation |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
mergeFrom(AllocateQuotaRequest other)
public AllocateQuotaRequest.Builder mergeFrom(AllocateQuotaRequest other)
Parameter | |
---|---|
Name | Description |
other |
AllocateQuotaRequest |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AllocateQuotaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AllocateQuotaRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AllocateQuotaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
setAllocateOperation(QuotaOperation value)
public AllocateQuotaRequest.Builder setAllocateOperation(QuotaOperation value)
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Parameter | |
---|---|
Name | Description |
value |
QuotaOperation |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
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 | |
---|---|
Name | Description |
builderForValue |
QuotaOperation.Builder |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AllocateQuotaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AllocateQuotaRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
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 | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AllocateQuotaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AllocateQuotaRequest.Builder |