public static final class UpdateTransitionRouteGroupRequest.Builder extends GeneratedMessageV3.Builder<UpdateTransitionRouteGroupRequest.Builder> implements UpdateTransitionRouteGroupRequestOrBuilder
The request message for TransitionRouteGroups.UpdateTransitionRouteGroup.
Protobuf type google.cloud.dialogflow.cx.v3beta1.UpdateTransitionRouteGroupRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateTransitionRouteGroupRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateTransitionRouteGroupRequest build()
Returns
buildPartial()
public UpdateTransitionRouteGroupRequest buildPartial()
Returns
clear()
public UpdateTransitionRouteGroupRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateTransitionRouteGroupRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLanguageCode()
public UpdateTransitionRouteGroupRequest.Builder clearLanguageCode()
The language of the following fields in TransitionRouteGroup
:
TransitionRouteGroup.transition_routes.trigger_fulfillment.messages
*
TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
If not specified, the agent's default language is used.
Many
languages
are supported.
Note: languages must be enabled in the agent before they can be used.
string language_code = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateTransitionRouteGroupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTransitionRouteGroup()
public UpdateTransitionRouteGroupRequest.Builder clearTransitionRouteGroup()
Required. The transition route group to update.
.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearUpdateMask()
public UpdateTransitionRouteGroupRequest.Builder clearUpdateMask()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateTransitionRouteGroupRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateTransitionRouteGroupRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLanguageCode()
public String getLanguageCode()
The language of the following fields in TransitionRouteGroup
:
TransitionRouteGroup.transition_routes.trigger_fulfillment.messages
*
TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
If not specified, the agent's default language is used.
Many
languages
are supported.
Note: languages must be enabled in the agent before they can be used.
string language_code = 3;
Returns
Type |
Description |
String |
The languageCode.
|
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
The language of the following fields in TransitionRouteGroup
:
TransitionRouteGroup.transition_routes.trigger_fulfillment.messages
*
TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
If not specified, the agent's default language is used.
Many
languages
are supported.
Note: languages must be enabled in the agent before they can be used.
string language_code = 3;
Returns
Type |
Description |
ByteString |
The bytes for languageCode.
|
getTransitionRouteGroup()
public TransitionRouteGroup getTransitionRouteGroup()
Required. The transition route group to update.
.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getTransitionRouteGroupBuilder()
public TransitionRouteGroup.Builder getTransitionRouteGroupBuilder()
Required. The transition route group to update.
.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getTransitionRouteGroupOrBuilder()
public TransitionRouteGroupOrBuilder getTransitionRouteGroupOrBuilder()
Required. The transition route group to update.
.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasTransitionRouteGroup()
public boolean hasTransitionRouteGroup()
Required. The transition route group to update.
.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
boolean |
Whether the transitionRouteGroup field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateTransitionRouteGroupRequest other)
public UpdateTransitionRouteGroupRequest.Builder mergeFrom(UpdateTransitionRouteGroupRequest other)
Parameter
Returns
public UpdateTransitionRouteGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateTransitionRouteGroupRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeTransitionRouteGroup(TransitionRouteGroup value)
public UpdateTransitionRouteGroupRequest.Builder mergeTransitionRouteGroup(TransitionRouteGroup value)
Required. The transition route group to update.
.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTransitionRouteGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateTransitionRouteGroupRequest.Builder mergeUpdateMask(FieldMask value)
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateTransitionRouteGroupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLanguageCode(String value)
public UpdateTransitionRouteGroupRequest.Builder setLanguageCode(String value)
The language of the following fields in TransitionRouteGroup
:
TransitionRouteGroup.transition_routes.trigger_fulfillment.messages
*
TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
If not specified, the agent's default language is used.
Many
languages
are supported.
Note: languages must be enabled in the agent before they can be used.
string language_code = 3;
Parameter
Name |
Description |
value |
String
The languageCode to set.
|
Returns
setLanguageCodeBytes(ByteString value)
public UpdateTransitionRouteGroupRequest.Builder setLanguageCodeBytes(ByteString value)
The language of the following fields in TransitionRouteGroup
:
TransitionRouteGroup.transition_routes.trigger_fulfillment.messages
*
TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
If not specified, the agent's default language is used.
Many
languages
are supported.
Note: languages must be enabled in the agent before they can be used.
string language_code = 3;
Parameter
Name |
Description |
value |
ByteString
The bytes for languageCode to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateTransitionRouteGroupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTransitionRouteGroup(TransitionRouteGroup value)
public UpdateTransitionRouteGroupRequest.Builder setTransitionRouteGroup(TransitionRouteGroup value)
Required. The transition route group to update.
.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setTransitionRouteGroup(TransitionRouteGroup.Builder builderForValue)
public UpdateTransitionRouteGroupRequest.Builder setTransitionRouteGroup(TransitionRouteGroup.Builder builderForValue)
Required. The transition route group to update.
.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTransitionRouteGroupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateTransitionRouteGroupRequest.Builder setUpdateMask(FieldMask value)
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateTransitionRouteGroupRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name |
Description |
builderForValue |
Builder
|
Returns