Class UpdateSessionEntityTypeRequest.Builder (4.28.0)

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

The request message for SessionEntityTypes.UpdateSessionEntityType.

Protobuf type google.cloud.dialogflow.v2.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.

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

Returns
Type Description
UpdateSessionEntityTypeRequest.Builder

clearUpdateMask()

public UpdateSessionEntityTypeRequest.Builder clearUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

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.

.google.cloud.dialogflow.v2.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.

.google.cloud.dialogflow.v2.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.

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

Returns
Type Description
SessionEntityTypeOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasSessionEntityType()

public boolean hasSessionEntityType()

Required. The session entity type to update.

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

Returns
Type Description
boolean

Whether the sessionEntityType field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

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.

.google.cloud.dialogflow.v2.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)

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

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.

.google.cloud.dialogflow.v2.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.

.google.cloud.dialogflow.v2.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)

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSessionEntityTypeRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSessionEntityTypeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateSessionEntityTypeRequest.Builder