Class SetSuggestionFeatureConfigRequest (4.19.0)

public final class SetSuggestionFeatureConfigRequest extends GeneratedMessageV3 implements SetSuggestionFeatureConfigRequestOrBuilder

The request message for [ConversationProfiles.SetSuggestionFeature][].

Protobuf type google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SetSuggestionFeatureConfigRequest

Static Fields

CONVERSATION_PROFILE_FIELD_NUMBER

public static final int CONVERSATION_PROFILE_FIELD_NUMBER
Field Value
Type Description
int

PARTICIPANT_ROLE_FIELD_NUMBER

public static final int PARTICIPANT_ROLE_FIELD_NUMBER
Field Value
Type Description
int

SUGGESTION_FEATURE_CONFIG_FIELD_NUMBER

public static final int SUGGESTION_FEATURE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SetSuggestionFeatureConfigRequest getDefaultInstance()
Returns
Type Description
SetSuggestionFeatureConfigRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SetSuggestionFeatureConfigRequest.Builder newBuilder()
Returns
Type Description
SetSuggestionFeatureConfigRequest.Builder

newBuilder(SetSuggestionFeatureConfigRequest prototype)

public static SetSuggestionFeatureConfigRequest.Builder newBuilder(SetSuggestionFeatureConfigRequest prototype)
Parameter
Name Description
prototype SetSuggestionFeatureConfigRequest
Returns
Type Description
SetSuggestionFeatureConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static SetSuggestionFeatureConfigRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SetSuggestionFeatureConfigRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetSuggestionFeatureConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetSuggestionFeatureConfigRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SetSuggestionFeatureConfigRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SetSuggestionFeatureConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SetSuggestionFeatureConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetSuggestionFeatureConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SetSuggestionFeatureConfigRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SetSuggestionFeatureConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SetSuggestionFeatureConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetSuggestionFeatureConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SetSuggestionFeatureConfigRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SetSuggestionFeatureConfigRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SetSuggestionFeatureConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetSuggestionFeatureConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SetSuggestionFeatureConfigRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SetSuggestionFeatureConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetSuggestionFeatureConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetSuggestionFeatureConfigRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SetSuggestionFeatureConfigRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SetSuggestionFeatureConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SetSuggestionFeatureConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetSuggestionFeatureConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SetSuggestionFeatureConfigRequest> parser()
Returns
Type Description
Parser<SetSuggestionFeatureConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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 SetSuggestionFeatureConfigRequest getDefaultInstanceForType()
Returns
Type Description
SetSuggestionFeatureConfigRequest

getParserForType()

public Parser<SetSuggestionFeatureConfigRequest> getParserForType()
Returns
Type Description
Parser<SetSuggestionFeatureConfigRequest>
Overrides

getParticipantRole()

public Participant.Role getParticipantRole()

Required. The participant role to add or update 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 add or update 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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSuggestionFeatureConfig()

public HumanAgentAssistantConfig.SuggestionFeatureConfig getSuggestionFeatureConfig()

Required. The suggestion feature config to add or update.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig

The suggestionFeatureConfig.

getSuggestionFeatureConfigOrBuilder()

public HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder getSuggestionFeatureConfigOrBuilder()

Required. The suggestion feature config to add or update.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasSuggestionFeatureConfig()

public boolean hasSuggestionFeatureConfig()

Required. The suggestion feature config to add or update.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the suggestionFeatureConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SetSuggestionFeatureConfigRequest.Builder newBuilderForType()
Returns
Type Description
SetSuggestionFeatureConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SetSuggestionFeatureConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SetSuggestionFeatureConfigRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SetSuggestionFeatureConfigRequest.Builder toBuilder()
Returns
Type Description
SetSuggestionFeatureConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException