Class ClearSuggestionFeatureConfigRequest (4.6.0)

public final class ClearSuggestionFeatureConfigRequest extends GeneratedMessageV3 implements ClearSuggestionFeatureConfigRequestOrBuilder

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

Protobuf type google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigRequest

Inheritance

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

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_TYPE_FIELD_NUMBER

public static final int SUGGESTION_FEATURE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ClearSuggestionFeatureConfigRequest getDefaultInstance()
Returns
TypeDescription
ClearSuggestionFeatureConfigRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ClearSuggestionFeatureConfigRequest prototype)

public static ClearSuggestionFeatureConfigRequest.Builder newBuilder(ClearSuggestionFeatureConfigRequest prototype)
Parameter
NameDescription
prototypeClearSuggestionFeatureConfigRequest
Returns
TypeDescription
ClearSuggestionFeatureConfigRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 ClearSuggestionFeatureConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
ClearSuggestionFeatureConfigRequest

getParserForType()

public Parser<ClearSuggestionFeatureConfigRequest> getParserForType()
Returns
TypeDescription
Parser<ClearSuggestionFeatureConfigRequest>
Overrides

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.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 remove 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

getSuggestionFeatureType()

public SuggestionFeature.Type getSuggestionFeatureType()

Required. The type of the suggestion feature to remove.

.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SuggestionFeature.Type

The suggestionFeatureType.

getSuggestionFeatureTypeValue()

public int getSuggestionFeatureTypeValue()

Required. The type of the suggestion feature to remove.

.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for suggestionFeatureType.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 ClearSuggestionFeatureConfigRequest.Builder newBuilderForType()
Returns
TypeDescription
ClearSuggestionFeatureConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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