public static final class IntentCoverage.Intent extends GeneratedMessageV3 implements IntentCoverage.IntentOrBuilder
The agent's intent.
Protobuf type google.cloud.dialogflow.cx.v3.IntentCoverage.Intent
Static Fields
COVERED_FIELD_NUMBER
public static final int COVERED_FIELD_NUMBER
Field Value
INTENT_FIELD_NUMBER
public static final int INTENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static IntentCoverage.Intent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static IntentCoverage.Intent.Builder newBuilder()
Returns
newBuilder(IntentCoverage.Intent prototype)
public static IntentCoverage.Intent.Builder newBuilder(IntentCoverage.Intent prototype)
Parameter
Returns
public static IntentCoverage.Intent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static IntentCoverage.Intent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static IntentCoverage.Intent parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IntentCoverage.Intent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static IntentCoverage.Intent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IntentCoverage.Intent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IntentCoverage.Intent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static IntentCoverage.Intent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IntentCoverage.Intent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static IntentCoverage.Intent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static IntentCoverage.Intent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IntentCoverage.Intent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<IntentCoverage.Intent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCovered()
public boolean getCovered()
Whether or not the intent is covered by at least one of the agent's
test cases.
bool covered = 2;
Returns
Type |
Description |
boolean |
The covered.
|
getDefaultInstanceForType()
public IntentCoverage.Intent getDefaultInstanceForType()
Returns
getIntent()
public String getIntent()
The intent full resource name
string intent = 1 [(.google.api.resource_reference) = { ... }
Returns
Type |
Description |
String |
The intent.
|
getIntentBytes()
public ByteString getIntentBytes()
The intent full resource name
string intent = 1 [(.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<IntentCoverage.Intent> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public IntentCoverage.Intent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IntentCoverage.Intent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public IntentCoverage.Intent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions