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.v3.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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TransitionRouteGroup.Builder newBuilder()
newBuilder(TransitionRouteGroup prototype)
public static TransitionRouteGroup.Builder newBuilder(TransitionRouteGroup prototype)
public static TransitionRouteGroup parseDelimitedFrom(InputStream input)
public static TransitionRouteGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TransitionRouteGroup parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransitionRouteGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TransitionRouteGroup parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransitionRouteGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransitionRouteGroup parseFrom(CodedInputStream input)
public static TransitionRouteGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransitionRouteGroup parseFrom(InputStream input)
public static TransitionRouteGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TransitionRouteGroup parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransitionRouteGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TransitionRouteGroup> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public TransitionRouteGroup getDefaultInstanceForType()
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 |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<TransitionRouteGroup> getParserForType()
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.v3.TransitionRoute transition_routes = 5;
Parameter |
Name |
Description |
index |
int
|
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;
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
|
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> |
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TransitionRouteGroup.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransitionRouteGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TransitionRouteGroup.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides