Class UpdateTransitionRouteGroupRequest.Builder (0.14.2)

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.v3.UpdateTransitionRouteGroupRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateTransitionRouteGroupRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder
Overrides

build()

public UpdateTransitionRouteGroupRequest build()
Returns
TypeDescription
UpdateTransitionRouteGroupRequest

buildPartial()

public UpdateTransitionRouteGroupRequest buildPartial()
Returns
TypeDescription
UpdateTransitionRouteGroupRequest

clear()

public UpdateTransitionRouteGroupRequest.Builder clear()
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateTransitionRouteGroupRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateTransitionRouteGroupRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateTransitionRouteGroupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder
Overrides

clearTransitionRouteGroup()

public UpdateTransitionRouteGroupRequest.Builder clearTransitionRouteGroup()

Required. The transition route group to update.

.google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder

clearUpdateMask()

public UpdateTransitionRouteGroupRequest.Builder clearUpdateMask()

The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder

clone()

public UpdateTransitionRouteGroupRequest.Builder clone()
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateTransitionRouteGroupRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateTransitionRouteGroupRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for languageCode.

getTransitionRouteGroup()

public TransitionRouteGroup getTransitionRouteGroup()

Required. The transition route group to update.

.google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TransitionRouteGroup

The transitionRouteGroup.

getTransitionRouteGroupBuilder()

public TransitionRouteGroup.Builder getTransitionRouteGroupBuilder()

Required. The transition route group to update.

.google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TransitionRouteGroup.Builder

getTransitionRouteGroupOrBuilder()

public TransitionRouteGroupOrBuilder getTransitionRouteGroupOrBuilder()

Required. The transition route group to update.

.google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TransitionRouteGroupOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasTransitionRouteGroup()

public boolean hasTransitionRouteGroup()

Required. The transition route group to update.

.google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateTransitionRouteGroupRequest other)

public UpdateTransitionRouteGroupRequest.Builder mergeFrom(UpdateTransitionRouteGroupRequest other)
Parameter
NameDescription
otherUpdateTransitionRouteGroupRequest
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateTransitionRouteGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateTransitionRouteGroupRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder
Overrides

mergeTransitionRouteGroup(TransitionRouteGroup value)

public UpdateTransitionRouteGroupRequest.Builder mergeTransitionRouteGroup(TransitionRouteGroup value)

Required. The transition route group to update.

.google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueTransitionRouteGroup
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTransitionRouteGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateTransitionRouteGroupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder
Overrides

setTransitionRouteGroup(TransitionRouteGroup value)

public UpdateTransitionRouteGroupRequest.Builder setTransitionRouteGroup(TransitionRouteGroup value)

Required. The transition route group to update.

.google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueTransitionRouteGroup
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder

setTransitionRouteGroup(TransitionRouteGroup.Builder builderForValue)

public UpdateTransitionRouteGroupRequest.Builder setTransitionRouteGroup(TransitionRouteGroup.Builder builderForValue)

Required. The transition route group to update.

.google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_group = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueTransitionRouteGroup.Builder
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTransitionRouteGroupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateTransitionRouteGroupRequest.Builder