Class SetSuggestionFeatureConfigRequest (4.7.5)

public final class SetSuggestionFeatureConfigRequest extends GeneratedMessageV3 implements SetSuggestionFeatureConfigRequestOrBuilder

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

Protobuf type google.cloud.dialogflow.v2beta1.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
TypeDescription
int

PARTICIPANT_ROLE_FIELD_NUMBER

public static final int PARTICIPANT_ROLE_FIELD_NUMBER
Field Value
TypeDescription
int

SUGGESTION_FEATURE_CONFIG_FIELD_NUMBER

public static final int SUGGESTION_FEATURE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SetSuggestionFeatureConfigRequest getDefaultInstance()
Returns
TypeDescription
SetSuggestionFeatureConfigRequest

getDescriptor()

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

newBuilder()

public static SetSuggestionFeatureConfigRequest.Builder newBuilder()
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder

newBuilder(SetSuggestionFeatureConfigRequest prototype)

public static SetSuggestionFeatureConfigRequest.Builder newBuilder(SetSuggestionFeatureConfigRequest prototype)
Parameter
NameDescription
prototypeSetSuggestionFeatureConfigRequest
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static SetSuggestionFeatureConfigRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SetSuggestionFeatureConfigRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetSuggestionFeatureConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetSuggestionFeatureConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SetSuggestionFeatureConfigRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SetSuggestionFeatureConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SetSuggestionFeatureConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetSuggestionFeatureConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SetSuggestionFeatureConfigRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SetSuggestionFeatureConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SetSuggestionFeatureConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetSuggestionFeatureConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SetSuggestionFeatureConfigRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SetSuggestionFeatureConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SetSuggestionFeatureConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetSuggestionFeatureConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SetSuggestionFeatureConfigRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SetSuggestionFeatureConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetSuggestionFeatureConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetSuggestionFeatureConfigRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SetSuggestionFeatureConfigRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SetSuggestionFeatureConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SetSuggestionFeatureConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetSuggestionFeatureConfigRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SetSuggestionFeatureConfigRequest> parser()
Returns
TypeDescription
Parser<SetSuggestionFeatureConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for conversationProfile.

getDefaultInstanceForType()

public SetSuggestionFeatureConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
SetSuggestionFeatureConfigRequest

getParserForType()

public Parser<SetSuggestionFeatureConfigRequest> getParserForType()
Returns
TypeDescription
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.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for participantRole.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSuggestionFeatureConfig()

public HumanAgentAssistantConfig.SuggestionFeatureConfig getSuggestionFeatureConfig()

Required. The suggestion feature config to add or update.

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

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig

The suggestionFeatureConfig.

getSuggestionFeatureConfigOrBuilder()

public HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder getSuggestionFeatureConfigOrBuilder()

Required. The suggestion feature config to add or update.

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

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasSuggestionFeatureConfig()

public boolean hasSuggestionFeatureConfig()

Required. The suggestion feature config to add or update.

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

Returns
TypeDescription
boolean

Whether the suggestionFeatureConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SetSuggestionFeatureConfigRequest.Builder newBuilderForType()
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SetSuggestionFeatureConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SetSuggestionFeatureConfigRequest.Builder toBuilder()
Returns
TypeDescription
SetSuggestionFeatureConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException