Interface CreateSearchConfigRequestOrBuilder (0.5.0)

public interface CreateSearchConfigRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getSearchConfig()

public abstract SearchConfig getSearchConfig()

Required. The search config to create.

.google.cloud.visionai.v1.SearchConfig search_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SearchConfig

The searchConfig.

getSearchConfigId()

public abstract 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-_/. 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
Type Description
String

The searchConfigId.

getSearchConfigIdBytes()

public abstract 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-_/. 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
Type Description
ByteString

The bytes for searchConfigId.

getSearchConfigOrBuilder()

public abstract SearchConfigOrBuilder getSearchConfigOrBuilder()

Required. The search config to create.

.google.cloud.visionai.v1.SearchConfig search_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SearchConfigOrBuilder

hasSearchConfig()

public abstract boolean hasSearchConfig()

Required. The search config to create.

.google.cloud.visionai.v1.SearchConfig search_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the searchConfig field is set.