Class ListJobsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListJobsRequest.Builder>
com.google.cloud.scheduler.v1.ListJobsRequest.Builder
All Implemented Interfaces:
ListJobsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListJobsRequest

public static final class ListJobsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListJobsRequest.Builder> implements ListJobsRequestOrBuilder
 Request message for listing jobs using
 [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
 
Protobuf type google.cloud.scheduler.v1.ListJobsRequest
  • 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<ListJobsRequest.Builder>
    • clear

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

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

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

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

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

      public ListJobsRequest.Builder mergeFrom(ListJobsRequest other)
    • isInitialized

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

      public ListJobsRequest.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<ListJobsRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The location name. For example:
       `projects/PROJECT_ID/locations/LOCATION_ID`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListJobsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The location name. For example:
       `projects/PROJECT_ID/locations/LOCATION_ID`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListJobsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListJobsRequest.Builder setParent(String value)
       Required. The location name. For example:
       `projects/PROJECT_ID/locations/LOCATION_ID`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ListJobsRequest.Builder clearParent()
       Required. The location name. For example:
       `projects/PROJECT_ID/locations/LOCATION_ID`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListJobsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The location name. For example:
       `projects/PROJECT_ID/locations/LOCATION_ID`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Requested page size.
      
       The maximum page size is 500. If unspecified, the page size will
       be the maximum. Fewer jobs than requested might be returned,
       even if more jobs exist; use next_page_token to determine if more
       jobs exist.
       
      int32 page_size = 5;
      Specified by:
      getPageSize in interface ListJobsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListJobsRequest.Builder setPageSize(int value)
       Requested page size.
      
       The maximum page size is 500. If unspecified, the page size will
       be the maximum. Fewer jobs than requested might be returned,
       even if more jobs exist; use next_page_token to determine if more
       jobs exist.
       
      int32 page_size = 5;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListJobsRequest.Builder clearPageSize()
       Requested page size.
      
       The maximum page size is 500. If unspecified, the page size will
       be the maximum. Fewer jobs than requested might be returned,
       even if more jobs exist; use next_page_token to determine if more
       jobs exist.
       
      int32 page_size = 5;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       A token identifying a page of results the server will return. To
       request the first page results, page_token must be empty. To
       request the next page of results, page_token must be the value of
       [next_page_token][google.cloud.scheduler.v1.ListJobsResponse.next_page_token]
       returned from the previous call to
       [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
       
      string page_token = 6;
      Specified by:
      getPageToken in interface ListJobsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       A token identifying a page of results the server will return. To
       request the first page results, page_token must be empty. To
       request the next page of results, page_token must be the value of
       [next_page_token][google.cloud.scheduler.v1.ListJobsResponse.next_page_token]
       returned from the previous call to
       [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
       
      string page_token = 6;
      Specified by:
      getPageTokenBytes in interface ListJobsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListJobsRequest.Builder setPageToken(String value)
       A token identifying a page of results the server will return. To
       request the first page results, page_token must be empty. To
       request the next page of results, page_token must be the value of
       [next_page_token][google.cloud.scheduler.v1.ListJobsResponse.next_page_token]
       returned from the previous call to
       [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
       
      string page_token = 6;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListJobsRequest.Builder clearPageToken()
       A token identifying a page of results the server will return. To
       request the first page results, page_token must be empty. To
       request the next page of results, page_token must be the value of
       [next_page_token][google.cloud.scheduler.v1.ListJobsResponse.next_page_token]
       returned from the previous call to
       [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
       
      string page_token = 6;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListJobsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying a page of results the server will return. To
       request the first page results, page_token must be empty. To
       request the next page of results, page_token must be the value of
       [next_page_token][google.cloud.scheduler.v1.ListJobsResponse.next_page_token]
       returned from the previous call to
       [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
       
      string page_token = 6;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.