Class ListNasJobsRequest.Builder

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

public static final class ListNasJobsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListNasJobsRequest.Builder> implements ListNasJobsRequestOrBuilder
 Request message for
 [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs].
 
Protobuf type google.cloud.aiplatform.v1.ListNasJobsRequest
  • 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<ListNasJobsRequest.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<ListNasJobsRequest.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<ListNasJobsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. The resource name of the Location to list the NasJobs
       from. Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListNasJobsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the Location to list the NasJobs
       from. Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListNasJobsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListNasJobsRequest.Builder setParent(String value)
       Required. The resource name of the Location to list the NasJobs
       from. Format: `projects/{project}/locations/{location}`
       
      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 ListNasJobsRequest.Builder clearParent()
       Required. The resource name of the Location to list the NasJobs
       from. Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListNasJobsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the Location to list the NasJobs
       from. Format: `projects/{project}/locations/{location}`
       
      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.
    • getFilter

      public String getFilter()
       The standard list filter.
      
       Supported fields:
      
       * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
       * `state` supports `=`, `!=` comparisons.
       * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
       `create_time` must be in RFC 3339 format.
       * `labels` supports general map functions that is:
       `labels.key=value` - key:value equality
       `labels.key:* - key existence
      
       Some examples of using the filter are:
      
       * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
       * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
       * `NOT display_name="my_job"`
       * `create_time>"2021-05-18T00:00:00Z"`
       * `labels.keyA=valueA`
       * `labels.keyB:*`
       
      string filter = 2;
      Specified by:
      getFilter in interface ListNasJobsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       The standard list filter.
      
       Supported fields:
      
       * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
       * `state` supports `=`, `!=` comparisons.
       * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
       `create_time` must be in RFC 3339 format.
       * `labels` supports general map functions that is:
       `labels.key=value` - key:value equality
       `labels.key:* - key existence
      
       Some examples of using the filter are:
      
       * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
       * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
       * `NOT display_name="my_job"`
       * `create_time>"2021-05-18T00:00:00Z"`
       * `labels.keyA=valueA`
       * `labels.keyB:*`
       
      string filter = 2;
      Specified by:
      getFilterBytes in interface ListNasJobsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListNasJobsRequest.Builder setFilter(String value)
       The standard list filter.
      
       Supported fields:
      
       * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
       * `state` supports `=`, `!=` comparisons.
       * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
       `create_time` must be in RFC 3339 format.
       * `labels` supports general map functions that is:
       `labels.key=value` - key:value equality
       `labels.key:* - key existence
      
       Some examples of using the filter are:
      
       * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
       * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
       * `NOT display_name="my_job"`
       * `create_time>"2021-05-18T00:00:00Z"`
       * `labels.keyA=valueA`
       * `labels.keyB:*`
       
      string filter = 2;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListNasJobsRequest.Builder clearFilter()
       The standard list filter.
      
       Supported fields:
      
       * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
       * `state` supports `=`, `!=` comparisons.
       * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
       `create_time` must be in RFC 3339 format.
       * `labels` supports general map functions that is:
       `labels.key=value` - key:value equality
       `labels.key:* - key existence
      
       Some examples of using the filter are:
      
       * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
       * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
       * `NOT display_name="my_job"`
       * `create_time>"2021-05-18T00:00:00Z"`
       * `labels.keyA=valueA`
       * `labels.keyB:*`
       
      string filter = 2;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListNasJobsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       The standard list filter.
      
       Supported fields:
      
       * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
       * `state` supports `=`, `!=` comparisons.
       * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
       `create_time` must be in RFC 3339 format.
       * `labels` supports general map functions that is:
       `labels.key=value` - key:value equality
       `labels.key:* - key existence
      
       Some examples of using the filter are:
      
       * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
       * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
       * `NOT display_name="my_job"`
       * `create_time>"2021-05-18T00:00:00Z"`
       * `labels.keyA=valueA`
       * `labels.keyB:*`
       
      string filter = 2;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The standard list page size.
       
      int32 page_size = 3;
      Specified by:
      getPageSize in interface ListNasJobsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListNasJobsRequest.Builder setPageSize(int value)
       The standard list page size.
       
      int32 page_size = 3;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListNasJobsRequest.Builder clearPageSize()
       The standard list page size.
       
      int32 page_size = 3;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       The standard list page token.
       Typically obtained via
       [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
       of the previous
       [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
       call.
       
      string page_token = 4;
      Specified by:
      getPageToken in interface ListNasJobsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       The standard list page token.
       Typically obtained via
       [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
       of the previous
       [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
       call.
       
      string page_token = 4;
      Specified by:
      getPageTokenBytes in interface ListNasJobsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListNasJobsRequest.Builder setPageToken(String value)
       The standard list page token.
       Typically obtained via
       [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
       of the previous
       [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
       call.
       
      string page_token = 4;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListNasJobsRequest.Builder clearPageToken()
       The standard list page token.
       Typically obtained via
       [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
       of the previous
       [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
       call.
       
      string page_token = 4;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListNasJobsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       The standard list page token.
       Typically obtained via
       [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
       of the previous
       [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
       call.
       
      string page_token = 4;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • hasReadMask

      public boolean hasReadMask()
       Mask specifying which fields to read.
       
      .google.protobuf.FieldMask read_mask = 5;
      Specified by:
      hasReadMask in interface ListNasJobsRequestOrBuilder
      Returns:
      Whether the readMask field is set.
    • getReadMask

      public com.google.protobuf.FieldMask getReadMask()
       Mask specifying which fields to read.
       
      .google.protobuf.FieldMask read_mask = 5;
      Specified by:
      getReadMask in interface ListNasJobsRequestOrBuilder
      Returns:
      The readMask.
    • setReadMask

      public ListNasJobsRequest.Builder setReadMask(com.google.protobuf.FieldMask value)
       Mask specifying which fields to read.
       
      .google.protobuf.FieldMask read_mask = 5;
    • setReadMask

      public ListNasJobsRequest.Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Mask specifying which fields to read.
       
      .google.protobuf.FieldMask read_mask = 5;
    • mergeReadMask

      public ListNasJobsRequest.Builder mergeReadMask(com.google.protobuf.FieldMask value)
       Mask specifying which fields to read.
       
      .google.protobuf.FieldMask read_mask = 5;
    • clearReadMask

      public ListNasJobsRequest.Builder clearReadMask()
       Mask specifying which fields to read.
       
      .google.protobuf.FieldMask read_mask = 5;
    • getReadMaskBuilder

      public com.google.protobuf.FieldMask.Builder getReadMaskBuilder()
       Mask specifying which fields to read.
       
      .google.protobuf.FieldMask read_mask = 5;
    • getReadMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder()
       Mask specifying which fields to read.
       
      .google.protobuf.FieldMask read_mask = 5;
      Specified by:
      getReadMaskOrBuilder in interface ListNasJobsRequestOrBuilder