Class ListFlowsResponse.Builder (0.48.0)

public static final class ListFlowsResponse.Builder extends GeneratedMessageV3.Builder<ListFlowsResponse.Builder> implements ListFlowsResponseOrBuilder

The response message for Flows.ListFlows.

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

Static Methods

getDescriptor()

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

Methods

addAllFlows(Iterable<? extends Flow> values)

public ListFlowsResponse.Builder addAllFlows(Iterable<? extends Flow> values)

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

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

addFlows(Flow value)

public ListFlowsResponse.Builder addFlows(Flow value)

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Parameter
Name Description
value Flow
Returns
Type Description
ListFlowsResponse.Builder

addFlows(Flow.Builder builderForValue)

public ListFlowsResponse.Builder addFlows(Flow.Builder builderForValue)

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Parameter
Name Description
builderForValue Flow.Builder
Returns
Type Description
ListFlowsResponse.Builder

addFlows(int index, Flow value)

public ListFlowsResponse.Builder addFlows(int index, Flow value)

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Parameters
Name Description
index int
value Flow
Returns
Type Description
ListFlowsResponse.Builder

addFlows(int index, Flow.Builder builderForValue)

public ListFlowsResponse.Builder addFlows(int index, Flow.Builder builderForValue)

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Parameters
Name Description
index int
builderForValue Flow.Builder
Returns
Type Description
ListFlowsResponse.Builder

addFlowsBuilder()

public Flow.Builder addFlowsBuilder()

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Returns
Type Description
Flow.Builder

addFlowsBuilder(int index)

public Flow.Builder addFlowsBuilder(int index)

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Parameter
Name Description
index int
Returns
Type Description
Flow.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListFlowsResponse build()
Returns
Type Description
ListFlowsResponse

buildPartial()

public ListFlowsResponse buildPartial()
Returns
Type Description
ListFlowsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFlows()

public ListFlowsResponse.Builder clearFlows()

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Returns
Type Description
ListFlowsResponse.Builder

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListFlowsResponse getDefaultInstanceForType()
Returns
Type Description
ListFlowsResponse

getDescriptorForType()

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

getFlows(int index)

public Flow getFlows(int index)

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Parameter
Name Description
index int
Returns
Type Description
Flow

getFlowsBuilder(int index)

public Flow.Builder getFlowsBuilder(int index)

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Parameter
Name Description
index int
Returns
Type Description
Flow.Builder

getFlowsBuilderList()

public List<Flow.Builder> getFlowsBuilderList()

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Returns
Type Description
List<Builder>

getFlowsCount()

public int getFlowsCount()

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Returns
Type Description
int

getFlowsList()

public List<Flow> getFlowsList()

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Returns
Type Description
List<Flow>

getFlowsOrBuilder(int index)

public FlowOrBuilder getFlowsOrBuilder(int index)

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Parameter
Name Description
index int
Returns
Type Description
FlowOrBuilder

getFlowsOrBuilderList()

public List<? extends FlowOrBuilder> getFlowsOrBuilderList()

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListFlowsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFlows(int index)

public ListFlowsResponse.Builder removeFlows(int index)

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Parameter
Name Description
index int
Returns
Type Description
ListFlowsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFlows(int index, Flow value)

public ListFlowsResponse.Builder setFlows(int index, Flow value)

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Parameters
Name Description
index int
value Flow
Returns
Type Description
ListFlowsResponse.Builder

setFlows(int index, Flow.Builder builderForValue)

public ListFlowsResponse.Builder setFlows(int index, Flow.Builder builderForValue)

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

repeated .google.cloud.dialogflow.cx.v3.Flow flows = 1;

Parameters
Name Description
index int
builderForValue Flow.Builder
Returns
Type Description
ListFlowsResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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