Interface CreateSearchConfigRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateSearchConfigRequest, CreateSearchConfigRequest.Builder

@Generated public interface CreateSearchConfigRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Required. The parent resource where this search configuration will be
       created. Format:
       `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource where this search configuration will be
       created. Format:
       `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasSearchConfig

      boolean hasSearchConfig()
       Required. The search config to create.
       
      .google.cloud.visionai.v1.SearchConfig search_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the searchConfig field is set.
    • getSearchConfig

      SearchConfig getSearchConfig()
       Required. The search config to create.
       
      .google.cloud.visionai.v1.SearchConfig search_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The searchConfig.
    • getSearchConfigOrBuilder

      SearchConfigOrBuilder getSearchConfigOrBuilder()
       Required. The search config to create.
       
      .google.cloud.visionai.v1.SearchConfig search_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSearchConfigId

      String getSearchConfigId()
       Required. ID to use for the new search config. Will become the final
       component of the SearchConfig's resource name. This value should be up to
       63 characters, and valid characters are /[a-z][0-9]-_/. The first character
       must be a letter, the last could be a letter or a number.
       
      string search_config_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The searchConfigId.
    • getSearchConfigIdBytes

      com.google.protobuf.ByteString getSearchConfigIdBytes()
       Required. ID to use for the new search config. Will become the final
       component of the SearchConfig's resource name. This value should be up to
       63 characters, and valid characters are /[a-z][0-9]-_/. The first character
       must be a letter, the last could be a letter or a number.
       
      string search_config_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for searchConfigId.