Class UpdateSessionEntityTypeRequest.Builder (4.7.5)

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

The request message for SessionEntityTypes.UpdateSessionEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateSessionEntityTypeRequest build()
Returns
TypeDescription
UpdateSessionEntityTypeRequest

buildPartial()

public UpdateSessionEntityTypeRequest buildPartial()
Returns
TypeDescription
UpdateSessionEntityTypeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateSessionEntityTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateSessionEntityTypeRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSessionEntityType()

public UpdateSessionEntityTypeRequest.Builder clearSessionEntityType()

Required. The session entity type to update.

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

Returns
TypeDescription
UpdateSessionEntityTypeRequest.Builder

clearUpdateMask()

public UpdateSessionEntityTypeRequest.Builder clearUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateSessionEntityTypeRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateSessionEntityTypeRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateSessionEntityTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSessionEntityType()

public SessionEntityType getSessionEntityType()

Required. The session entity type to update.

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

Returns
TypeDescription
SessionEntityType

The sessionEntityType.

getSessionEntityTypeBuilder()

public SessionEntityType.Builder getSessionEntityTypeBuilder()

Required. The session entity type to update.

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

Returns
TypeDescription
SessionEntityType.Builder

getSessionEntityTypeOrBuilder()

public SessionEntityTypeOrBuilder getSessionEntityTypeOrBuilder()

Required. The session entity type to update.

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

Returns
TypeDescription
SessionEntityTypeOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasSessionEntityType()

public boolean hasSessionEntityType()

Required. The session entity type to update.

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

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

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

public UpdateSessionEntityTypeRequest.Builder mergeFrom(UpdateSessionEntityTypeRequest other)
Parameter
NameDescription
otherUpdateSessionEntityTypeRequest
Returns
TypeDescription
UpdateSessionEntityTypeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSessionEntityType(SessionEntityType value)

public UpdateSessionEntityTypeRequest.Builder mergeSessionEntityType(SessionEntityType value)

Required. The session entity type to update.

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

Parameter
NameDescription
valueSessionEntityType
Returns
TypeDescription
UpdateSessionEntityTypeRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateSessionEntityTypeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateSessionEntityTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateSessionEntityTypeRequest.Builder
Overrides

setSessionEntityType(SessionEntityType value)

public UpdateSessionEntityTypeRequest.Builder setSessionEntityType(SessionEntityType value)

Required. The session entity type to update.

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

Parameter
NameDescription
valueSessionEntityType
Returns
TypeDescription
UpdateSessionEntityTypeRequest.Builder

setSessionEntityType(SessionEntityType.Builder builderForValue)

public UpdateSessionEntityTypeRequest.Builder setSessionEntityType(SessionEntityType.Builder builderForValue)

Required. The session entity type to update.

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

Parameter
NameDescription
builderForValueSessionEntityType.Builder
Returns
TypeDescription
UpdateSessionEntityTypeRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateSessionEntityTypeRequest.Builder