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
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.
.google.cloud.dialogflow.v2.SessionEntityType session_entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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.
.google.cloud.dialogflow.v2.SessionEntityType session_entity_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
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
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
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
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
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.
.google.cloud.dialogflow.v2.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)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
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.
.google.cloud.dialogflow.v2.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.
.google.cloud.dialogflow.v2.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)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
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