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
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
TRANSITION_ROUTES_FIELD_NUMBER
public static final int TRANSITION_ROUTES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TransitionRouteGroup getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TransitionRouteGroup.Builder newBuilder()
Returns
newBuilder(TransitionRouteGroup prototype)
public static TransitionRouteGroup.Builder newBuilder(TransitionRouteGroup prototype)
Parameter
Returns
public static TransitionRouteGroup parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransitionRouteGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransitionRouteGroup parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransitionRouteGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransitionRouteGroup parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransitionRouteGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransitionRouteGroup parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransitionRouteGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransitionRouteGroup parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransitionRouteGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransitionRouteGroup parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransitionRouteGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransitionRouteGroup> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TransitionRouteGroup getDefaultInstanceForType()
Returns
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()
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
getParserForType()
public Parser<TransitionRouteGroup> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
getTransitionRoutesCount()
public int getTransitionRoutesCount()
Transition routes associated with the TransitionRouteGroup.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRoute transition_routes = 5;
Returns
getTransitionRoutesList()
public List<TransitionRoute> getTransitionRoutesList()
Transition routes associated with the TransitionRouteGroup.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRoute transition_routes = 5;
Returns
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
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
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TransitionRouteGroup.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransitionRouteGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TransitionRouteGroup.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions