Class AllocateQuotaRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
      • clear

        public AllocateQuotaRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
      • getDefaultInstanceForType

        public AllocateQuotaRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AllocateQuotaRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AllocateQuotaRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public AllocateQuotaRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
      • setField

        public AllocateQuotaRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
      • clearField

        public AllocateQuotaRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
      • clearOneof

        public AllocateQuotaRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
      • setRepeatedField

        public AllocateQuotaRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
      • addRepeatedField

        public AllocateQuotaRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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:
        getServiceName in interface AllocateQuotaRequestOrBuilder
        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:
        getServiceNameBytes in interface AllocateQuotaRequestOrBuilder
        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:
        hasAllocateOperation in interface AllocateQuotaRequestOrBuilder
        Returns:
        Whether the allocateOperation field is set.
      • setAllocateOperation

        public AllocateQuotaRequest.Builder setAllocateOperation​(QuotaOperation value)
         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;
      • 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:
        getServiceConfigId in interface AllocateQuotaRequestOrBuilder
        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:
        getServiceConfigIdBytes in interface AllocateQuotaRequestOrBuilder
        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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>
      • mergeUnknownFields

        public final AllocateQuotaRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaRequest.Builder>