Class ListPlaybooksResponse.Builder (0.60.0)

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

The response message for Playbooks.ListPlaybooks.

Protobuf type google.cloud.dialogflow.cx.v3beta1.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.v3beta1.Playbook playbooks = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.Playbook playbooks = 1;

Parameter
Name Description
index int
Returns
Type Description
Playbook.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPlaybooksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPlaybooksResponse.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ListPlaybooksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPlaybooksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListPlaybooksResponse.Builder
Overrides

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.v3beta1.Playbook playbooks = 1;

Returns
Type Description
ListPlaybooksResponse.Builder

clone()

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

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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.Playbook playbooks = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPlaybooksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.v3beta1.Playbook playbooks = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPlaybooksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPlaybooksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPlaybooksResponse.Builder
Overrides

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.v3beta1.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.v3beta1.Playbook playbooks = 1;

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListPlaybooksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListPlaybooksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPlaybooksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPlaybooksResponse.Builder
Overrides