Class ListModelEvaluationsRequest.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<ListModelEvaluationsRequest.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<ListModelEvaluationsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

        public String getParent()
         Required. Resource name of the model to list the model evaluations for.
         If modelId is set as "-", this will list model evaluations from across all
         models of the parent location.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ListModelEvaluationsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. Resource name of the model to list the model evaluations for.
         If modelId is set as "-", this will list model evaluations from across all
         models of the parent location.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ListModelEvaluationsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListModelEvaluationsRequest.Builder setParent​(String value)
         Required. Resource name of the model to list the model evaluations for.
         If modelId is set as "-", this will list model evaluations from across all
         models of the parent 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 ListModelEvaluationsRequest.Builder clearParent()
         Required. Resource name of the model to list the model evaluations for.
         If modelId is set as "-", this will list model evaluations from across all
         models of the parent location.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListModelEvaluationsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. Resource name of the model to list the model evaluations for.
         If modelId is set as "-", this will list model evaluations from across all
         models of the parent 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()
         An expression for filtering the results of the request.
        
           * `annotation_spec_id` - for =, !=  or existence. See example below for
                                  the last.
        
         Some examples of using the filter are:
        
           * `annotation_spec_id!=4` --> The model evaluation was done for
                                     annotation spec with ID different than 4.
           * `NOT annotation_spec_id:*` --> The model evaluation was done for
                                        aggregate of all annotation specs.
         
        string filter = 3;
        Specified by:
        getFilter in interface ListModelEvaluationsRequestOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         An expression for filtering the results of the request.
        
           * `annotation_spec_id` - for =, !=  or existence. See example below for
                                  the last.
        
         Some examples of using the filter are:
        
           * `annotation_spec_id!=4` --> The model evaluation was done for
                                     annotation spec with ID different than 4.
           * `NOT annotation_spec_id:*` --> The model evaluation was done for
                                        aggregate of all annotation specs.
         
        string filter = 3;
        Specified by:
        getFilterBytes in interface ListModelEvaluationsRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public ListModelEvaluationsRequest.Builder setFilter​(String value)
         An expression for filtering the results of the request.
        
           * `annotation_spec_id` - for =, !=  or existence. See example below for
                                  the last.
        
         Some examples of using the filter are:
        
           * `annotation_spec_id!=4` --> The model evaluation was done for
                                     annotation spec with ID different than 4.
           * `NOT annotation_spec_id:*` --> The model evaluation was done for
                                        aggregate of all annotation specs.
         
        string filter = 3;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public ListModelEvaluationsRequest.Builder clearFilter()
         An expression for filtering the results of the request.
        
           * `annotation_spec_id` - for =, !=  or existence. See example below for
                                  the last.
        
         Some examples of using the filter are:
        
           * `annotation_spec_id!=4` --> The model evaluation was done for
                                     annotation spec with ID different than 4.
           * `NOT annotation_spec_id:*` --> The model evaluation was done for
                                        aggregate of all annotation specs.
         
        string filter = 3;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public ListModelEvaluationsRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         An expression for filtering the results of the request.
        
           * `annotation_spec_id` - for =, !=  or existence. See example below for
                                  the last.
        
         Some examples of using the filter are:
        
           * `annotation_spec_id!=4` --> The model evaluation was done for
                                     annotation spec with ID different than 4.
           * `NOT annotation_spec_id:*` --> The model evaluation was done for
                                        aggregate of all annotation specs.
         
        string filter = 3;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • setPageSize

        public ListModelEvaluationsRequest.Builder setPageSize​(int value)
         Requested page size.
         
        int32 page_size = 4;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         A token identifying a page of results for the server to return.
         Typically obtained via
         [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelEvaluationsResponse.next_page_token] of the previous
         [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations] call.
         
        string page_token = 6;
        Specified by:
        getPageToken in interface ListModelEvaluationsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         A token identifying a page of results for the server to return.
         Typically obtained via
         [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelEvaluationsResponse.next_page_token] of the previous
         [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations] call.
         
        string page_token = 6;
        Specified by:
        getPageTokenBytes in interface ListModelEvaluationsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListModelEvaluationsRequest.Builder setPageToken​(String value)
         A token identifying a page of results for the server to return.
         Typically obtained via
         [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelEvaluationsResponse.next_page_token] of the previous
         [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations] call.
         
        string page_token = 6;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListModelEvaluationsRequest.Builder clearPageToken()
         A token identifying a page of results for the server to return.
         Typically obtained via
         [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelEvaluationsResponse.next_page_token] of the previous
         [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations] call.
         
        string page_token = 6;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListModelEvaluationsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         A token identifying a page of results for the server to return.
         Typically obtained via
         [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelEvaluationsResponse.next_page_token] of the previous
         [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations] call.
         
        string page_token = 6;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final ListModelEvaluationsRequest.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<ListModelEvaluationsRequest.Builder>