Class UpdateSessionEntityTypeRequest.Builder (0.13.1)

public static final class UpdateSessionEntityTypeRequest.Builder extends GeneratedMessageV3.Builder<UpdateSessionEntityTypeRequest.Builder> implements UpdateSessionEntityTypeRequestOrBuilder

The request message for SessionEntityTypes.UpdateSessionEntityType.

Protobuf type google.cloud.dialogflow.cx.v3.UpdateSessionEntityTypeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateSessionEntityTypeRequest build()
Returns
Type Description
UpdateSessionEntityTypeRequest

buildPartial()

public UpdateSessionEntityTypeRequest buildPartial()
Returns
Type Description
UpdateSessionEntityTypeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateSessionEntityTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateSessionEntityTypeRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateSessionEntityTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateSessionEntityTypeRequest.Builder
Overrides

clearSessionEntityType()

public UpdateSessionEntityTypeRequest.Builder clearSessionEntityType()

Required. The session entity type to update. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

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

Returns
Type Description
UpdateSessionEntityTypeRequest.Builder

clearUpdateMask()

public UpdateSessionEntityTypeRequest.Builder clearUpdateMask()

The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateSessionEntityTypeRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateSessionEntityTypeRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSessionEntityTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSessionEntityType()

public SessionEntityType getSessionEntityType()

Required. The session entity type to update. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

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

Returns
Type Description
SessionEntityType

The sessionEntityType.

getSessionEntityTypeBuilder()

public SessionEntityType.Builder getSessionEntityTypeBuilder()

Required. The session entity type to update. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

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

Returns
Type Description
SessionEntityType.Builder

getSessionEntityTypeOrBuilder()

public SessionEntityTypeOrBuilder getSessionEntityTypeOrBuilder()

Required. The session entity type to update. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

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

Returns
Type Description
SessionEntityTypeOrBuilder

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

hasSessionEntityType()

public boolean hasSessionEntityType()

Required. The session entity type to update. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

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

Returns
Type Description
boolean

Whether the sessionEntityType 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(UpdateSessionEntityTypeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateSessionEntityTypeRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateSessionEntityTypeRequest.Builder
Overrides

mergeSessionEntityType(SessionEntityType value)

public UpdateSessionEntityTypeRequest.Builder mergeSessionEntityType(SessionEntityType value)

Required. The session entity type to update. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

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

Parameter
Name Description
value SessionEntityType
Returns
Type Description
UpdateSessionEntityTypeRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSessionEntityTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateSessionEntityTypeRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateSessionEntityTypeRequest.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
UpdateSessionEntityTypeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateSessionEntityTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateSessionEntityTypeRequest.Builder
Overrides

setSessionEntityType(SessionEntityType value)

public UpdateSessionEntityTypeRequest.Builder setSessionEntityType(SessionEntityType value)

Required. The session entity type to update. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

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

Parameter
Name Description
value SessionEntityType
Returns
Type Description
UpdateSessionEntityTypeRequest.Builder

setSessionEntityType(SessionEntityType.Builder builderForValue)

public UpdateSessionEntityTypeRequest.Builder setSessionEntityType(SessionEntityType.Builder builderForValue)

Required. The session entity type to update. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

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

Parameter
Name Description
builderForValue SessionEntityType.Builder
Returns
Type Description
UpdateSessionEntityTypeRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSessionEntityTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateSessionEntityTypeRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateSessionEntityTypeRequest.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
UpdateSessionEntityTypeRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSessionEntityTypeRequest.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
UpdateSessionEntityTypeRequest.Builder