Class ListPlaybookVersionsResponse.Builder (0.55.0)

public static final class ListPlaybookVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListPlaybookVersionsResponse.Builder> implements ListPlaybookVersionsResponseOrBuilder

The response message for Playbooks.ListPlaybookVersions.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ListPlaybookVersionsResponse

Static Methods

getDescriptor()

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

Methods

addAllPlaybookVersions(Iterable<? extends PlaybookVersion> values)

public ListPlaybookVersionsResponse.Builder addAllPlaybookVersions(Iterable<? extends PlaybookVersion> values)

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.PlaybookVersion>
Returns
Type Description
ListPlaybookVersionsResponse.Builder

addPlaybookVersions(PlaybookVersion value)

public ListPlaybookVersionsResponse.Builder addPlaybookVersions(PlaybookVersion value)

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Parameter
Name Description
value PlaybookVersion
Returns
Type Description
ListPlaybookVersionsResponse.Builder

addPlaybookVersions(PlaybookVersion.Builder builderForValue)

public ListPlaybookVersionsResponse.Builder addPlaybookVersions(PlaybookVersion.Builder builderForValue)

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Parameter
Name Description
builderForValue PlaybookVersion.Builder
Returns
Type Description
ListPlaybookVersionsResponse.Builder

addPlaybookVersions(int index, PlaybookVersion value)

public ListPlaybookVersionsResponse.Builder addPlaybookVersions(int index, PlaybookVersion value)

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Parameters
Name Description
index int
value PlaybookVersion
Returns
Type Description
ListPlaybookVersionsResponse.Builder

addPlaybookVersions(int index, PlaybookVersion.Builder builderForValue)

public ListPlaybookVersionsResponse.Builder addPlaybookVersions(int index, PlaybookVersion.Builder builderForValue)

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Parameters
Name Description
index int
builderForValue PlaybookVersion.Builder
Returns
Type Description
ListPlaybookVersionsResponse.Builder

addPlaybookVersionsBuilder()

public PlaybookVersion.Builder addPlaybookVersionsBuilder()

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Returns
Type Description
PlaybookVersion.Builder

addPlaybookVersionsBuilder(int index)

public PlaybookVersion.Builder addPlaybookVersionsBuilder(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
PlaybookVersion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPlaybookVersionsResponse build()
Returns
Type Description
ListPlaybookVersionsResponse

buildPartial()

public ListPlaybookVersionsResponse buildPartial()
Returns
Type Description
ListPlaybookVersionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListPlaybookVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListPlaybookVersionsResponse.Builder
Overrides

clearNextPageToken()

public ListPlaybookVersionsResponse.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
ListPlaybookVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPlaybookVersions()

public ListPlaybookVersionsResponse.Builder clearPlaybookVersions()

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Returns
Type Description
ListPlaybookVersionsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPlaybookVersionsResponse getDefaultInstanceForType()
Returns
Type Description
ListPlaybookVersionsResponse

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.

getPlaybookVersions(int index)

public PlaybookVersion getPlaybookVersions(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
PlaybookVersion

getPlaybookVersionsBuilder(int index)

public PlaybookVersion.Builder getPlaybookVersionsBuilder(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
PlaybookVersion.Builder

getPlaybookVersionsBuilderList()

public List<PlaybookVersion.Builder> getPlaybookVersionsBuilderList()

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Returns
Type Description
List<Builder>

getPlaybookVersionsCount()

public int getPlaybookVersionsCount()

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Returns
Type Description
int

getPlaybookVersionsList()

public List<PlaybookVersion> getPlaybookVersionsList()

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Returns
Type Description
List<PlaybookVersion>

getPlaybookVersionsOrBuilder(int index)

public PlaybookVersionOrBuilder getPlaybookVersionsOrBuilder(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
PlaybookVersionOrBuilder

getPlaybookVersionsOrBuilderList()

public List<? extends PlaybookVersionOrBuilder> getPlaybookVersionsOrBuilderList()

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPlaybookVersionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPlaybookVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPlaybookVersionsResponse.Builder
Overrides

removePlaybookVersions(int index)

public ListPlaybookVersionsResponse.Builder removePlaybookVersions(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPlaybookVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListPlaybookVersionsResponse.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
ListPlaybookVersionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPlaybookVersionsResponse.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
ListPlaybookVersionsResponse.Builder

This builder for chaining.

setPlaybookVersions(int index, PlaybookVersion value)

public ListPlaybookVersionsResponse.Builder setPlaybookVersions(int index, PlaybookVersion value)

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Parameters
Name Description
index int
value PlaybookVersion
Returns
Type Description
ListPlaybookVersionsResponse.Builder

setPlaybookVersions(int index, PlaybookVersion.Builder builderForValue)

public ListPlaybookVersionsResponse.Builder setPlaybookVersions(int index, PlaybookVersion.Builder builderForValue)

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

repeated .google.cloud.dialogflow.cx.v3beta1.PlaybookVersion playbook_versions = 1;

Parameters
Name Description
index int
builderForValue PlaybookVersion.Builder
Returns
Type Description
ListPlaybookVersionsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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