Package com.google.cloud.dataplex.v1
Class SearchEntriesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchEntriesRequest.Builder>
com.google.cloud.dataplex.v1.SearchEntriesRequest.Builder
- All Implemented Interfaces:
SearchEntriesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchEntriesRequest
public static final class SearchEntriesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchEntriesRequest.Builder>
implements SearchEntriesRequestOrBuilder
Protobuf type
google.cloud.dataplex.v1.SearchEntriesRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Optional.Optional.Optional.Required.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.intOptional.Optional.com.google.protobuf.ByteStringOptional.getQuery()Required.com.google.protobuf.ByteStringRequired.getScope()Optional.com.google.protobuf.ByteStringOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SearchEntriesRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.setNameBytes(com.google.protobuf.ByteString value) Required.setOrderBy(String value) Optional.setOrderByBytes(com.google.protobuf.ByteString value) Optional.setPageSize(int value) Optional.setPageToken(String value) Optional.setPageTokenBytes(com.google.protobuf.ByteString value) Optional.Required.setQueryBytes(com.google.protobuf.ByteString value) Required.Optional.setScopeBytes(com.google.protobuf.ByteString value) Optional.setSemanticSearch(boolean value) Optional.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchEntriesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchEntriesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchEntriesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchEntriesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchEntriesRequest.Builder>
-
mergeFrom
public SearchEntriesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchEntriesRequest.Builder>- Throws:
IOException
-
getName
Required. The project to which the request should be attributed in the following form: `projects/{project}/locations/global`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceSearchEntriesRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The project to which the request should be attributed in the following form: `projects/{project}/locations/global`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceSearchEntriesRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The project to which the request should be attributed in the following form: `projects/{project}/locations/global`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The project to which the request should be attributed in the following form: `projects/{project}/locations/global`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
Required. The project to which the request should be attributed in the following form: `projects/{project}/locations/global`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getQuery
Required. The query against which entries in scope should be matched. The query syntax is defined in [Search syntax for Dataplex Universal Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
string query = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQueryin interfaceSearchEntriesRequestOrBuilder- Returns:
- The query.
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes()Required. The query against which entries in scope should be matched. The query syntax is defined in [Search syntax for Dataplex Universal Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
string query = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQueryBytesin interfaceSearchEntriesRequestOrBuilder- Returns:
- The bytes for query.
-
setQuery
Required. The query against which entries in scope should be matched. The query syntax is defined in [Search syntax for Dataplex Universal Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
string query = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The query to set.- Returns:
- This builder for chaining.
-
clearQuery
Required. The query against which entries in scope should be matched. The query syntax is defined in [Search syntax for Dataplex Universal Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
string query = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setQueryBytes
Required. The query against which entries in scope should be matched. The query syntax is defined in [Search syntax for Dataplex Universal Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
string query = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for query to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()Optional. Number of results in the search page. If <=0, then defaults to 10. Max limit for page_size is 1000. Throws an invalid argument for page_size > 1000.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageSizein interfaceSearchEntriesRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
Optional. Number of results in the search page. If <=0, then defaults to 10. Max limit for page_size is 1000. Throws an invalid argument for page_size > 1000.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
Optional. Number of results in the search page. If <=0, then defaults to 10. Max limit for page_size is 1000. Throws an invalid argument for page_size > 1000.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getPageToken
Optional. Page token received from a previous `SearchEntries` call. Provide this to retrieve the subsequent page.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageTokenin interfaceSearchEntriesRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Optional. Page token received from a previous `SearchEntries` call. Provide this to retrieve the subsequent page.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPageTokenBytesin interfaceSearchEntriesRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
Optional. Page token received from a previous `SearchEntries` call. Provide this to retrieve the subsequent page.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
Optional. Page token received from a previous `SearchEntries` call. Provide this to retrieve the subsequent page.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setPageTokenBytes
Optional. Page token received from a previous `SearchEntries` call. Provide this to retrieve the subsequent page.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getOrderBy
Optional. Specifies the ordering of results. Supported values are: * `relevance` * `last_modified_timestamp` * `last_modified_timestamp asc`
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrderByin interfaceSearchEntriesRequestOrBuilder- Returns:
- The orderBy.
-
getOrderByBytes
public com.google.protobuf.ByteString getOrderByBytes()Optional. Specifies the ordering of results. Supported values are: * `relevance` * `last_modified_timestamp` * `last_modified_timestamp asc`
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrderByBytesin interfaceSearchEntriesRequestOrBuilder- Returns:
- The bytes for orderBy.
-
setOrderBy
Optional. Specifies the ordering of results. Supported values are: * `relevance` * `last_modified_timestamp` * `last_modified_timestamp asc`
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The orderBy to set.- Returns:
- This builder for chaining.
-
clearOrderBy
Optional. Specifies the ordering of results. Supported values are: * `relevance` * `last_modified_timestamp` * `last_modified_timestamp asc`
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setOrderByBytes
Optional. Specifies the ordering of results. Supported values are: * `relevance` * `last_modified_timestamp` * `last_modified_timestamp asc`
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for orderBy to set.- Returns:
- This builder for chaining.
-
getScope
Optional. The scope under which the search should be operating. It must either be `organizations/<org_id>` or `projects/<project_ref>`. If it is unspecified, it defaults to the organization where the project provided in `name` is located.
string scope = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getScopein interfaceSearchEntriesRequestOrBuilder- Returns:
- The scope.
-
getScopeBytes
public com.google.protobuf.ByteString getScopeBytes()Optional. The scope under which the search should be operating. It must either be `organizations/<org_id>` or `projects/<project_ref>`. If it is unspecified, it defaults to the organization where the project provided in `name` is located.
string scope = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getScopeBytesin interfaceSearchEntriesRequestOrBuilder- Returns:
- The bytes for scope.
-
setScope
Optional. The scope under which the search should be operating. It must either be `organizations/<org_id>` or `projects/<project_ref>`. If it is unspecified, it defaults to the organization where the project provided in `name` is located.
string scope = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The scope to set.- Returns:
- This builder for chaining.
-
clearScope
Optional. The scope under which the search should be operating. It must either be `organizations/<org_id>` or `projects/<project_ref>`. If it is unspecified, it defaults to the organization where the project provided in `name` is located.
string scope = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setScopeBytes
Optional. The scope under which the search should be operating. It must either be `organizations/<org_id>` or `projects/<project_ref>`. If it is unspecified, it defaults to the organization where the project provided in `name` is located.
string scope = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for scope to set.- Returns:
- This builder for chaining.
-
getSemanticSearch
public boolean getSemanticSearch()Optional. Specifies whether the search should understand the meaning and intent behind the query, rather than just matching keywords.
bool semantic_search = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSemanticSearchin interfaceSearchEntriesRequestOrBuilder- Returns:
- The semanticSearch.
-
setSemanticSearch
Optional. Specifies whether the search should understand the meaning and intent behind the query, rather than just matching keywords.
bool semantic_search = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The semanticSearch to set.- Returns:
- This builder for chaining.
-
clearSemanticSearch
Optional. Specifies whether the search should understand the meaning and intent behind the query, rather than just matching keywords.
bool semantic_search = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-