Class SearchEvaluationsRequest.Builder

    • Method Detail

      • getDescriptor

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

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

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

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

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

        public SearchEvaluationsRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchEvaluationsRequest.Builder>
      • addRepeatedField

        public SearchEvaluationsRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchEvaluationsRequest.Builder>
      • isInitialized

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

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

        public String getParent()
         Required. Evaluation search parent (project ID). Format:
         "projects/<var>{project_id}</var>"
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface SearchEvaluationsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. Evaluation search parent (project ID). Format:
         "projects/<var>{project_id}</var>"
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface SearchEvaluationsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public SearchEvaluationsRequest.Builder setParent​(String value)
         Required. Evaluation search parent (project ID). Format:
         "projects/<var>{project_id}</var>"
         
        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 SearchEvaluationsRequest.Builder clearParent()
         Required. Evaluation search parent (project ID). Format:
         "projects/<var>{project_id}</var>"
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public SearchEvaluationsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. Evaluation search parent (project ID). Format:
         "projects/<var>{project_id}</var>"
         
        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()
         Optional. To search evaluations, you can filter by the following:
        
         * evaluation<span>_</span>job.evaluation_job_id (the last part of
           [EvaluationJob.name][google.cloud.datalabeling.v1beta1.EvaluationJob.name])
         * evaluation<span>_</span>job.model_id (the <var>{model_name}</var> portion
           of [EvaluationJob.modelVersion][google.cloud.datalabeling.v1beta1.EvaluationJob.model_version])
         * evaluation<span>_</span>job.evaluation_job_run_time_start (Minimum
           threshold for the
           [evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time] that created
           the evaluation)
         * evaluation<span>_</span>job.evaluation_job_run_time_end (Maximum
           threshold for the
           [evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time] that created
           the evaluation)
         * evaluation<span>_</span>job.job_state ([EvaluationJob.state][google.cloud.datalabeling.v1beta1.EvaluationJob.state])
         * annotation<span>_</span>spec.display_name (the Evaluation contains a
           metric for the annotation spec with this
           [displayName][google.cloud.datalabeling.v1beta1.AnnotationSpec.display_name])
        
         To filter by multiple critiera, use the `AND` operator or the `OR`
         operator. The following examples shows a string that filters by several
         critiera:
        
         "evaluation<span>_</span>job.evaluation_job_id =
         <var>{evaluation_job_id}</var> AND evaluation<span>_</span>job.model_id =
         <var>{model_name}</var> AND
         evaluation<span>_</span>job.evaluation_job_run_time_start =
         <var>{timestamp_1}</var> AND
         evaluation<span>_</span>job.evaluation_job_run_time_end =
         <var>{timestamp_2}</var> AND annotation<span>_</span>spec.display_name =
         <var>{display_name}</var>"
         
        string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getFilter in interface SearchEvaluationsRequestOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         Optional. To search evaluations, you can filter by the following:
        
         * evaluation<span>_</span>job.evaluation_job_id (the last part of
           [EvaluationJob.name][google.cloud.datalabeling.v1beta1.EvaluationJob.name])
         * evaluation<span>_</span>job.model_id (the <var>{model_name}</var> portion
           of [EvaluationJob.modelVersion][google.cloud.datalabeling.v1beta1.EvaluationJob.model_version])
         * evaluation<span>_</span>job.evaluation_job_run_time_start (Minimum
           threshold for the
           [evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time] that created
           the evaluation)
         * evaluation<span>_</span>job.evaluation_job_run_time_end (Maximum
           threshold for the
           [evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time] that created
           the evaluation)
         * evaluation<span>_</span>job.job_state ([EvaluationJob.state][google.cloud.datalabeling.v1beta1.EvaluationJob.state])
         * annotation<span>_</span>spec.display_name (the Evaluation contains a
           metric for the annotation spec with this
           [displayName][google.cloud.datalabeling.v1beta1.AnnotationSpec.display_name])
        
         To filter by multiple critiera, use the `AND` operator or the `OR`
         operator. The following examples shows a string that filters by several
         critiera:
        
         "evaluation<span>_</span>job.evaluation_job_id =
         <var>{evaluation_job_id}</var> AND evaluation<span>_</span>job.model_id =
         <var>{model_name}</var> AND
         evaluation<span>_</span>job.evaluation_job_run_time_start =
         <var>{timestamp_1}</var> AND
         evaluation<span>_</span>job.evaluation_job_run_time_end =
         <var>{timestamp_2}</var> AND annotation<span>_</span>spec.display_name =
         <var>{display_name}</var>"
         
        string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getFilterBytes in interface SearchEvaluationsRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public SearchEvaluationsRequest.Builder setFilter​(String value)
         Optional. To search evaluations, you can filter by the following:
        
         * evaluation<span>_</span>job.evaluation_job_id (the last part of
           [EvaluationJob.name][google.cloud.datalabeling.v1beta1.EvaluationJob.name])
         * evaluation<span>_</span>job.model_id (the <var>{model_name}</var> portion
           of [EvaluationJob.modelVersion][google.cloud.datalabeling.v1beta1.EvaluationJob.model_version])
         * evaluation<span>_</span>job.evaluation_job_run_time_start (Minimum
           threshold for the
           [evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time] that created
           the evaluation)
         * evaluation<span>_</span>job.evaluation_job_run_time_end (Maximum
           threshold for the
           [evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time] that created
           the evaluation)
         * evaluation<span>_</span>job.job_state ([EvaluationJob.state][google.cloud.datalabeling.v1beta1.EvaluationJob.state])
         * annotation<span>_</span>spec.display_name (the Evaluation contains a
           metric for the annotation spec with this
           [displayName][google.cloud.datalabeling.v1beta1.AnnotationSpec.display_name])
        
         To filter by multiple critiera, use the `AND` operator or the `OR`
         operator. The following examples shows a string that filters by several
         critiera:
        
         "evaluation<span>_</span>job.evaluation_job_id =
         <var>{evaluation_job_id}</var> AND evaluation<span>_</span>job.model_id =
         <var>{model_name}</var> AND
         evaluation<span>_</span>job.evaluation_job_run_time_start =
         <var>{timestamp_1}</var> AND
         evaluation<span>_</span>job.evaluation_job_run_time_end =
         <var>{timestamp_2}</var> AND annotation<span>_</span>spec.display_name =
         <var>{display_name}</var>"
         
        string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public SearchEvaluationsRequest.Builder clearFilter()
         Optional. To search evaluations, you can filter by the following:
        
         * evaluation<span>_</span>job.evaluation_job_id (the last part of
           [EvaluationJob.name][google.cloud.datalabeling.v1beta1.EvaluationJob.name])
         * evaluation<span>_</span>job.model_id (the <var>{model_name}</var> portion
           of [EvaluationJob.modelVersion][google.cloud.datalabeling.v1beta1.EvaluationJob.model_version])
         * evaluation<span>_</span>job.evaluation_job_run_time_start (Minimum
           threshold for the
           [evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time] that created
           the evaluation)
         * evaluation<span>_</span>job.evaluation_job_run_time_end (Maximum
           threshold for the
           [evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time] that created
           the evaluation)
         * evaluation<span>_</span>job.job_state ([EvaluationJob.state][google.cloud.datalabeling.v1beta1.EvaluationJob.state])
         * annotation<span>_</span>spec.display_name (the Evaluation contains a
           metric for the annotation spec with this
           [displayName][google.cloud.datalabeling.v1beta1.AnnotationSpec.display_name])
        
         To filter by multiple critiera, use the `AND` operator or the `OR`
         operator. The following examples shows a string that filters by several
         critiera:
        
         "evaluation<span>_</span>job.evaluation_job_id =
         <var>{evaluation_job_id}</var> AND evaluation<span>_</span>job.model_id =
         <var>{model_name}</var> AND
         evaluation<span>_</span>job.evaluation_job_run_time_start =
         <var>{timestamp_1}</var> AND
         evaluation<span>_</span>job.evaluation_job_run_time_end =
         <var>{timestamp_2}</var> AND annotation<span>_</span>spec.display_name =
         <var>{display_name}</var>"
         
        string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setFilterBytes

        public SearchEvaluationsRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         Optional. To search evaluations, you can filter by the following:
        
         * evaluation<span>_</span>job.evaluation_job_id (the last part of
           [EvaluationJob.name][google.cloud.datalabeling.v1beta1.EvaluationJob.name])
         * evaluation<span>_</span>job.model_id (the <var>{model_name}</var> portion
           of [EvaluationJob.modelVersion][google.cloud.datalabeling.v1beta1.EvaluationJob.model_version])
         * evaluation<span>_</span>job.evaluation_job_run_time_start (Minimum
           threshold for the
           [evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time] that created
           the evaluation)
         * evaluation<span>_</span>job.evaluation_job_run_time_end (Maximum
           threshold for the
           [evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time] that created
           the evaluation)
         * evaluation<span>_</span>job.job_state ([EvaluationJob.state][google.cloud.datalabeling.v1beta1.EvaluationJob.state])
         * annotation<span>_</span>spec.display_name (the Evaluation contains a
           metric for the annotation spec with this
           [displayName][google.cloud.datalabeling.v1beta1.AnnotationSpec.display_name])
        
         To filter by multiple critiera, use the `AND` operator or the `OR`
         operator. The following examples shows a string that filters by several
         critiera:
        
         "evaluation<span>_</span>job.evaluation_job_id =
         <var>{evaluation_job_id}</var> AND evaluation<span>_</span>job.model_id =
         <var>{model_name}</var> AND
         evaluation<span>_</span>job.evaluation_job_run_time_start =
         <var>{timestamp_1}</var> AND
         evaluation<span>_</span>job.evaluation_job_run_time_end =
         <var>{timestamp_2}</var> AND annotation<span>_</span>spec.display_name =
         <var>{display_name}</var>"
         
        string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • getPageSize

        public int getPageSize()
         Optional. Requested page size. Server may return fewer results than
         requested. Default value is 100.
         
        int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageSize in interface SearchEvaluationsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public SearchEvaluationsRequest.Builder setPageSize​(int value)
         Optional. Requested page size. Server may return fewer results than
         requested. Default value is 100.
         
        int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public SearchEvaluationsRequest.Builder clearPageSize()
         Optional. Requested page size. Server may return fewer results than
         requested. Default value is 100.
         
        int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         Optional. A token identifying a page of results for the server to return.
         Typically obtained by the
         [nextPageToken][google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse.next_page_token] of the response
         to a previous search request.
        
         If you don't specify this field, the API call requests the first page of
         the search.
         
        string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageToken in interface SearchEvaluationsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         Optional. A token identifying a page of results for the server to return.
         Typically obtained by the
         [nextPageToken][google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse.next_page_token] of the response
         to a previous search request.
        
         If you don't specify this field, the API call requests the first page of
         the search.
         
        string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageTokenBytes in interface SearchEvaluationsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public SearchEvaluationsRequest.Builder setPageToken​(String value)
         Optional. A token identifying a page of results for the server to return.
         Typically obtained by the
         [nextPageToken][google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse.next_page_token] of the response
         to a previous search request.
        
         If you don't specify this field, the API call requests the first page of
         the search.
         
        string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public SearchEvaluationsRequest.Builder clearPageToken()
         Optional. A token identifying a page of results for the server to return.
         Typically obtained by the
         [nextPageToken][google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse.next_page_token] of the response
         to a previous search request.
        
         If you don't specify this field, the API call requests the first page of
         the search.
         
        string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public SearchEvaluationsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         Optional. A token identifying a page of results for the server to return.
         Typically obtained by the
         [nextPageToken][google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse.next_page_token] of the response
         to a previous search request.
        
         If you don't specify this field, the API call requests the first page of
         the search.
         
        string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final SearchEvaluationsRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchEvaluationsRequest.Builder>
      • mergeUnknownFields

        public final SearchEvaluationsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchEvaluationsRequest.Builder>