/** * * * <pre> * Required. * The location name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID`. * </pre> * * <code>string parent = 1;</code> */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; onChanged(); return this; }
/** * * * <pre> * Required. * The location name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID`. * </pre> * * <code>string parent = 1;</code> */ public Builder setParent(java.lang.String value) { if (value == null) { throw new NullPointerException(); } parent_ = value; onChanged(); return this; } /**
/** * * * <pre> * 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.v1beta1.ListJobsResponse.next_page_token] returned from * the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to * switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages. * </pre> * * <code>string page_token = 6;</code> */ public Builder setPageToken(java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageToken_ = value; onChanged(); return this; } /**
/** * * * <pre> * 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.v1beta1.ListJobsResponse.next_page_token] returned from * the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to * switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages. * </pre> * * <code>string page_token = 6;</code> */ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; onChanged(); return this; }
/** * * * <pre> * 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. * </pre> * * <code>int32 page_size = 5;</code> */ public Builder setPageSize(int value) { pageSize_ = value; onChanged(); return this; } /**
/** * * * <pre> * 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.v1beta1.ListJobsResponse.next_page_token] returned from * the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to * switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages. * </pre> * * <code>string page_token = 6;</code> */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.ListJobsRequest other) { if (other == com.google.cloud.scheduler.v1beta1.ListJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * Required. * The location name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID`. * </pre> * * <code>string parent = 1;</code> */ public Builder clearParent() { parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /**
/** * * * <pre> * 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. * </pre> * * <code>int32 page_size = 5;</code> */ public Builder clearPageSize() { pageSize_ = 0; onChanged(); return this; }