Class CalculateCoverageResponse (0.14.2)

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
TypeDescription
int

INTENT_COVERAGE_FIELD_NUMBER

public static final int INTENT_COVERAGE_FIELD_NUMBER
Field Value
TypeDescription
int

ROUTE_GROUP_COVERAGE_FIELD_NUMBER

public static final int ROUTE_GROUP_COVERAGE_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSITION_COVERAGE_FIELD_NUMBER

public static final int TRANSITION_COVERAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CalculateCoverageResponse getDefaultInstance()
Returns
TypeDescription
CalculateCoverageResponse

getDescriptor()

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

newBuilder()

public static CalculateCoverageResponse.Builder newBuilder()
Returns
TypeDescription
CalculateCoverageResponse.Builder

newBuilder(CalculateCoverageResponse prototype)

public static CalculateCoverageResponse.Builder newBuilder(CalculateCoverageResponse prototype)
Parameter
NameDescription
prototypeCalculateCoverageResponse
Returns
TypeDescription
CalculateCoverageResponse.Builder

parseDelimitedFrom(InputStream input)

public static CalculateCoverageResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CalculateCoverageResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CalculateCoverageResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CalculateCoverageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static CalculateCoverageResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CalculateCoverageResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static CalculateCoverageResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CalculateCoverageResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static CalculateCoverageResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CalculateCoverageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CalculateCoverageResponse> parser()
Returns
TypeDescription
Parser<CalculateCoverageResponse>

Methods

equals(Object obj)

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

The bytes for agent.

getCoverageTypeCase()

public CalculateCoverageResponse.CoverageTypeCase getCoverageTypeCase()
Returns
TypeDescription
CalculateCoverageResponse.CoverageTypeCase

getDefaultInstanceForType()

public CalculateCoverageResponse getDefaultInstanceForType()
Returns
TypeDescription
CalculateCoverageResponse

getIntentCoverage()

public IntentCoverage getIntentCoverage()

Intent coverage.

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

Returns
TypeDescription
IntentCoverage

The intentCoverage.

getIntentCoverageOrBuilder()

public IntentCoverageOrBuilder getIntentCoverageOrBuilder()

Intent coverage.

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

Returns
TypeDescription
IntentCoverageOrBuilder

getParserForType()

public Parser<CalculateCoverageResponse> getParserForType()
Returns
TypeDescription
Parser<CalculateCoverageResponse>
Overrides

getRouteGroupCoverage()

public TransitionRouteGroupCoverage getRouteGroupCoverage()

Transition route group coverage.

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

Returns
TypeDescription
TransitionRouteGroupCoverage

The routeGroupCoverage.

getRouteGroupCoverageOrBuilder()

public TransitionRouteGroupCoverageOrBuilder getRouteGroupCoverageOrBuilder()

Transition route group coverage.

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

Returns
TypeDescription
TransitionRouteGroupCoverageOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTransitionCoverage()

public TransitionCoverage getTransitionCoverage()

Transition (excluding transition route groups) coverage.

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

Returns
TypeDescription
TransitionCoverage

The transitionCoverage.

getTransitionCoverageOrBuilder()

public TransitionCoverageOrBuilder getTransitionCoverageOrBuilder()

Transition (excluding transition route groups) coverage.

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

Returns
TypeDescription
TransitionCoverageOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasIntentCoverage()

public boolean hasIntentCoverage()

Intent coverage.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the transitionCoverage field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CalculateCoverageResponse.Builder toBuilder()
Returns
TypeDescription
CalculateCoverageResponse.Builder

writeTo(CodedOutputStream output)

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