public static final class AllocateQuotaRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder> implements AllocateQuotaRequestOrBuilder
Request message for the AllocateQuota method.Protobuf type
google.api.servicecontrol.v1.AllocateQuotaRequest| Modifier and Type | Method and Description |
|---|---|
AllocateQuotaRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
AllocateQuotaRequest |
build() |
AllocateQuotaRequest |
buildPartial() |
AllocateQuotaRequest.Builder |
clear() |
AllocateQuotaRequest.Builder |
clearAllocateOperation()
Operation that describes the quota allocation.
|
AllocateQuotaRequest.Builder |
clearAllocationMode()
Deprecated.
|
AllocateQuotaRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AllocateQuotaRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AllocateQuotaRequest.Builder |
clearServiceConfigId()
Specifies which version of service configuration should be used to process
the request.
|
AllocateQuotaRequest.Builder |
clearServiceName()
Name of the service as specified in the service configuration.
|
AllocateQuotaRequest.Builder |
clone() |
QuotaOperation |
getAllocateOperation()
Operation that describes the quota allocation.
|
QuotaOperation.Builder |
getAllocateOperationBuilder()
Operation that describes the quota allocation.
|
QuotaOperationOrBuilder |
getAllocateOperationOrBuilder()
Operation that describes the quota allocation.
|
AllocateQuotaRequest.AllocationMode |
getAllocationMode()
Deprecated.
|
int |
getAllocationModeValue()
Deprecated.
|
AllocateQuotaRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getServiceConfigId()
Specifies which version of service configuration should be used to process
the request.
|
com.google.protobuf.ByteString |
getServiceConfigIdBytes()
Specifies which version of service configuration should be used to process
the request.
|
java.lang.String |
getServiceName()
Name of the service as specified in the service configuration.
|
com.google.protobuf.ByteString |
getServiceNameBytes()
Name of the service as specified in the service configuration.
|
boolean |
hasAllocateOperation()
Operation that describes the quota allocation.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AllocateQuotaRequest.Builder |
mergeAllocateOperation(QuotaOperation value)
Operation that describes the quota allocation.
|
AllocateQuotaRequest.Builder |
mergeFrom(AllocateQuotaRequest other) |
AllocateQuotaRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AllocateQuotaRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AllocateQuotaRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AllocateQuotaRequest.Builder |
setAllocateOperation(QuotaOperation.Builder builderForValue)
Operation that describes the quota allocation.
|
AllocateQuotaRequest.Builder |
setAllocateOperation(QuotaOperation value)
Operation that describes the quota allocation.
|
AllocateQuotaRequest.Builder |
setAllocationMode(AllocateQuotaRequest.AllocationMode value)
Deprecated.
|
AllocateQuotaRequest.Builder |
setAllocationModeValue(int value)
Deprecated.
|
AllocateQuotaRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
AllocateQuotaRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
AllocateQuotaRequest.Builder |
setServiceConfigId(java.lang.String value)
Specifies which version of service configuration should be used to process
the request.
|
AllocateQuotaRequest.Builder |
setServiceConfigIdBytes(com.google.protobuf.ByteString value)
Specifies which version of service configuration should be used to process
the request.
|
AllocateQuotaRequest.Builder |
setServiceName(java.lang.String value)
Name of the service as specified in the service configuration.
|
AllocateQuotaRequest.Builder |
setServiceNameBytes(com.google.protobuf.ByteString value)
Name of the service as specified in the service configuration.
|
AllocateQuotaRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>public AllocateQuotaRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>public AllocateQuotaRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AllocateQuotaRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AllocateQuotaRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AllocateQuotaRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>public AllocateQuotaRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>public AllocateQuotaRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>public AllocateQuotaRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>public AllocateQuotaRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>public AllocateQuotaRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>public AllocateQuotaRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocateQuotaRequest.Builder>public AllocateQuotaRequest.Builder mergeFrom(AllocateQuotaRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>public AllocateQuotaRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocateQuotaRequest.Builder>java.io.IOExceptionpublic java.lang.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.
optional string service_name = 1;getServiceName in interface AllocateQuotaRequestOrBuilderpublic com.google.protobuf.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.
optional string service_name = 1;getServiceNameBytes in interface AllocateQuotaRequestOrBuilderpublic AllocateQuotaRequest.Builder setServiceName(java.lang.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.
optional string service_name = 1;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.
optional string service_name = 1;public AllocateQuotaRequest.Builder setServiceNameBytes(com.google.protobuf.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.
optional string service_name = 1;public boolean hasAllocateOperation()
Operation that describes the quota allocation.
optional .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;hasAllocateOperation in interface AllocateQuotaRequestOrBuilderpublic QuotaOperation getAllocateOperation()
Operation that describes the quota allocation.
optional .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;getAllocateOperation in interface AllocateQuotaRequestOrBuilderpublic AllocateQuotaRequest.Builder setAllocateOperation(QuotaOperation value)
Operation that describes the quota allocation.
optional .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;public AllocateQuotaRequest.Builder setAllocateOperation(QuotaOperation.Builder builderForValue)
Operation that describes the quota allocation.
optional .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;public AllocateQuotaRequest.Builder mergeAllocateOperation(QuotaOperation value)
Operation that describes the quota allocation.
optional .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;public AllocateQuotaRequest.Builder clearAllocateOperation()
Operation that describes the quota allocation.
optional .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;public QuotaOperation.Builder getAllocateOperationBuilder()
Operation that describes the quota allocation.
optional .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;public QuotaOperationOrBuilder getAllocateOperationOrBuilder()
Operation that describes the quota allocation.
optional .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;getAllocateOperationOrBuilder in interface AllocateQuotaRequestOrBuilder@Deprecated public int getAllocationModeValue()
Allocation mode for this operation. Deprecated: use QuotaMode inside the QuotaOperation.
optional .google.api.servicecontrol.v1.AllocateQuotaRequest.AllocationMode allocation_mode = 3 [deprecated = true];getAllocationModeValue in interface AllocateQuotaRequestOrBuilder@Deprecated public AllocateQuotaRequest.Builder setAllocationModeValue(int value)
Allocation mode for this operation. Deprecated: use QuotaMode inside the QuotaOperation.
optional .google.api.servicecontrol.v1.AllocateQuotaRequest.AllocationMode allocation_mode = 3 [deprecated = true];@Deprecated public AllocateQuotaRequest.AllocationMode getAllocationMode()
Allocation mode for this operation. Deprecated: use QuotaMode inside the QuotaOperation.
optional .google.api.servicecontrol.v1.AllocateQuotaRequest.AllocationMode allocation_mode = 3 [deprecated = true];getAllocationMode in interface AllocateQuotaRequestOrBuilder@Deprecated public AllocateQuotaRequest.Builder setAllocationMode(AllocateQuotaRequest.AllocationMode value)
Allocation mode for this operation. Deprecated: use QuotaMode inside the QuotaOperation.
optional .google.api.servicecontrol.v1.AllocateQuotaRequest.AllocationMode allocation_mode = 3 [deprecated = true];@Deprecated public AllocateQuotaRequest.Builder clearAllocationMode()
Allocation mode for this operation. Deprecated: use QuotaMode inside the QuotaOperation.
optional .google.api.servicecontrol.v1.AllocateQuotaRequest.AllocationMode allocation_mode = 3 [deprecated = true];public java.lang.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.
optional string service_config_id = 4;getServiceConfigId in interface AllocateQuotaRequestOrBuilderpublic com.google.protobuf.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.
optional string service_config_id = 4;getServiceConfigIdBytes in interface AllocateQuotaRequestOrBuilderpublic AllocateQuotaRequest.Builder setServiceConfigId(java.lang.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.
optional string service_config_id = 4;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.
optional string service_config_id = 4;public AllocateQuotaRequest.Builder setServiceConfigIdBytes(com.google.protobuf.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.
optional string service_config_id = 4;public final AllocateQuotaRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>public final AllocateQuotaRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>