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.v3beta1.TransitionRouteGroup
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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 |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionRoute>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransitionRouteGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
addTransitionRoutesBuilder()
public TransitionRoute.Builder addTransitionRoutesBuilder()
Transition routes associated with the
TransitionRouteGroup.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRoute transition_routes = 5;
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 |
Name |
Description |
index |
int
|
build()
public TransitionRouteGroup build()
buildPartial()
public TransitionRouteGroup buildPartial()
clear()
public TransitionRouteGroup.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public TransitionRouteGroup.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public TransitionRouteGroup.Builder clearName()
The unique identifier of the transition route group.
TransitionRouteGroups.CreateTransitionRouteGroup
populates the name automatically. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>
for agent-level groups.
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public TransitionRouteGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTransitionRoutes()
public TransitionRouteGroup.Builder clearTransitionRoutes()
Transition routes associated with the
TransitionRouteGroup.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRoute transition_routes = 5;
clone()
public TransitionRouteGroup.Builder clone()
Overrides
getDefaultInstanceForType()
public TransitionRouteGroup getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
The unique identifier of the transition route group.
TransitionRouteGroups.CreateTransitionRouteGroup
populates the name automatically. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>
for agent-level groups.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>
for agent-level groups.
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.v3beta1.TransitionRoute transition_routes = 5;
Parameter |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
getTransitionRoutesBuilderList()
public List<TransitionRoute.Builder> getTransitionRoutesBuilderList()
Transition routes associated with the
TransitionRouteGroup.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRoute transition_routes = 5;
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;
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
|
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TransitionRouteGroup other)
public TransitionRouteGroup.Builder mergeFrom(TransitionRouteGroup other)
public TransitionRouteGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TransitionRouteGroup.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransitionRouteGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public TransitionRouteGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>
for agent-level groups.
string name = 1;
Parameter |
Name |
Description |
value |
String
The name to set.
|
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>
for agent-level groups.
string name = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransitionRouteGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final TransitionRouteGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides