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.v3beta1.UpdateSessionEntityTypeRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateSessionEntityTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateSessionEntityTypeRequest build()
Returns
buildPartial()
public UpdateSessionEntityTypeRequest buildPartial()
Returns
clear()
public UpdateSessionEntityTypeRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSessionEntityTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSessionEntityTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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.v3beta1.SessionEntityType session_entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearUpdateMask()
public UpdateSessionEntityTypeRequest.Builder clearUpdateMask()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateSessionEntityTypeRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateSessionEntityTypeRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v3beta1.SessionEntityType session_entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v3beta1.SessionEntityType session_entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v3beta1.SessionEntityType session_entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
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.v3beta1.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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateSessionEntityTypeRequest other)
public UpdateSessionEntityTypeRequest.Builder mergeFrom(UpdateSessionEntityTypeRequest other)
Parameter
Returns
public UpdateSessionEntityTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateSessionEntityTypeRequest.Builder mergeFrom(Message other)
Parameter
Returns
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.v3beta1.SessionEntityType session_entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSessionEntityTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSessionEntityTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSessionEntityTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.v3beta1.SessionEntityType session_entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v3beta1.SessionEntityType session_entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSessionEntityTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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