Package com.google.api.servicecontrol.v1
Class AllocateQuotaRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>
com.google.api.servicecontrol.v1.AllocateQuotaRequest.Builder
- All Implemented Interfaces:
AllocateQuotaRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AllocateQuotaRequest
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Operation that describes the quota allocation.Specifies which version of service configuration should be used to process the request.Name of the service as specified in the service configuration.Operation that describes the quota allocation.Operation that describes the quota allocation.Operation that describes the quota allocation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSpecifies which version of service configuration should be used to process the request.com.google.protobuf.ByteStringSpecifies which version of service configuration should be used to process the request.Name of the service as specified in the service configuration.com.google.protobuf.ByteStringName of the service as specified in the service configuration.booleanOperation that describes the quota allocation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOperation that describes the quota allocation.mergeFrom(AllocateQuotaRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Operation that describes the quota allocation.setAllocateOperation(QuotaOperation.Builder builderForValue) Operation that describes the quota allocation.setServiceConfigId(String value) Specifies which version of service configuration should be used to process the request.setServiceConfigIdBytes(com.google.protobuf.ByteString value) Specifies which version of service configuration should be used to process the request.setServiceName(String value) Name of the service as specified in the service configuration.setServiceNameBytes(com.google.protobuf.ByteString value) Name of the service as specified in the service configuration.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AllocateQuotaRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AllocateQuotaRequest.Builder>
-
mergeFrom
public AllocateQuotaRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AllocateQuotaRequest.Builder>- Throws:
IOException
-
getServiceName
Name of the service as specified in the service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service][google.api.Service] for the definition of a service name.
string service_name = 1;- Specified by:
getServiceNamein interfaceAllocateQuotaRequestOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()Name of the service as specified in the service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service][google.api.Service] for the definition of a service name.
string service_name = 1;- Specified by:
getServiceNameBytesin interfaceAllocateQuotaRequestOrBuilder- Returns:
- The bytes for serviceName.
-
setServiceName
Name of the service as specified in the service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service][google.api.Service] for the definition of a service name.
string service_name = 1;- Parameters:
value- The serviceName to set.- Returns:
- This builder for chaining.
-
clearServiceName
Name of the service as specified in the service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service][google.api.Service] for the definition of a service name.
string service_name = 1;- Returns:
- This builder for chaining.
-
setServiceNameBytes
Name of the service as specified in the service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service][google.api.Service] for the definition of a service name.
string service_name = 1;- Parameters:
value- The bytes for serviceName to set.- Returns:
- This builder for chaining.
-
hasAllocateOperation
public boolean hasAllocateOperation()Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;- Specified by:
hasAllocateOperationin interfaceAllocateQuotaRequestOrBuilder- Returns:
- Whether the allocateOperation field is set.
-
getAllocateOperation
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;- Specified by:
getAllocateOperationin interfaceAllocateQuotaRequestOrBuilder- Returns:
- The allocateOperation.
-
setAllocateOperation
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2; -
setAllocateOperation
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2; -
mergeAllocateOperation
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2; -
clearAllocateOperation
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2; -
getAllocateOperationBuilder
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2; -
getAllocateOperationOrBuilder
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;- Specified by:
getAllocateOperationOrBuilderin interfaceAllocateQuotaRequestOrBuilder
-
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;- Specified by:
getServiceConfigIdin interfaceAllocateQuotaRequestOrBuilder- Returns:
- The serviceConfigId.
-
getServiceConfigIdBytes
public 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.
string service_config_id = 4;- Specified by:
getServiceConfigIdBytesin interfaceAllocateQuotaRequestOrBuilder- Returns:
- The bytes for serviceConfigId.
-
setServiceConfigId
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;- Parameters:
value- The serviceConfigId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setServiceConfigIdBytes
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;- Parameters:
value- The bytes for serviceConfigId to set.- Returns:
- This builder for chaining.
-