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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransitionRouteGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addTransitionRoutesBuilder()
public TransitionRoute.Builder addTransitionRoutesBuilder()
Transition routes associated with the
TransitionRouteGroup.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRoute transition_routes = 5;
Returns
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
|
Returns
build()
public TransitionRouteGroup build()
Returns
buildPartial()
public TransitionRouteGroup buildPartial()
Returns
clear()
public TransitionRouteGroup.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public TransitionRouteGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public TransitionRouteGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTransitionRoutes()
public TransitionRouteGroup.Builder clearTransitionRoutes()
Transition routes associated with the
TransitionRouteGroup.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRoute transition_routes = 5;
Returns
clone()
public TransitionRouteGroup.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TransitionRouteGroup getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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/<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
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
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
|
Returns
getTransitionRoutesBuilderList()
public List<TransitionRoute.Builder> getTransitionRoutesBuilderList()
Transition routes associated with the
TransitionRouteGroup.
repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRoute transition_routes = 5;
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TransitionRouteGroup other)
public TransitionRouteGroup.Builder mergeFrom(TransitionRouteGroup other)
Parameter
Returns
public TransitionRouteGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransitionRouteGroup.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransitionRouteGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
|
Returns
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.
|
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TransitionRouteGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name |
Description |
value |
String
The name to set.
|
Returns
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
Name |
Description |
value |
ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransitionRouteGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TransitionRouteGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides