Class ListFlowsResponse.Builder (0.13.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.v3beta1.ListFlowsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Flow>
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Parameter
NameDescription
valueFlow
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Parameter
NameDescription
builderForValueFlow.Builder
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Parameters
NameDescription
indexint
valueFlow
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Parameters
NameDescription
indexint
builderForValueFlow.Builder
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Flow.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListFlowsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListFlowsResponse.Builder
Overrides

build()

public ListFlowsResponse build()
Returns
TypeDescription
ListFlowsResponse

buildPartial()

public ListFlowsResponse buildPartial()
Returns
TypeDescription
ListFlowsResponse

clear()

public ListFlowsResponse.Builder clear()
Returns
TypeDescription
ListFlowsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListFlowsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Returns
TypeDescription
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
TypeDescription
ListFlowsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFlowsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListFlowsResponse.Builder
Overrides

clone()

public ListFlowsResponse.Builder clone()
Returns
TypeDescription
ListFlowsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFlowsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListFlowsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListFlowsResponse other)

public ListFlowsResponse.Builder mergeFrom(ListFlowsResponse other)
Parameter
NameDescription
otherListFlowsResponse
Returns
TypeDescription
ListFlowsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFlowsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFlowsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListFlowsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListFlowsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFlowsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListFlowsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFlowsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Parameters
NameDescription
indexint
valueFlow
Returns
TypeDescription
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.v3beta1.Flow flows = 1;

Parameters
NameDescription
indexint
builderForValueFlow.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListFlowsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFlowsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListFlowsResponse.Builder
Overrides