public final class CalculateCoverageResponse extends GeneratedMessageV3 implements CalculateCoverageResponseOrBuilder
The response message for
TestCases.CalculateCoverage.
Protobuf type google.cloud.dialogflow.cx.v3beta1.CalculateCoverageResponse
Static Fields
AGENT_FIELD_NUMBER
public static final int AGENT_FIELD_NUMBER
Field Value
INTENT_COVERAGE_FIELD_NUMBER
public static final int INTENT_COVERAGE_FIELD_NUMBER
Field Value
ROUTE_GROUP_COVERAGE_FIELD_NUMBER
public static final int ROUTE_GROUP_COVERAGE_FIELD_NUMBER
Field Value
TRANSITION_COVERAGE_FIELD_NUMBER
public static final int TRANSITION_COVERAGE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CalculateCoverageResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CalculateCoverageResponse.Builder newBuilder()
Returns
newBuilder(CalculateCoverageResponse prototype)
public static CalculateCoverageResponse.Builder newBuilder(CalculateCoverageResponse prototype)
Parameter
Returns
public static CalculateCoverageResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CalculateCoverageResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CalculateCoverageResponse parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CalculateCoverageResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CalculateCoverageResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CalculateCoverageResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CalculateCoverageResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CalculateCoverageResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CalculateCoverageResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CalculateCoverageResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CalculateCoverageResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CalculateCoverageResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CalculateCoverageResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
getCoverageTypeCase()
public CalculateCoverageResponse.CoverageTypeCase getCoverageTypeCase()
Returns
getDefaultInstanceForType()
public CalculateCoverageResponse getDefaultInstanceForType()
Returns
getIntentCoverage()
public IntentCoverage getIntentCoverage()
Intent coverage.
.google.cloud.dialogflow.cx.v3beta1.IntentCoverage intent_coverage = 2;
Returns
getIntentCoverageOrBuilder()
public IntentCoverageOrBuilder getIntentCoverageOrBuilder()
Intent coverage.
.google.cloud.dialogflow.cx.v3beta1.IntentCoverage intent_coverage = 2;
Returns
getParserForType()
public Parser<CalculateCoverageResponse> getParserForType()
Returns
Overrides
getRouteGroupCoverage()
public TransitionRouteGroupCoverage getRouteGroupCoverage()
Transition route group coverage.
.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage route_group_coverage = 6;
Returns
getRouteGroupCoverageOrBuilder()
public TransitionRouteGroupCoverageOrBuilder getRouteGroupCoverageOrBuilder()
Transition route group coverage.
.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage route_group_coverage = 6;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTransitionCoverage()
public TransitionCoverage getTransitionCoverage()
Transition (excluding transition route groups) coverage.
.google.cloud.dialogflow.cx.v3beta1.TransitionCoverage transition_coverage = 4;
Returns
getTransitionCoverageOrBuilder()
public TransitionCoverageOrBuilder getTransitionCoverageOrBuilder()
Transition (excluding transition route groups) coverage.
.google.cloud.dialogflow.cx.v3beta1.TransitionCoverage transition_coverage = 4;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasIntentCoverage()
public boolean hasIntentCoverage()
Intent coverage.
.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.TransitionCoverage transition_coverage = 4;
Returns
Type |
Description |
boolean |
Whether the transitionCoverage field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CalculateCoverageResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CalculateCoverageResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CalculateCoverageResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions