public static final class ListKnowledgeBasesRequest.Builder extends GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder> implements ListKnowledgeBasesRequestOrBuilder
Request message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2.KnowledgeBases.ListKnowledgeBases].Protobuf type
google.cloud.dialogflow.v2.ListKnowledgeBasesRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder>
public ListKnowledgeBasesRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder>
public ListKnowledgeBasesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListKnowledgeBasesRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListKnowledgeBasesRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListKnowledgeBasesRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder>
public ListKnowledgeBasesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder>
public ListKnowledgeBasesRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder>
public ListKnowledgeBasesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder>
public ListKnowledgeBasesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder>
public ListKnowledgeBasesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder>
public ListKnowledgeBasesRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListKnowledgeBasesRequest.Builder>
public ListKnowledgeBasesRequest.Builder mergeFrom(ListKnowledgeBasesRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder>
public ListKnowledgeBasesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListKnowledgeBasesRequest.Builder>
IOException
public String getParent()
Required. The project to list of knowledge bases for. Format: `projects/<Project ID>/locations/<Location ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent
in interface ListKnowledgeBasesRequestOrBuilder
public ByteString getParentBytes()
Required. The project to list of knowledge bases for. Format: `projects/<Project ID>/locations/<Location ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes
in interface ListKnowledgeBasesRequestOrBuilder
public ListKnowledgeBasesRequest.Builder setParent(String value)
Required. The project to list of knowledge bases for. Format: `projects/<Project ID>/locations/<Location ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The parent to set.public ListKnowledgeBasesRequest.Builder clearParent()
Required. The project to list of knowledge bases for. Format: `projects/<Project ID>/locations/<Location ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListKnowledgeBasesRequest.Builder setParentBytes(ByteString value)
Required. The project to list of knowledge bases for. Format: `projects/<Project ID>/locations/<Location ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for parent to set.public int getPageSize()
The maximum number of items to return in a single page. By default 10 and at most 100.
int32 page_size = 2;
getPageSize
in interface ListKnowledgeBasesRequestOrBuilder
public ListKnowledgeBasesRequest.Builder setPageSize(int value)
The maximum number of items to return in a single page. By default 10 and at most 100.
int32 page_size = 2;
value
- The pageSize to set.public ListKnowledgeBasesRequest.Builder clearPageSize()
The maximum number of items to return in a single page. By default 10 and at most 100.
int32 page_size = 2;
public String getPageToken()
The next_page_token value returned from a previous list request.
string page_token = 3;
getPageToken
in interface ListKnowledgeBasesRequestOrBuilder
public ByteString getPageTokenBytes()
The next_page_token value returned from a previous list request.
string page_token = 3;
getPageTokenBytes
in interface ListKnowledgeBasesRequestOrBuilder
public ListKnowledgeBasesRequest.Builder setPageToken(String value)
The next_page_token value returned from a previous list request.
string page_token = 3;
value
- The pageToken to set.public ListKnowledgeBasesRequest.Builder clearPageToken()
The next_page_token value returned from a previous list request.
string page_token = 3;
public ListKnowledgeBasesRequest.Builder setPageTokenBytes(ByteString value)
The next_page_token value returned from a previous list request.
string page_token = 3;
value
- The bytes for pageToken to set.public String getFilter()
The filter expression used to filter knowledge bases returned by the list method. The expression has the following syntax: <field> <operator> <value> [AND <field> <operator> <value>] ... The following fields and operators are supported: * display_name with has(:) operator * language_code with equals(=) operator Examples: * 'language_code=en-us' matches knowledge bases with en-us language code. * 'display_name:articles' matches knowledge bases whose display name contains "articles". * 'display_name:"Best Articles"' matches knowledge bases whose display name contains "Best Articles". * 'language_code=en-gb AND display_name=articles' matches all knowledge bases whose display name contains "articles" and whose language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op and will result in no filtering. For more information about filtering, see [API Filtering](https://aip.dev/160).
string filter = 4;
getFilter
in interface ListKnowledgeBasesRequestOrBuilder
public ByteString getFilterBytes()
The filter expression used to filter knowledge bases returned by the list method. The expression has the following syntax: <field> <operator> <value> [AND <field> <operator> <value>] ... The following fields and operators are supported: * display_name with has(:) operator * language_code with equals(=) operator Examples: * 'language_code=en-us' matches knowledge bases with en-us language code. * 'display_name:articles' matches knowledge bases whose display name contains "articles". * 'display_name:"Best Articles"' matches knowledge bases whose display name contains "Best Articles". * 'language_code=en-gb AND display_name=articles' matches all knowledge bases whose display name contains "articles" and whose language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op and will result in no filtering. For more information about filtering, see [API Filtering](https://aip.dev/160).
string filter = 4;
getFilterBytes
in interface ListKnowledgeBasesRequestOrBuilder
public ListKnowledgeBasesRequest.Builder setFilter(String value)
The filter expression used to filter knowledge bases returned by the list method. The expression has the following syntax: <field> <operator> <value> [AND <field> <operator> <value>] ... The following fields and operators are supported: * display_name with has(:) operator * language_code with equals(=) operator Examples: * 'language_code=en-us' matches knowledge bases with en-us language code. * 'display_name:articles' matches knowledge bases whose display name contains "articles". * 'display_name:"Best Articles"' matches knowledge bases whose display name contains "Best Articles". * 'language_code=en-gb AND display_name=articles' matches all knowledge bases whose display name contains "articles" and whose language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op and will result in no filtering. For more information about filtering, see [API Filtering](https://aip.dev/160).
string filter = 4;
value
- The filter to set.public ListKnowledgeBasesRequest.Builder clearFilter()
The filter expression used to filter knowledge bases returned by the list method. The expression has the following syntax: <field> <operator> <value> [AND <field> <operator> <value>] ... The following fields and operators are supported: * display_name with has(:) operator * language_code with equals(=) operator Examples: * 'language_code=en-us' matches knowledge bases with en-us language code. * 'display_name:articles' matches knowledge bases whose display name contains "articles". * 'display_name:"Best Articles"' matches knowledge bases whose display name contains "Best Articles". * 'language_code=en-gb AND display_name=articles' matches all knowledge bases whose display name contains "articles" and whose language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op and will result in no filtering. For more information about filtering, see [API Filtering](https://aip.dev/160).
string filter = 4;
public ListKnowledgeBasesRequest.Builder setFilterBytes(ByteString value)
The filter expression used to filter knowledge bases returned by the list method. The expression has the following syntax: <field> <operator> <value> [AND <field> <operator> <value>] ... The following fields and operators are supported: * display_name with has(:) operator * language_code with equals(=) operator Examples: * 'language_code=en-us' matches knowledge bases with en-us language code. * 'display_name:articles' matches knowledge bases whose display name contains "articles". * 'display_name:"Best Articles"' matches knowledge bases whose display name contains "Best Articles". * 'language_code=en-gb AND display_name=articles' matches all knowledge bases whose display name contains "articles" and whose language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op and will result in no filtering. For more information about filtering, see [API Filtering](https://aip.dev/160).
string filter = 4;
value
- The bytes for filter to set.public final ListKnowledgeBasesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder>
public final ListKnowledgeBasesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListKnowledgeBasesRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.