Class TransitionRouteGroup.Builder (0.53.0)

public static final class TransitionRouteGroup.Builder extends GeneratedMessageV3.Builder<TransitionRouteGroup.Builder> implements TransitionRouteGroupOrBuilder

A TransitionRouteGroup represents a group of TransitionRoutes to be used by a Page.

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

Static Methods

getDescriptor()

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

Methods

addAllTransitionRoutes(Iterable<? extends TransitionRoute> values)

public TransitionRouteGroup.Builder addAllTransitionRoutes(Iterable<? extends TransitionRoute> values)

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTransitionRoutes(TransitionRoute value)

public TransitionRouteGroup.Builder addTransitionRoutes(TransitionRoute value)

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Parameter
Name Description
value TransitionRoute
Returns
Type Description
TransitionRouteGroup.Builder

addTransitionRoutes(TransitionRoute.Builder builderForValue)

public TransitionRouteGroup.Builder addTransitionRoutes(TransitionRoute.Builder builderForValue)

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Parameter
Name Description
builderForValue TransitionRoute.Builder
Returns
Type Description
TransitionRouteGroup.Builder

addTransitionRoutes(int index, TransitionRoute value)

public TransitionRouteGroup.Builder addTransitionRoutes(int index, TransitionRoute value)

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Parameters
Name Description
index int
value TransitionRoute
Returns
Type Description
TransitionRouteGroup.Builder

addTransitionRoutes(int index, TransitionRoute.Builder builderForValue)

public TransitionRouteGroup.Builder addTransitionRoutes(int index, TransitionRoute.Builder builderForValue)

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Parameters
Name Description
index int
builderForValue TransitionRoute.Builder
Returns
Type Description
TransitionRouteGroup.Builder

addTransitionRoutesBuilder()

public TransitionRoute.Builder addTransitionRoutesBuilder()

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Returns
Type Description
TransitionRoute.Builder

addTransitionRoutesBuilder(int index)

public TransitionRoute.Builder addTransitionRoutesBuilder(int index)

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Parameter
Name Description
index int
Returns
Type Description
TransitionRoute.Builder

build()

public TransitionRouteGroup build()
Returns
Type Description
TransitionRouteGroup

buildPartial()

public TransitionRouteGroup buildPartial()
Returns
Type Description
TransitionRouteGroup

clear()

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

clearDisplayName()

public TransitionRouteGroup.Builder clearDisplayName()

Required. The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransitionRouteGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public TransitionRouteGroup.Builder clearName()

The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID> .

string name = 1;

Returns
Type Description
TransitionRouteGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTransitionRoutes()

public TransitionRouteGroup.Builder clearTransitionRoutes()

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Returns
Type Description
TransitionRouteGroup.Builder

clone()

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

getDefaultInstanceForType()

public TransitionRouteGroup getDefaultInstanceForType()
Returns
Type Description
TransitionRouteGroup

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Required. The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID> .

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID> .

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getTransitionRoutes(int index)

public TransitionRoute getTransitionRoutes(int index)

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Parameter
Name Description
index int
Returns
Type Description
TransitionRoute

getTransitionRoutesBuilder(int index)

public TransitionRoute.Builder getTransitionRoutesBuilder(int index)

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Parameter
Name Description
index int
Returns
Type Description
TransitionRoute.Builder

getTransitionRoutesBuilderList()

public List<TransitionRoute.Builder> getTransitionRoutesBuilderList()

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Returns
Type Description
List<Builder>

getTransitionRoutesCount()

public int getTransitionRoutesCount()

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Returns
Type Description
int

getTransitionRoutesList()

public List<TransitionRoute> getTransitionRoutesList()

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Returns
Type Description
List<TransitionRoute>

getTransitionRoutesOrBuilder(int index)

public TransitionRouteOrBuilder getTransitionRoutesOrBuilder(int index)

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteOrBuilder

getTransitionRoutesOrBuilderList()

public List<? extends TransitionRouteOrBuilder> getTransitionRoutesOrBuilderList()

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransitionRouteGroup other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTransitionRoutes(int index)

public TransitionRouteGroup.Builder removeTransitionRoutes(int index)

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Parameter
Name Description
index int
Returns
Type Description
TransitionRouteGroup.Builder

setDisplayName(String value)

public TransitionRouteGroup.Builder setDisplayName(String value)

Required. The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
TransitionRouteGroup.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public TransitionRouteGroup.Builder setDisplayNameBytes(ByteString value)

Required. The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
TransitionRouteGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public TransitionRouteGroup.Builder setName(String value)

The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID> .

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
TransitionRouteGroup.Builder

This builder for chaining.

setNameBytes(ByteString value)

public TransitionRouteGroup.Builder setNameBytes(ByteString value)

The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID> .

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
TransitionRouteGroup.Builder

This builder for chaining.

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

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

setTransitionRoutes(int index, TransitionRoute value)

public TransitionRouteGroup.Builder setTransitionRoutes(int index, TransitionRoute value)

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Parameters
Name Description
index int
value TransitionRoute
Returns
Type Description
TransitionRouteGroup.Builder

setTransitionRoutes(int index, TransitionRoute.Builder builderForValue)

public TransitionRouteGroup.Builder setTransitionRoutes(int index, TransitionRoute.Builder builderForValue)

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 5;

Parameters
Name Description
index int
builderForValue TransitionRoute.Builder
Returns
Type Description
TransitionRouteGroup.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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