Class ListPlaybooksResponse.Builder (0.94.0)

public static final class ListPlaybooksResponse.Builder extends GeneratedMessage.Builder<ListPlaybooksResponse.Builder> implements ListPlaybooksResponseOrBuilder

The response message for Playbooks.ListPlaybooks.

Protobuf type google.cloud.dialogflow.cx.v3.ListPlaybooksResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllPlaybooks(Iterable<? extends Playbook> values)

public ListPlaybooksResponse.Builder addAllPlaybooks(Iterable<? extends Playbook> values)

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3.Playbook>
Returns
Type Description
ListPlaybooksResponse.Builder

addPlaybooks(Playbook value)

public ListPlaybooksResponse.Builder addPlaybooks(Playbook value)

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Parameter
Name Description
value Playbook
Returns
Type Description
ListPlaybooksResponse.Builder

addPlaybooks(Playbook.Builder builderForValue)

public ListPlaybooksResponse.Builder addPlaybooks(Playbook.Builder builderForValue)

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Parameter
Name Description
builderForValue Playbook.Builder
Returns
Type Description
ListPlaybooksResponse.Builder

addPlaybooks(int index, Playbook value)

public ListPlaybooksResponse.Builder addPlaybooks(int index, Playbook value)

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Parameters
Name Description
index int
value Playbook
Returns
Type Description
ListPlaybooksResponse.Builder

addPlaybooks(int index, Playbook.Builder builderForValue)

public ListPlaybooksResponse.Builder addPlaybooks(int index, Playbook.Builder builderForValue)

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Parameters
Name Description
index int
builderForValue Playbook.Builder
Returns
Type Description
ListPlaybooksResponse.Builder

addPlaybooksBuilder()

public Playbook.Builder addPlaybooksBuilder()

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Returns
Type Description
Playbook.Builder

addPlaybooksBuilder(int index)

public Playbook.Builder addPlaybooksBuilder(int index)

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Parameter
Name Description
index int
Returns
Type Description
Playbook.Builder

build()

public ListPlaybooksResponse build()
Returns
Type Description
ListPlaybooksResponse

buildPartial()

public ListPlaybooksResponse buildPartial()
Returns
Type Description
ListPlaybooksResponse

clear()

public ListPlaybooksResponse.Builder clear()
Returns
Type Description
ListPlaybooksResponse.Builder
Overrides

clearNextPageToken()

public ListPlaybooksResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListPlaybooksResponse.Builder

This builder for chaining.

clearPlaybooks()

public ListPlaybooksResponse.Builder clearPlaybooks()

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Returns
Type Description
ListPlaybooksResponse.Builder

getDefaultInstanceForType()

public ListPlaybooksResponse getDefaultInstanceForType()
Returns
Type Description
ListPlaybooksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getPlaybooks(int index)

public Playbook getPlaybooks(int index)

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Parameter
Name Description
index int
Returns
Type Description
Playbook

getPlaybooksBuilder(int index)

public Playbook.Builder getPlaybooksBuilder(int index)

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Parameter
Name Description
index int
Returns
Type Description
Playbook.Builder

getPlaybooksBuilderList()

public List<Playbook.Builder> getPlaybooksBuilderList()

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Returns
Type Description
List<Builder>

getPlaybooksCount()

public int getPlaybooksCount()

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Returns
Type Description
int

getPlaybooksList()

public List<Playbook> getPlaybooksList()

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Returns
Type Description
List<Playbook>

getPlaybooksOrBuilder(int index)

public PlaybookOrBuilder getPlaybooksOrBuilder(int index)

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Parameter
Name Description
index int
Returns
Type Description
PlaybookOrBuilder

getPlaybooksOrBuilderList()

public List<? extends PlaybookOrBuilder> getPlaybooksOrBuilderList()

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.PlaybookOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPlaybooksResponse other)

public ListPlaybooksResponse.Builder mergeFrom(ListPlaybooksResponse other)
Parameter
Name Description
other ListPlaybooksResponse
Returns
Type Description
ListPlaybooksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListPlaybooksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListPlaybooksResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListPlaybooksResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListPlaybooksResponse.Builder
Overrides

removePlaybooks(int index)

public ListPlaybooksResponse.Builder removePlaybooks(int index)

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPlaybooksResponse.Builder

setNextPageToken(String value)

public ListPlaybooksResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListPlaybooksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPlaybooksResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListPlaybooksResponse.Builder

This builder for chaining.

setPlaybooks(int index, Playbook value)

public ListPlaybooksResponse.Builder setPlaybooks(int index, Playbook value)

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Parameters
Name Description
index int
value Playbook
Returns
Type Description
ListPlaybooksResponse.Builder

setPlaybooks(int index, Playbook.Builder builderForValue)

public ListPlaybooksResponse.Builder setPlaybooks(int index, Playbook.Builder builderForValue)

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3.Playbook playbooks = 1;

Parameters
Name Description
index int
builderForValue Playbook.Builder
Returns
Type Description
ListPlaybooksResponse.Builder