Class UploadQueueYamlRequest.Builder

  • All Implemented Interfaces:
    UploadQueueYamlRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    UploadQueueYamlRequest

    public static final class UploadQueueYamlRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<UploadQueueYamlRequest.Builder>
    implements UploadQueueYamlRequestOrBuilder
     Request message for
     [UploadQueueYaml][google.cloud.tasks.v2beta2.CloudTasks.UploadQueueYaml].
     
    Protobuf type google.cloud.tasks.v2beta2.UploadQueueYamlRequest
    • 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<UploadQueueYamlRequest.Builder>
      • clear

        public UploadQueueYamlRequest.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<UploadQueueYamlRequest.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<UploadQueueYamlRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public UploadQueueYamlRequest.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<UploadQueueYamlRequest.Builder>
      • clearField

        public UploadQueueYamlRequest.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<UploadQueueYamlRequest.Builder>
      • clearOneof

        public UploadQueueYamlRequest.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<UploadQueueYamlRequest.Builder>
      • setRepeatedField

        public UploadQueueYamlRequest.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<UploadQueueYamlRequest.Builder>
      • addRepeatedField

        public UploadQueueYamlRequest.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<UploadQueueYamlRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UploadQueueYamlRequest.Builder>
      • mergeFrom

        public UploadQueueYamlRequest.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<UploadQueueYamlRequest.Builder>
        Throws:
        IOException
      • getAppId

        public String getAppId()
         Required. The App ID is supplied as an HTTP parameter. Unlike internal
         usage of App ID, it does not include a region prefix. Rather, the App ID
         represents the Project ID against which to make the request.
         
        string app_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAppId in interface UploadQueueYamlRequestOrBuilder
        Returns:
        The appId.
      • getAppIdBytes

        public com.google.protobuf.ByteString getAppIdBytes()
         Required. The App ID is supplied as an HTTP parameter. Unlike internal
         usage of App ID, it does not include a region prefix. Rather, the App ID
         represents the Project ID against which to make the request.
         
        string app_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAppIdBytes in interface UploadQueueYamlRequestOrBuilder
        Returns:
        The bytes for appId.
      • setAppId

        public UploadQueueYamlRequest.Builder setAppId​(String value)
         Required. The App ID is supplied as an HTTP parameter. Unlike internal
         usage of App ID, it does not include a region prefix. Rather, the App ID
         represents the Project ID against which to make the request.
         
        string app_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The appId to set.
        Returns:
        This builder for chaining.
      • clearAppId

        public UploadQueueYamlRequest.Builder clearAppId()
         Required. The App ID is supplied as an HTTP parameter. Unlike internal
         usage of App ID, it does not include a region prefix. Rather, the App ID
         represents the Project ID against which to make the request.
         
        string app_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setAppIdBytes

        public UploadQueueYamlRequest.Builder setAppIdBytes​(com.google.protobuf.ByteString value)
         Required. The App ID is supplied as an HTTP parameter. Unlike internal
         usage of App ID, it does not include a region prefix. Rather, the App ID
         represents the Project ID against which to make the request.
         
        string app_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for appId to set.
        Returns:
        This builder for chaining.
      • hasHttpBody

        public boolean hasHttpBody()
         The http body contains the queue.yaml file which used to update queue lists
         
        optional .google.api.HttpBody http_body = 2;
        Specified by:
        hasHttpBody in interface UploadQueueYamlRequestOrBuilder
        Returns:
        Whether the httpBody field is set.
      • getHttpBody

        public com.google.api.HttpBody getHttpBody()
         The http body contains the queue.yaml file which used to update queue lists
         
        optional .google.api.HttpBody http_body = 2;
        Specified by:
        getHttpBody in interface UploadQueueYamlRequestOrBuilder
        Returns:
        The httpBody.
      • setHttpBody

        public UploadQueueYamlRequest.Builder setHttpBody​(com.google.api.HttpBody value)
         The http body contains the queue.yaml file which used to update queue lists
         
        optional .google.api.HttpBody http_body = 2;
      • setHttpBody

        public UploadQueueYamlRequest.Builder setHttpBody​(com.google.api.HttpBody.Builder builderForValue)
         The http body contains the queue.yaml file which used to update queue lists
         
        optional .google.api.HttpBody http_body = 2;
      • mergeHttpBody

        public UploadQueueYamlRequest.Builder mergeHttpBody​(com.google.api.HttpBody value)
         The http body contains the queue.yaml file which used to update queue lists
         
        optional .google.api.HttpBody http_body = 2;
      • clearHttpBody

        public UploadQueueYamlRequest.Builder clearHttpBody()
         The http body contains the queue.yaml file which used to update queue lists
         
        optional .google.api.HttpBody http_body = 2;
      • getHttpBodyBuilder

        public com.google.api.HttpBody.Builder getHttpBodyBuilder()
         The http body contains the queue.yaml file which used to update queue lists
         
        optional .google.api.HttpBody http_body = 2;
      • getHttpBodyOrBuilder

        public com.google.api.HttpBodyOrBuilder getHttpBodyOrBuilder()
         The http body contains the queue.yaml file which used to update queue lists
         
        optional .google.api.HttpBody http_body = 2;
        Specified by:
        getHttpBodyOrBuilder in interface UploadQueueYamlRequestOrBuilder
      • setUnknownFields

        public final UploadQueueYamlRequest.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<UploadQueueYamlRequest.Builder>
      • mergeUnknownFields

        public final UploadQueueYamlRequest.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<UploadQueueYamlRequest.Builder>