public static final class ListAssistantsRequest.Builder extends GeneratedMessage.Builder<ListAssistantsRequest.Builder> implements ListAssistantsRequestOrBuilderRequest message for the AssistantService.ListAssistants method.
Protobuf type google.cloud.discoveryengine.v1beta.ListAssistantsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListAssistantsRequest.BuilderImplements
ListAssistantsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListAssistantsRequest build()| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest |
|
buildPartial()
public ListAssistantsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest |
|
clear()
public ListAssistantsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest.Builder |
|
clearPageSize()
public ListAssistantsRequest.Builder clearPageSize()Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListAssistantsRequest.Builder clearPageToken()A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest.Builder |
This builder for chaining. |
clearParent()
public ListAssistantsRequest.Builder clearParent() Required. The parent resource name.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListAssistantsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPageSize()
public int getPageSize()Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent() Required. The parent resource name.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The parent resource name.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListAssistantsRequest other)
public ListAssistantsRequest.Builder mergeFrom(ListAssistantsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListAssistantsRequest |
| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAssistantsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListAssistantsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest.Builder |
|
setPageSize(int value)
public ListAssistantsRequest.Builder setPageSize(int value)Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.
int32 page_size = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListAssistantsRequest.Builder setPageToken(String value)A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListAssistantsRequest.Builder setPageTokenBytes(ByteString value)A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListAssistantsRequest.Builder setParent(String value) Required. The parent resource name.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListAssistantsRequest.Builder setParentBytes(ByteString value) Required. The parent resource name.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest.Builder |
This builder for chaining. |