Class UploadQueueYamlRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UploadQueueYamlRequest.Builder>
com.google.cloud.tasks.v2beta2.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.GeneratedMessage.Builder<UploadQueueYamlRequest.Builder> implements UploadQueueYamlRequestOrBuilder
 Request message for
 [UploadQueueYaml][google.cloud.tasks.v2beta2.CloudTasks.UploadQueueYaml].
 
Protobuf type google.cloud.tasks.v2beta2.UploadQueueYamlRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.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
    • mergeFrom

      public UploadQueueYamlRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UploadQueueYamlRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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 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(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(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(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 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 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