public interface CompleteQueryRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getCompany()
If provided, restricts completion to specified company.
|
ByteString |
getCompanyBytes()
If provided, restricts completion to specified company.
|
String |
getLanguageCodes(int index)
The list of languages of the query.
|
ByteString |
getLanguageCodesBytes(int index)
The list of languages of the query.
|
int |
getLanguageCodesCount()
The list of languages of the query.
|
List<String> |
getLanguageCodesList()
The list of languages of the query.
|
int |
getPageSize()
Required.
|
String |
getParent()
Required.
|
ByteString |
getParentBytes()
Required.
|
String |
getQuery()
Required.
|
ByteString |
getQueryBytes()
Required.
|
CompleteQueryRequest.CompletionScope |
getScope()
The scope of the completion.
|
int |
getScopeValue()
The scope of the completion.
|
CompleteQueryRequest.CompletionType |
getType()
The completion topic.
|
int |
getTypeValue()
The completion topic.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getParent()
Required. Resource name of tenant the completion is performed within. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar". If tenant id is unspecified, the default tenant is used, for example, "projects/foo".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString getParentBytes()
Required. Resource name of tenant the completion is performed within. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar". If tenant id is unspecified, the default tenant is used, for example, "projects/foo".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
String getQuery()
Required. The query used to generate suggestions. The maximum number of allowed characters is 255.
string query = 2 [(.google.api.field_behavior) = REQUIRED];
ByteString getQueryBytes()
Required. The query used to generate suggestions. The maximum number of allowed characters is 255.
string query = 2 [(.google.api.field_behavior) = REQUIRED];
List<String> getLanguageCodesList()
The list of languages of the query. This is the BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). The maximum number of allowed characters is 255.
repeated string language_codes = 3;
int getLanguageCodesCount()
The list of languages of the query. This is the BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). The maximum number of allowed characters is 255.
repeated string language_codes = 3;
String getLanguageCodes(int index)
The list of languages of the query. This is the BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). The maximum number of allowed characters is 255.
repeated string language_codes = 3;
index
- The index of the element to return.ByteString getLanguageCodesBytes(int index)
The list of languages of the query. This is the BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). The maximum number of allowed characters is 255.
repeated string language_codes = 3;
index
- The index of the value to return.int getPageSize()
Required. Completion result count. The maximum allowed page size is 10.
int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED];
String getCompany()
If provided, restricts completion to specified company. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz". If tenant id is unspecified, the default tenant is used, for example, "projects/foo".
string company = 5 [(.google.api.resource_reference) = { ... }
ByteString getCompanyBytes()
If provided, restricts completion to specified company. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz". If tenant id is unspecified, the default tenant is used, for example, "projects/foo".
string company = 5 [(.google.api.resource_reference) = { ... }
int getScopeValue()
The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6;
CompleteQueryRequest.CompletionScope getScope()
The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6;
int getTypeValue()
The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7;
CompleteQueryRequest.CompletionType getType()
The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7;
Copyright © 2022 Google LLC. All rights reserved.