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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder> implements AllocateQuotaRequestOrBuilder
Request message for the AllocateQuota method.
Protobuf typegoogle.api.servicecontrol.v1.AllocateQuotaRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AllocateQuotaRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AllocateQuotaRequestbuild()AllocateQuotaRequestbuildPartial()AllocateQuotaRequest.Builderclear()AllocateQuotaRequest.BuilderclearAllocateOperation()Operation that describes the quota allocation.AllocateQuotaRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AllocateQuotaRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AllocateQuotaRequest.BuilderclearServiceConfigId()Specifies which version of service configuration should be used to process the request.AllocateQuotaRequest.BuilderclearServiceName()Name of the service as specified in the service configuration.AllocateQuotaRequest.Builderclone()QuotaOperationgetAllocateOperation()Operation that describes the quota allocation.QuotaOperation.BuildergetAllocateOperationBuilder()Operation that describes the quota allocation.QuotaOperationOrBuildergetAllocateOperationOrBuilder()Operation that describes the quota allocation.AllocateQuotaRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetServiceConfigId()Specifies which version of service configuration should be used to process the request.com.google.protobuf.ByteStringgetServiceConfigIdBytes()Specifies which version of service configuration should be used to process the request.StringgetServiceName()Name of the service as specified in the service configuration.com.google.protobuf.ByteStringgetServiceNameBytes()Name of the service as specified in the service configuration.booleanhasAllocateOperation()Operation that describes the quota allocation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AllocateQuotaRequest.BuildermergeAllocateOperation(QuotaOperation value)Operation that describes the quota allocation.AllocateQuotaRequest.BuildermergeFrom(AllocateQuotaRequest other)AllocateQuotaRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AllocateQuotaRequest.BuildermergeFrom(com.google.protobuf.Message other)AllocateQuotaRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AllocateQuotaRequest.BuildersetAllocateOperation(QuotaOperation value)Operation that describes the quota allocation.AllocateQuotaRequest.BuildersetAllocateOperation(QuotaOperation.Builder builderForValue)Operation that describes the quota allocation.AllocateQuotaRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AllocateQuotaRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AllocateQuotaRequest.BuildersetServiceConfigId(String value)Specifies which version of service configuration should be used to process the request.AllocateQuotaRequest.BuildersetServiceConfigIdBytes(com.google.protobuf.ByteString value)Specifies which version of service configuration should be used to process the request.AllocateQuotaRequest.BuildersetServiceName(String value)Name of the service as specified in the service configuration.AllocateQuotaRequest.BuildersetServiceNameBytes(com.google.protobuf.ByteString value)Name of the service as specified in the service configuration.AllocateQuotaRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
-
clear
public AllocateQuotaRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
-
getDefaultInstanceForType
public AllocateQuotaRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AllocateQuotaRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AllocateQuotaRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AllocateQuotaRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
-
setField
public AllocateQuotaRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
-
clearField
public AllocateQuotaRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
-
clearOneof
public AllocateQuotaRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
-
setRepeatedField
public AllocateQuotaRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
-
addRepeatedField
public AllocateQuotaRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
-
mergeFrom
public AllocateQuotaRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AllocateQuotaRequest.Builder>
-
mergeFrom
public AllocateQuotaRequest.Builder mergeFrom(AllocateQuotaRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
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][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
public AllocateQuotaRequest.Builder 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
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][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
public QuotaOperation getAllocateOperation()
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;- Specified by:
getAllocateOperationin interfaceAllocateQuotaRequestOrBuilder- Returns:
- The allocateOperation.
-
setAllocateOperation
public AllocateQuotaRequest.Builder setAllocateOperation(QuotaOperation value)
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
-
setAllocateOperation
public AllocateQuotaRequest.Builder setAllocateOperation(QuotaOperation.Builder builderForValue)
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
-
mergeAllocateOperation
public AllocateQuotaRequest.Builder mergeAllocateOperation(QuotaOperation value)
Operation that describes the quota allocation.
.google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
-
clearAllocateOperation
public AllocateQuotaRequest.Builder clearAllocateOperation()
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;- Specified by:
getAllocateOperationOrBuilderin interfaceAllocateQuotaRequestOrBuilder
-
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;- 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
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;- Parameters:
value- The serviceConfigId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setServiceConfigIdBytes
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.
string service_config_id = 4;- Parameters:
value- The bytes for serviceConfigId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AllocateQuotaRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
-
mergeUnknownFields
public final AllocateQuotaRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
-
-