Class TransitionRouteGroup.Builder (0.13.0)

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

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

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v3beta1.TransitionRoute transition_routes = 5;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTransitionRoutes(TransitionRoute value)

public TransitionRouteGroup.Builder addTransitionRoutes(TransitionRoute value)

Transition routes associated with the TransitionRouteGroup.

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

Parameter
NameDescription
valueTransitionRoute
Returns
TypeDescription
TransitionRouteGroup.Builder

addTransitionRoutes(TransitionRoute.Builder builderForValue)

public TransitionRouteGroup.Builder addTransitionRoutes(TransitionRoute.Builder builderForValue)

Transition routes associated with the TransitionRouteGroup.

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

Parameter
NameDescription
builderForValueTransitionRoute.Builder
Returns
TypeDescription
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.v3beta1.TransitionRoute transition_routes = 5;

Parameters
NameDescription
indexint
valueTransitionRoute
Returns
TypeDescription
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.v3beta1.TransitionRoute transition_routes = 5;

Parameters
NameDescription
indexint
builderForValueTransitionRoute.Builder
Returns
TypeDescription
TransitionRouteGroup.Builder

addTransitionRoutesBuilder()

public TransitionRoute.Builder addTransitionRoutesBuilder()

Transition routes associated with the TransitionRouteGroup.

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

Returns
TypeDescription
TransitionRoute.Builder

addTransitionRoutesBuilder(int index)

public TransitionRoute.Builder addTransitionRoutesBuilder(int index)

Transition routes associated with the TransitionRouteGroup.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRoute.Builder

build()

public TransitionRouteGroup build()
Returns
TypeDescription
TransitionRouteGroup

buildPartial()

public TransitionRouteGroup buildPartial()
Returns
TypeDescription
TransitionRouteGroup

clear()

public TransitionRouteGroup.Builder clear()
Returns
TypeDescription
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
TypeDescription
TransitionRouteGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TransitionRouteGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
TransitionRouteGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTransitionRoutes()

public TransitionRouteGroup.Builder clearTransitionRoutes()

Transition routes associated with the TransitionRouteGroup.

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

Returns
TypeDescription
TransitionRouteGroup.Builder

clone()

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

getDefaultInstanceForType()

public TransitionRouteGroup getDefaultInstanceForType()
Returns
TypeDescription
TransitionRouteGroup

getDescriptorForType()

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

The bytes for name.

getTransitionRoutes(int index)

public TransitionRoute getTransitionRoutes(int index)

Transition routes associated with the TransitionRouteGroup.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRoute

getTransitionRoutesBuilder(int index)

public TransitionRoute.Builder getTransitionRoutesBuilder(int index)

Transition routes associated with the TransitionRouteGroup.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRoute.Builder

getTransitionRoutesBuilderList()

public List<TransitionRoute.Builder> getTransitionRoutesBuilderList()

Transition routes associated with the TransitionRouteGroup.

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

Returns
TypeDescription
List<Builder>

getTransitionRoutesCount()

public int getTransitionRoutesCount()

Transition routes associated with the TransitionRouteGroup.

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

Returns
TypeDescription
int

getTransitionRoutesList()

public List<TransitionRoute> getTransitionRoutesList()

Transition routes associated with the TransitionRouteGroup.

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

Returns
TypeDescription
List<TransitionRoute>

getTransitionRoutesOrBuilder(int index)

public TransitionRouteOrBuilder getTransitionRoutesOrBuilder(int index)

Transition routes associated with the TransitionRouteGroup.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRouteOrBuilder

getTransitionRoutesOrBuilderList()

public List<? extends TransitionRouteOrBuilder> getTransitionRoutesOrBuilderList()

Transition routes associated with the TransitionRouteGroup.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TransitionRouteGroup other)

public TransitionRouteGroup.Builder mergeFrom(TransitionRouteGroup other)
Parameter
NameDescription
otherTransitionRouteGroup
Returns
TypeDescription
TransitionRouteGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTransitionRoutes(int index)

public TransitionRouteGroup.Builder removeTransitionRoutes(int index)

Transition routes associated with the TransitionRouteGroup.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

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

The bytes for displayName to set.

Returns
TypeDescription
TransitionRouteGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TransitionRouteGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v3beta1.TransitionRoute transition_routes = 5;

Parameters
NameDescription
indexint
valueTransitionRoute
Returns
TypeDescription
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.v3beta1.TransitionRoute transition_routes = 5;

Parameters
NameDescription
indexint
builderForValueTransitionRoute.Builder
Returns
TypeDescription
TransitionRouteGroup.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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