Class TransitionRouteGroup (0.27.0)

public final class TransitionRouteGroup extends GeneratedMessageV3 implements TransitionRouteGroupOrBuilder

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

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

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

TRANSITION_ROUTES_FIELD_NUMBER

public static final int TRANSITION_ROUTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransitionRouteGroup getDefaultInstance()
Returns
Type Description
TransitionRouteGroup

getDescriptor()

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

newBuilder()

public static TransitionRouteGroup.Builder newBuilder()
Returns
Type Description
TransitionRouteGroup.Builder

newBuilder(TransitionRouteGroup prototype)

public static TransitionRouteGroup.Builder newBuilder(TransitionRouteGroup prototype)
Parameter
Name Description
prototype TransitionRouteGroup
Returns
Type Description
TransitionRouteGroup.Builder

parseDelimitedFrom(InputStream input)

public static TransitionRouteGroup parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransitionRouteGroup
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransitionRouteGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionRouteGroup
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TransitionRouteGroup parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TransitionRouteGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransitionRouteGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionRouteGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransitionRouteGroup parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransitionRouteGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransitionRouteGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionRouteGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransitionRouteGroup parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransitionRouteGroup
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransitionRouteGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionRouteGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TransitionRouteGroup parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransitionRouteGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransitionRouteGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionRouteGroup
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TransitionRouteGroup parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransitionRouteGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransitionRouteGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransitionRouteGroup
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TransitionRouteGroup> parser()
Returns
Type Description
Parser<TransitionRouteGroup>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TransitionRouteGroup getDefaultInstanceForType()
Returns
Type Description
TransitionRouteGroup

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.

getParserForType()

public Parser<TransitionRouteGroup> getParserForType()
Returns
Type Description
Parser<TransitionRouteGroup>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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
Name Description
index int
Returns
Type Description
TransitionRoute

getTransitionRoutesCount()

public int getTransitionRoutesCount()

Transition routes associated with the TransitionRouteGroup.

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

Returns
Type Description
int

getTransitionRoutesList()

public List<TransitionRoute> getTransitionRoutesList()

Transition routes associated with the TransitionRouteGroup.

repeated .google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.TransitionRoute transition_routes = 5;

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TransitionRouteGroup.Builder newBuilderForType()
Returns
Type Description
TransitionRouteGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransitionRouteGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransitionRouteGroup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TransitionRouteGroup.Builder toBuilder()
Returns
Type Description
TransitionRouteGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException