Class CalculateCoverageResponse (0.59.0)

public final class CalculateCoverageResponse extends GeneratedMessageV3 implements CalculateCoverageResponseOrBuilder

The response message for TestCases.CalculateCoverage.

Protobuf type google.cloud.dialogflow.cx.v3.CalculateCoverageResponse

Static Fields

AGENT_FIELD_NUMBER

public static final int AGENT_FIELD_NUMBER
Field Value
Type Description
int

INTENT_COVERAGE_FIELD_NUMBER

public static final int INTENT_COVERAGE_FIELD_NUMBER
Field Value
Type Description
int

ROUTE_GROUP_COVERAGE_FIELD_NUMBER

public static final int ROUTE_GROUP_COVERAGE_FIELD_NUMBER
Field Value
Type Description
int

TRANSITION_COVERAGE_FIELD_NUMBER

public static final int TRANSITION_COVERAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CalculateCoverageResponse getDefaultInstance()
Returns
Type Description
CalculateCoverageResponse

getDescriptor()

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

newBuilder()

public static CalculateCoverageResponse.Builder newBuilder()
Returns
Type Description
CalculateCoverageResponse.Builder

newBuilder(CalculateCoverageResponse prototype)

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

parseDelimitedFrom(InputStream input)

public static CalculateCoverageResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CalculateCoverageResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CalculateCoverageResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CalculateCoverageResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static CalculateCoverageResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CalculateCoverageResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static CalculateCoverageResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CalculateCoverageResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static CalculateCoverageResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CalculateCoverageResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CalculateCoverageResponse> parser()
Returns
Type Description
Parser<CalculateCoverageResponse>

Methods

equals(Object obj)

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

getAgent()

public String getAgent()

The agent to calculate coverage for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string agent = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The agent.

getAgentBytes()

public ByteString getAgentBytes()

The agent to calculate coverage for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string agent = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for agent.

getCoverageTypeCase()

public CalculateCoverageResponse.CoverageTypeCase getCoverageTypeCase()
Returns
Type Description
CalculateCoverageResponse.CoverageTypeCase

getDefaultInstanceForType()

public CalculateCoverageResponse getDefaultInstanceForType()
Returns
Type Description
CalculateCoverageResponse

getIntentCoverage()

public IntentCoverage getIntentCoverage()

Intent coverage.

.google.cloud.dialogflow.cx.v3.IntentCoverage intent_coverage = 2;

Returns
Type Description
IntentCoverage

The intentCoverage.

getIntentCoverageOrBuilder()

public IntentCoverageOrBuilder getIntentCoverageOrBuilder()

Intent coverage.

.google.cloud.dialogflow.cx.v3.IntentCoverage intent_coverage = 2;

Returns
Type Description
IntentCoverageOrBuilder

getParserForType()

public Parser<CalculateCoverageResponse> getParserForType()
Returns
Type Description
Parser<CalculateCoverageResponse>
Overrides

getRouteGroupCoverage()

public TransitionRouteGroupCoverage getRouteGroupCoverage()

Transition route group coverage.

.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage route_group_coverage = 6;

Returns
Type Description
TransitionRouteGroupCoverage

The routeGroupCoverage.

getRouteGroupCoverageOrBuilder()

public TransitionRouteGroupCoverageOrBuilder getRouteGroupCoverageOrBuilder()

Transition route group coverage.

.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage route_group_coverage = 6;

Returns
Type Description
TransitionRouteGroupCoverageOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTransitionCoverage()

public TransitionCoverage getTransitionCoverage()

Transition (excluding transition route groups) coverage.

.google.cloud.dialogflow.cx.v3.TransitionCoverage transition_coverage = 4;

Returns
Type Description
TransitionCoverage

The transitionCoverage.

getTransitionCoverageOrBuilder()

public TransitionCoverageOrBuilder getTransitionCoverageOrBuilder()

Transition (excluding transition route groups) coverage.

.google.cloud.dialogflow.cx.v3.TransitionCoverage transition_coverage = 4;

Returns
Type Description
TransitionCoverageOrBuilder

hasIntentCoverage()

public boolean hasIntentCoverage()

Intent coverage.

.google.cloud.dialogflow.cx.v3.IntentCoverage intent_coverage = 2;

Returns
Type Description
boolean

Whether the intentCoverage field is set.

hasRouteGroupCoverage()

public boolean hasRouteGroupCoverage()

Transition route group coverage.

.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage route_group_coverage = 6;

Returns
Type Description
boolean

Whether the routeGroupCoverage field is set.

hasTransitionCoverage()

public boolean hasTransitionCoverage()

Transition (excluding transition route groups) coverage.

.google.cloud.dialogflow.cx.v3.TransitionCoverage transition_coverage = 4;

Returns
Type Description
boolean

Whether the transitionCoverage field is set.

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 CalculateCoverageResponse.Builder newBuilderForType()
Returns
Type Description
CalculateCoverageResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CalculateCoverageResponse.Builder toBuilder()
Returns
Type Description
CalculateCoverageResponse.Builder

writeTo(CodedOutputStream output)

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