public final class SetSuggestionFeatureConfigRequest extends GeneratedMessageV3 implements SetSuggestionFeatureConfigRequestOrBuilder
The request message for
[ConversationProfiles.SetSuggestionFeature][].
Protobuf type google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SetSuggestionFeatureConfigRequest.Builder newBuilder()
newBuilder(SetSuggestionFeatureConfigRequest prototype)
public static SetSuggestionFeatureConfigRequest.Builder newBuilder(SetSuggestionFeatureConfigRequest prototype)
public static SetSuggestionFeatureConfigRequest parseDelimitedFrom(InputStream input)
public static SetSuggestionFeatureConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SetSuggestionFeatureConfigRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SetSuggestionFeatureConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SetSuggestionFeatureConfigRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SetSuggestionFeatureConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SetSuggestionFeatureConfigRequest parseFrom(CodedInputStream input)
public static SetSuggestionFeatureConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SetSuggestionFeatureConfigRequest parseFrom(InputStream input)
public static SetSuggestionFeatureConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SetSuggestionFeatureConfigRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SetSuggestionFeatureConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SetSuggestionFeatureConfigRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
getParserForType()
public Parser<SetSuggestionFeatureConfigRequest> getParserForType()
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];
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];
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];
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SetSuggestionFeatureConfigRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SetSuggestionFeatureConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SetSuggestionFeatureConfigRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides