Class IntentCoverage.Intent (0.14.0)

public static final class IntentCoverage.Intent extends GeneratedMessageV3 implements IntentCoverage.IntentOrBuilder

The agent's intent.

Protobuf type google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent

Static Fields

COVERED_FIELD_NUMBER

public static final int COVERED_FIELD_NUMBER
Field Value
TypeDescription
int

INTENT_FIELD_NUMBER

public static final int INTENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IntentCoverage.Intent getDefaultInstance()
Returns
TypeDescription
IntentCoverage.Intent

getDescriptor()

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

newBuilder()

public static IntentCoverage.Intent.Builder newBuilder()
Returns
TypeDescription
IntentCoverage.Intent.Builder

newBuilder(IntentCoverage.Intent prototype)

public static IntentCoverage.Intent.Builder newBuilder(IntentCoverage.Intent prototype)
Parameter
NameDescription
prototypeIntentCoverage.Intent
Returns
TypeDescription
IntentCoverage.Intent.Builder

parseDelimitedFrom(InputStream input)

public static IntentCoverage.Intent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IntentCoverage.Intent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static IntentCoverage.Intent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IntentCoverage.Intent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static IntentCoverage.Intent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IntentCoverage.Intent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static IntentCoverage.Intent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IntentCoverage.Intent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static IntentCoverage.Intent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IntentCoverage.Intent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<IntentCoverage.Intent> parser()
Returns
TypeDescription
Parser<Intent>

Methods

equals(Object obj)

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

The covered.

getDefaultInstanceForType()

public IntentCoverage.Intent getDefaultInstanceForType()
Returns
TypeDescription
IntentCoverage.Intent

getIntent()

public String getIntent()

The intent full resource name

string intent = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The intent.

getIntentBytes()

public ByteString getIntentBytes()

The intent full resource name

string intent = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for intent.

getParserForType()

public Parser<IntentCoverage.Intent> getParserForType()
Returns
TypeDescription
Parser<Intent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public IntentCoverage.Intent.Builder toBuilder()
Returns
TypeDescription
IntentCoverage.Intent.Builder

writeTo(CodedOutputStream output)

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