Class UpdateTransitionRouteGroupRequest.Builder (0.20.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateTransitionRouteGroupRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder
Overrides

build()

public UpdateTransitionRouteGroupRequest build()
Returns
Type Description
UpdateTransitionRouteGroupRequest

buildPartial()

public UpdateTransitionRouteGroupRequest buildPartial()
Returns
Type Description
UpdateTransitionRouteGroupRequest

clear()

public UpdateTransitionRouteGroupRequest.Builder clear()
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateTransitionRouteGroupRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder
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
Type Description
UpdateTransitionRouteGroupRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateTransitionRouteGroupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder
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
Type Description
UpdateTransitionRouteGroupRequest.Builder

clearUpdateMask()

public UpdateTransitionRouteGroupRequest.Builder clearUpdateMask()

The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder

clone()

public UpdateTransitionRouteGroupRequest.Builder clone()
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateTransitionRouteGroupRequest getDefaultInstanceForType()
Returns
Type Description
UpdateTransitionRouteGroupRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
TransitionRouteGroup

The transitionRouteGroup.

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
Type Description
TransitionRouteGroup.Builder

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
Type Description
TransitionRouteGroupOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateTransitionRouteGroupRequest other)

public UpdateTransitionRouteGroupRequest.Builder mergeFrom(UpdateTransitionRouteGroupRequest other)
Parameter
Name Description
other UpdateTransitionRouteGroupRequest
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateTransitionRouteGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateTransitionRouteGroupRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder
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
Name Description
value TransitionRouteGroup
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTransitionRouteGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder
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
Name Description
value FieldMask
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateTransitionRouteGroupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder
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
Type Description
UpdateTransitionRouteGroupRequest.Builder

This builder for chaining.

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
Type Description
UpdateTransitionRouteGroupRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateTransitionRouteGroupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder
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
Name Description
value TransitionRouteGroup
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder

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
Name Description
builderForValue TransitionRouteGroup.Builder
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTransitionRouteGroupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder
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
Name Description
value FieldMask
Returns
Type Description
UpdateTransitionRouteGroupRequest.Builder

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
Type Description
UpdateTransitionRouteGroupRequest.Builder