Class ListTransitionRouteGroupsResponse.Builder (0.14.1)

public static final class ListTransitionRouteGroupsResponse.Builder extends GeneratedMessageV3.Builder<ListTransitionRouteGroupsResponse.Builder> implements ListTransitionRouteGroupsResponseOrBuilder

The response message for TransitionRouteGroups.ListTransitionRouteGroups.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllTransitionRouteGroups(Iterable<? extends TransitionRouteGroup> values)

public ListTransitionRouteGroupsResponse.Builder addAllTransitionRouteGroups(Iterable<? extends TransitionRouteGroup> values)

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3.TransitionRouteGroup>
Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTransitionRouteGroups(TransitionRouteGroup value)

public ListTransitionRouteGroupsResponse.Builder addTransitionRouteGroups(TransitionRouteGroup value)

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Parameter
NameDescription
valueTransitionRouteGroup
Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder

addTransitionRouteGroups(TransitionRouteGroup.Builder builderForValue)

public ListTransitionRouteGroupsResponse.Builder addTransitionRouteGroups(TransitionRouteGroup.Builder builderForValue)

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Parameter
NameDescription
builderForValueTransitionRouteGroup.Builder
Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder

addTransitionRouteGroups(int index, TransitionRouteGroup value)

public ListTransitionRouteGroupsResponse.Builder addTransitionRouteGroups(int index, TransitionRouteGroup value)

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Parameters
NameDescription
indexint
valueTransitionRouteGroup
Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder

addTransitionRouteGroups(int index, TransitionRouteGroup.Builder builderForValue)

public ListTransitionRouteGroupsResponse.Builder addTransitionRouteGroups(int index, TransitionRouteGroup.Builder builderForValue)

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Parameters
NameDescription
indexint
builderForValueTransitionRouteGroup.Builder
Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder

addTransitionRouteGroupsBuilder()

public TransitionRouteGroup.Builder addTransitionRouteGroupsBuilder()

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Returns
TypeDescription
TransitionRouteGroup.Builder

addTransitionRouteGroupsBuilder(int index)

public TransitionRouteGroup.Builder addTransitionRouteGroupsBuilder(int index)

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRouteGroup.Builder

build()

public ListTransitionRouteGroupsResponse build()
Returns
TypeDescription
ListTransitionRouteGroupsResponse

buildPartial()

public ListTransitionRouteGroupsResponse buildPartial()
Returns
TypeDescription
ListTransitionRouteGroupsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTransitionRouteGroupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder
Overrides

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTransitionRouteGroups()

public ListTransitionRouteGroupsResponse.Builder clearTransitionRouteGroups()

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTransitionRouteGroupsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTransitionRouteGroupsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

getTransitionRouteGroups(int index)

public TransitionRouteGroup getTransitionRouteGroups(int index)

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRouteGroup

getTransitionRouteGroupsBuilder(int index)

public TransitionRouteGroup.Builder getTransitionRouteGroupsBuilder(int index)

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRouteGroup.Builder

getTransitionRouteGroupsBuilderList()

public List<TransitionRouteGroup.Builder> getTransitionRouteGroupsBuilderList()

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Returns
TypeDescription
List<Builder>

getTransitionRouteGroupsCount()

public int getTransitionRouteGroupsCount()

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Returns
TypeDescription
int

getTransitionRouteGroupsList()

public List<TransitionRouteGroup> getTransitionRouteGroupsList()

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Returns
TypeDescription
List<TransitionRouteGroup>

getTransitionRouteGroupsOrBuilder(int index)

public TransitionRouteGroupOrBuilder getTransitionRouteGroupsOrBuilder(int index)

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRouteGroupOrBuilder

getTransitionRouteGroupsOrBuilderList()

public List<? extends TransitionRouteGroupOrBuilder> getTransitionRouteGroupsOrBuilderList()

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3.TransitionRouteGroupOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTransitionRouteGroupsResponse other)

public ListTransitionRouteGroupsResponse.Builder mergeFrom(ListTransitionRouteGroupsResponse other)
Parameter
NameDescription
otherListTransitionRouteGroupsResponse
Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTransitionRouteGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder
Overrides

removeTransitionRouteGroups(int index)

public ListTransitionRouteGroupsResponse.Builder removeTransitionRouteGroups(int index)

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

public ListTransitionRouteGroupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder
Overrides

setTransitionRouteGroups(int index, TransitionRouteGroup value)

public ListTransitionRouteGroupsResponse.Builder setTransitionRouteGroups(int index, TransitionRouteGroup value)

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Parameters
NameDescription
indexint
valueTransitionRouteGroup
Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder

setTransitionRouteGroups(int index, TransitionRouteGroup.Builder builderForValue)

public ListTransitionRouteGroupsResponse.Builder setTransitionRouteGroups(int index, TransitionRouteGroup.Builder builderForValue)

The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.

repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;

Parameters
NameDescription
indexint
builderForValueTransitionRouteGroup.Builder
Returns
TypeDescription
ListTransitionRouteGroupsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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