Class ListCustomModelsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListCustomModelsRequest.Builder>
com.google.cloud.discoveryengine.v1beta.ListCustomModelsRequest.Builder
All Implemented Interfaces:
ListCustomModelsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListCustomModelsRequest

public static final class ListCustomModelsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListCustomModelsRequest.Builder> implements ListCustomModelsRequestOrBuilder
 Request message for
 [SearchTuningService.ListCustomModels][google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels]
 method.
 
Protobuf type google.cloud.discoveryengine.v1beta.ListCustomModelsRequest
  • 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<ListCustomModelsRequest.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<ListCustomModelsRequest.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<ListCustomModelsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListCustomModelsRequest.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<ListCustomModelsRequest.Builder>
      Throws:
      IOException
    • getDataStore

      public String getDataStore()
       Required. The resource name of the parent Data Store, such as
       `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`.
       This field is used to identify the data store where to fetch the models
       from.
       
      string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDataStore in interface ListCustomModelsRequestOrBuilder
      Returns:
      The dataStore.
    • getDataStoreBytes

      public com.google.protobuf.ByteString getDataStoreBytes()
       Required. The resource name of the parent Data Store, such as
       `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`.
       This field is used to identify the data store where to fetch the models
       from.
       
      string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDataStoreBytes in interface ListCustomModelsRequestOrBuilder
      Returns:
      The bytes for dataStore.
    • setDataStore

      public ListCustomModelsRequest.Builder setDataStore(String value)
       Required. The resource name of the parent Data Store, such as
       `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`.
       This field is used to identify the data store where to fetch the models
       from.
       
      string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The dataStore to set.
      Returns:
      This builder for chaining.
    • clearDataStore

      public ListCustomModelsRequest.Builder clearDataStore()
       Required. The resource name of the parent Data Store, such as
       `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`.
       This field is used to identify the data store where to fetch the models
       from.
       
      string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setDataStoreBytes

      public ListCustomModelsRequest.Builder setDataStoreBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the parent Data Store, such as
       `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`.
       This field is used to identify the data store where to fetch the models
       from.
       
      string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for dataStore to set.
      Returns:
      This builder for chaining.