Class IntentCoverage.Intent (0.43.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
Type Description
int

INTENT_FIELD_NUMBER

public static final int INTENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IntentCoverage.Intent getDefaultInstance()
Returns
Type Description
IntentCoverage.Intent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IntentCoverage.Intent.Builder newBuilder()
Returns
Type Description
IntentCoverage.Intent.Builder

newBuilder(IntentCoverage.Intent prototype)

public static IntentCoverage.Intent.Builder newBuilder(IntentCoverage.Intent prototype)
Parameter
Name Description
prototype IntentCoverage.Intent
Returns
Type Description
IntentCoverage.Intent.Builder

parseDelimitedFrom(InputStream input)

public static IntentCoverage.Intent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IntentCoverage.Intent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IntentCoverage.Intent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntentCoverage.Intent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IntentCoverage.Intent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IntentCoverage.Intent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IntentCoverage.Intent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntentCoverage.Intent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IntentCoverage.Intent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IntentCoverage.Intent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IntentCoverage.Intent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntentCoverage.Intent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IntentCoverage.Intent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IntentCoverage.Intent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IntentCoverage.Intent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntentCoverage.Intent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IntentCoverage.Intent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IntentCoverage.Intent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IntentCoverage.Intent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntentCoverage.Intent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IntentCoverage.Intent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IntentCoverage.Intent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IntentCoverage.Intent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntentCoverage.Intent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCovered()

public boolean getCovered()

Whether 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
Type Description
IntentCoverage.Intent

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
Type Description
ByteString

The bytes for intent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IntentCoverage.Intent.Builder newBuilderForType()
Returns
Type Description
IntentCoverage.Intent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IntentCoverage.Intent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IntentCoverage.Intent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IntentCoverage.Intent.Builder toBuilder()
Returns
Type Description
IntentCoverage.Intent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException