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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 AllocateQuotaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AllocateQuotaRequest build()
buildPartial()
public AllocateQuotaRequest buildPartial()
clear()
public AllocateQuotaRequest.Builder clear()
Overrides
clearAllocateOperation()
public AllocateQuotaRequest.Builder clearAllocateOperation()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
clearField(Descriptors.FieldDescriptor field)
public AllocateQuotaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AllocateQuotaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public AllocateQuotaRequest.Builder clone()
Overrides
getAllocateOperation()
public QuotaOperation getAllocateOperation()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
getAllocateOperationBuilder()
public QuotaOperation.Builder getAllocateOperationBuilder()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
getAllocateOperationOrBuilder()
public QuotaOperationOrBuilder getAllocateOperationOrBuilder()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
getDefaultInstanceForType()
public AllocateQuotaRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAllocateOperation(QuotaOperation value)
public AllocateQuotaRequest.Builder mergeAllocateOperation(QuotaOperation value)
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
mergeFrom(AllocateQuotaRequest other)
public AllocateQuotaRequest.Builder mergeFrom(AllocateQuotaRequest other)
public AllocateQuotaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AllocateQuotaRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AllocateQuotaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAllocateOperation(QuotaOperation value)
public AllocateQuotaRequest.Builder setAllocateOperation(QuotaOperation value)
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public AllocateQuotaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AllocateQuotaRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AllocateQuotaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides