public final class IntentInput extends GeneratedMessageV3 implements IntentInputOrBuilder
Represents the intent to trigger programmatically rather than as a result of
natural language processing. The intent input is only used for V3 agent.
Protobuf type google.cloud.dialogflow.v2beta1.IntentInput
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
public static final int INTENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static IntentInput getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static IntentInput.Builder newBuilder()
public static IntentInput.Builder newBuilder(IntentInput prototype)
public static IntentInput parseDelimitedFrom(InputStream input)
public static IntentInput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IntentInput parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static IntentInput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IntentInput parseFrom(ByteString data)
public static IntentInput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IntentInput parseFrom(CodedInputStream input)
public static IntentInput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IntentInput parseFrom(InputStream input)
public static IntentInput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IntentInput parseFrom(ByteBuffer data)
public static IntentInput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<IntentInput> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public IntentInput getDefaultInstanceForType()
public String getIntent()
Required. The unique identifier of the intent in V3 agent.
Format: projects/<Project ID>/locations/<Location ID>/locations/<Location
ID>/agents/<Agent ID>/intents/<Intent ID>
.
string intent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The intent.
|
public ByteString getIntentBytes()
Required. The unique identifier of the intent in V3 agent.
Format: projects/<Project ID>/locations/<Location ID>/locations/<Location
ID>/agents/<Agent ID>/intents/<Intent ID>
.
string intent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for intent.
|
public String getLanguageCode()
Required. The language of this conversational query. See Language
Support
for a list of the currently supported language codes.
string language_code = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The languageCode.
|
public ByteString getLanguageCodeBytes()
Required. The language of this conversational query. See Language
Support
for a list of the currently supported language codes.
string language_code = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for languageCode.
|
public Parser<IntentInput> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public IntentInput.Builder newBuilderForType()
protected IntentInput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public IntentInput.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides