Class GetQueueRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetQueueRequest.Builder>
com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder
All Implemented Interfaces:
GetQueueRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetQueueRequest

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

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

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

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

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

      public GetQueueRequest.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<GetQueueRequest.Builder>
    • mergeFrom

      public GetQueueRequest.Builder mergeFrom(GetQueueRequest other)
    • isInitialized

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

      public GetQueueRequest.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<GetQueueRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The resource name of the queue. For example:
       `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface GetQueueRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of the queue. For example:
       `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface GetQueueRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public GetQueueRequest.Builder setName(String value)
       Required. The resource name of the queue. For example:
       `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public GetQueueRequest.Builder clearName()
       Required. The resource name of the queue. For example:
       `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public GetQueueRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the queue. For example:
       `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasReadMask

      public boolean hasReadMask()
       Optional. Read mask is used for a more granular control over what the API
       returns. If the mask is not present all fields will be returned except
       [Queue.stats]. [Queue.stats] will be returned only if it was  explicitly
       specified in the mask.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasReadMask in interface GetQueueRequestOrBuilder
      Returns:
      Whether the readMask field is set.
    • getReadMask

      public com.google.protobuf.FieldMask getReadMask()
       Optional. Read mask is used for a more granular control over what the API
       returns. If the mask is not present all fields will be returned except
       [Queue.stats]. [Queue.stats] will be returned only if it was  explicitly
       specified in the mask.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReadMask in interface GetQueueRequestOrBuilder
      Returns:
      The readMask.
    • setReadMask

      public GetQueueRequest.Builder setReadMask(com.google.protobuf.FieldMask value)
       Optional. Read mask is used for a more granular control over what the API
       returns. If the mask is not present all fields will be returned except
       [Queue.stats]. [Queue.stats] will be returned only if it was  explicitly
       specified in the mask.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setReadMask

      public GetQueueRequest.Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. Read mask is used for a more granular control over what the API
       returns. If the mask is not present all fields will be returned except
       [Queue.stats]. [Queue.stats] will be returned only if it was  explicitly
       specified in the mask.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeReadMask

      public GetQueueRequest.Builder mergeReadMask(com.google.protobuf.FieldMask value)
       Optional. Read mask is used for a more granular control over what the API
       returns. If the mask is not present all fields will be returned except
       [Queue.stats]. [Queue.stats] will be returned only if it was  explicitly
       specified in the mask.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearReadMask

      public GetQueueRequest.Builder clearReadMask()
       Optional. Read mask is used for a more granular control over what the API
       returns. If the mask is not present all fields will be returned except
       [Queue.stats]. [Queue.stats] will be returned only if it was  explicitly
       specified in the mask.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getReadMaskBuilder

      public com.google.protobuf.FieldMask.Builder getReadMaskBuilder()
       Optional. Read mask is used for a more granular control over what the API
       returns. If the mask is not present all fields will be returned except
       [Queue.stats]. [Queue.stats] will be returned only if it was  explicitly
       specified in the mask.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getReadMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder()
       Optional. Read mask is used for a more granular control over what the API
       returns. If the mask is not present all fields will be returned except
       [Queue.stats]. [Queue.stats] will be returned only if it was  explicitly
       specified in the mask.
       
      .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReadMaskOrBuilder in interface GetQueueRequestOrBuilder