Class ListDatasetsRequest.Builder

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

public static final class ListDatasetsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDatasetsRequest.Builder> implements ListDatasetsRequestOrBuilder
 Request message for [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets].
 
Protobuf type google.cloud.automl.v1.ListDatasetsRequest
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    An expression for filtering the results of the request
    Requested page size.
    A token identifying a page of results for the server to return Typically obtained via [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
    Required.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    An expression for filtering the results of the request
    com.google.protobuf.ByteString
    An expression for filtering the results of the request
    int
    Requested page size.
    A token identifying a page of results for the server to return Typically obtained via [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
    com.google.protobuf.ByteString
    A token identifying a page of results for the server to return Typically obtained via [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
    Required.
    com.google.protobuf.ByteString
    Required.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    An expression for filtering the results of the request
    setFilterBytes(com.google.protobuf.ByteString value)
    An expression for filtering the results of the request
    setPageSize(int value)
    Requested page size.
    A token identifying a page of results for the server to return Typically obtained via [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
    setPageTokenBytes(com.google.protobuf.ByteString value)
    A token identifying a page of results for the server to return Typically obtained via [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
    Required.
    setParentBytes(com.google.protobuf.ByteString value)
    Required.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<ListDatasetsRequest.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<ListDatasetsRequest.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<ListDatasetsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. The resource name of the project from which to list datasets.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListDatasetsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the project from which to list datasets.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListDatasetsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

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

      public ListDatasetsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the project from which to list datasets.
       
      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.
      
       * `dataset_metadata` - for existence of the case (e.g.
       `image_classification_dataset_metadata:*`). Some examples of using the filter are:
      
       * `translation_dataset_metadata:*` --> The dataset has
       `translation_dataset_metadata`.
       
      string filter = 3;
      Specified by:
      getFilter in interface ListDatasetsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       An expression for filtering the results of the request.
      
       * `dataset_metadata` - for existence of the case (e.g.
       `image_classification_dataset_metadata:*`). Some examples of using the filter are:
      
       * `translation_dataset_metadata:*` --> The dataset has
       `translation_dataset_metadata`.
       
      string filter = 3;
      Specified by:
      getFilterBytes in interface ListDatasetsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListDatasetsRequest.Builder setFilter(String value)
       An expression for filtering the results of the request.
      
       * `dataset_metadata` - for existence of the case (e.g.
       `image_classification_dataset_metadata:*`). Some examples of using the filter are:
      
       * `translation_dataset_metadata:*` --> The dataset has
       `translation_dataset_metadata`.
       
      string filter = 3;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListDatasetsRequest.Builder clearFilter()
       An expression for filtering the results of the request.
      
       * `dataset_metadata` - for existence of the case (e.g.
       `image_classification_dataset_metadata:*`). Some examples of using the filter are:
      
       * `translation_dataset_metadata:*` --> The dataset has
       `translation_dataset_metadata`.
       
      string filter = 3;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListDatasetsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       An expression for filtering the results of the request.
      
       * `dataset_metadata` - for existence of the case (e.g.
       `image_classification_dataset_metadata:*`). Some examples of using the filter are:
      
       * `translation_dataset_metadata:*` --> The dataset has
       `translation_dataset_metadata`.
       
      string filter = 3;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Requested page size. Server may return fewer results than requested.
       If unspecified, server will pick a default size.
       
      int32 page_size = 4;
      Specified by:
      getPageSize in interface ListDatasetsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListDatasetsRequest.Builder setPageSize(int value)
       Requested page size. Server may return fewer results than requested.
       If unspecified, server will pick a default size.
       
      int32 page_size = 4;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListDatasetsRequest.Builder clearPageSize()
       Requested page size. Server may return fewer results than requested.
       If unspecified, server will pick a default size.
       
      int32 page_size = 4;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       A token identifying a page of results for the server to return
       Typically obtained via
       [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
       [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
       
      string page_token = 6;
      Specified by:
      getPageToken in interface ListDatasetsRequestOrBuilder
      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
       [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
       [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
       
      string page_token = 6;
      Specified by:
      getPageTokenBytes in interface ListDatasetsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

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

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

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