public static final class ClearSuggestionFeatureConfigRequest.Builder extends GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigRequest.Builder> implements ClearSuggestionFeatureConfigRequestOrBuilderThe request message for [ConversationProfiles.ClearFeature][].
Protobuf type google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ClearSuggestionFeatureConfigRequest.BuilderImplements
ClearSuggestionFeatureConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ClearSuggestionFeatureConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
|
build()
public ClearSuggestionFeatureConfigRequest build()| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest |
|
buildPartial()
public ClearSuggestionFeatureConfigRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest |
|
clear()
public ClearSuggestionFeatureConfigRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
|
clearConversationProfile()
public ClearSuggestionFeatureConfigRequest.Builder clearConversationProfile() Required. The Conversation Profile to add or update the suggestion feature
config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>.
string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ClearSuggestionFeatureConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public ClearSuggestionFeatureConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
|
clearParticipantRole()
public ClearSuggestionFeatureConfigRequest.Builder clearParticipantRole()Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
.google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
clearSuggestionFeatureType()
public ClearSuggestionFeatureConfigRequest.Builder clearSuggestionFeatureType()Required. The type of the suggestion feature to remove.
.google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
clone()
public ClearSuggestionFeatureConfigRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
|
getConversationProfile()
public String getConversationProfile() Required. The Conversation Profile to add or update the suggestion feature
config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>.
string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The conversationProfile. |
getConversationProfileBytes()
public ByteString getConversationProfileBytes() Required. The Conversation Profile to add or update the suggestion feature
config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>.
string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for conversationProfile. |
getDefaultInstanceForType()
public ClearSuggestionFeatureConfigRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParticipantRole()
public Participant.Role getParticipantRole()Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
.google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Participant.Role |
The participantRole. |
getParticipantRoleValue()
public int getParticipantRoleValue()Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
.google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for participantRole. |
getSuggestionFeatureType()
public SuggestionFeature.Type getSuggestionFeatureType()Required. The type of the suggestion feature to remove.
.google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SuggestionFeature.Type |
The suggestionFeatureType. |
getSuggestionFeatureTypeValue()
public int getSuggestionFeatureTypeValue()Required. The type of the suggestion feature to remove.
.google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for suggestionFeatureType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ClearSuggestionFeatureConfigRequest other)
public ClearSuggestionFeatureConfigRequest.Builder mergeFrom(ClearSuggestionFeatureConfigRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ClearSuggestionFeatureConfigRequest |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ClearSuggestionFeatureConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ClearSuggestionFeatureConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClearSuggestionFeatureConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
|
setConversationProfile(String value)
public ClearSuggestionFeatureConfigRequest.Builder setConversationProfile(String value) Required. The Conversation Profile to add or update the suggestion feature
config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>.
string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe conversationProfile to set. |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
setConversationProfileBytes(ByteString value)
public ClearSuggestionFeatureConfigRequest.Builder setConversationProfileBytes(ByteString value) Required. The Conversation Profile to add or update the suggestion feature
config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>.
string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for conversationProfile to set. |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ClearSuggestionFeatureConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
|
setParticipantRole(Participant.Role value)
public ClearSuggestionFeatureConfigRequest.Builder setParticipantRole(Participant.Role value)Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
.google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Participant.RoleThe participantRole to set. |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
setParticipantRoleValue(int value)
public ClearSuggestionFeatureConfigRequest.Builder setParticipantRoleValue(int value)Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
.google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for participantRole to set. |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ClearSuggestionFeatureConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
|
setSuggestionFeatureType(SuggestionFeature.Type value)
public ClearSuggestionFeatureConfigRequest.Builder setSuggestionFeatureType(SuggestionFeature.Type value)Required. The type of the suggestion feature to remove.
.google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SuggestionFeature.TypeThe suggestionFeatureType to set. |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
setSuggestionFeatureTypeValue(int value)
public ClearSuggestionFeatureConfigRequest.Builder setSuggestionFeatureTypeValue(int value)Required. The type of the suggestion feature to remove.
.google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for suggestionFeatureType to set. |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ClearSuggestionFeatureConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ClearSuggestionFeatureConfigRequest.Builder |
|