Class CalculateCoverageResponse.Builder (0.58.0)

public static final class CalculateCoverageResponse.Builder extends GeneratedMessageV3.Builder<CalculateCoverageResponse.Builder> implements CalculateCoverageResponseOrBuilder

The response message for TestCases.CalculateCoverage.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CalculateCoverageResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CalculateCoverageResponse.Builder
Overrides

build()

public CalculateCoverageResponse build()
Returns
Type Description
CalculateCoverageResponse

buildPartial()

public CalculateCoverageResponse buildPartial()
Returns
Type Description
CalculateCoverageResponse

clear()

public CalculateCoverageResponse.Builder clear()
Returns
Type Description
CalculateCoverageResponse.Builder
Overrides

clearAgent()

public CalculateCoverageResponse.Builder clearAgent()

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
CalculateCoverageResponse.Builder

This builder for chaining.

clearCoverageType()

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

clearField(Descriptors.FieldDescriptor field)

public CalculateCoverageResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CalculateCoverageResponse.Builder
Overrides

clearIntentCoverage()

public CalculateCoverageResponse.Builder clearIntentCoverage()

Intent coverage.

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

Returns
Type Description
CalculateCoverageResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CalculateCoverageResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CalculateCoverageResponse.Builder
Overrides

clearRouteGroupCoverage()

public CalculateCoverageResponse.Builder clearRouteGroupCoverage()

Transition route group coverage.

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

Returns
Type Description
CalculateCoverageResponse.Builder

clearTransitionCoverage()

public CalculateCoverageResponse.Builder clearTransitionCoverage()

Transition (excluding transition route groups) coverage.

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

Returns
Type Description
CalculateCoverageResponse.Builder

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIntentCoverage()

public IntentCoverage getIntentCoverage()

Intent coverage.

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

Returns
Type Description
IntentCoverage

The intentCoverage.

getIntentCoverageBuilder()

public IntentCoverage.Builder getIntentCoverageBuilder()

Intent coverage.

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

Returns
Type Description
IntentCoverage.Builder

getIntentCoverageOrBuilder()

public IntentCoverageOrBuilder getIntentCoverageOrBuilder()

Intent coverage.

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

Returns
Type Description
IntentCoverageOrBuilder

getRouteGroupCoverage()

public TransitionRouteGroupCoverage getRouteGroupCoverage()

Transition route group coverage.

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

Returns
Type Description
TransitionRouteGroupCoverage

The routeGroupCoverage.

getRouteGroupCoverageBuilder()

public TransitionRouteGroupCoverage.Builder getRouteGroupCoverageBuilder()

Transition route group coverage.

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

Returns
Type Description
TransitionRouteGroupCoverage.Builder

getRouteGroupCoverageOrBuilder()

public TransitionRouteGroupCoverageOrBuilder getRouteGroupCoverageOrBuilder()

Transition route group coverage.

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

Returns
Type Description
TransitionRouteGroupCoverageOrBuilder

getTransitionCoverage()

public TransitionCoverage getTransitionCoverage()

Transition (excluding transition route groups) coverage.

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

Returns
Type Description
TransitionCoverage

The transitionCoverage.

getTransitionCoverageBuilder()

public TransitionCoverage.Builder getTransitionCoverageBuilder()

Transition (excluding transition route groups) coverage.

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

Returns
Type Description
TransitionCoverage.Builder

getTransitionCoverageOrBuilder()

public TransitionCoverageOrBuilder getTransitionCoverageOrBuilder()

Transition (excluding transition route groups) coverage.

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

Returns
Type Description
TransitionCoverageOrBuilder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CalculateCoverageResponse other)

public CalculateCoverageResponse.Builder mergeFrom(CalculateCoverageResponse other)
Parameter
Name Description
other CalculateCoverageResponse
Returns
Type Description
CalculateCoverageResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CalculateCoverageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalculateCoverageResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CalculateCoverageResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CalculateCoverageResponse.Builder
Overrides

mergeIntentCoverage(IntentCoverage value)

public CalculateCoverageResponse.Builder mergeIntentCoverage(IntentCoverage value)

Intent coverage.

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

Parameter
Name Description
value IntentCoverage
Returns
Type Description
CalculateCoverageResponse.Builder

mergeRouteGroupCoverage(TransitionRouteGroupCoverage value)

public CalculateCoverageResponse.Builder mergeRouteGroupCoverage(TransitionRouteGroupCoverage value)

Transition route group coverage.

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

Parameter
Name Description
value TransitionRouteGroupCoverage
Returns
Type Description
CalculateCoverageResponse.Builder

mergeTransitionCoverage(TransitionCoverage value)

public CalculateCoverageResponse.Builder mergeTransitionCoverage(TransitionCoverage value)

Transition (excluding transition route groups) coverage.

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

Parameter
Name Description
value TransitionCoverage
Returns
Type Description
CalculateCoverageResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CalculateCoverageResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CalculateCoverageResponse.Builder
Overrides

setAgent(String value)

public CalculateCoverageResponse.Builder setAgent(String value)

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

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

Parameter
Name Description
value String

The agent to set.

Returns
Type Description
CalculateCoverageResponse.Builder

This builder for chaining.

setAgentBytes(ByteString value)

public CalculateCoverageResponse.Builder setAgentBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for agent to set.

Returns
Type Description
CalculateCoverageResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CalculateCoverageResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CalculateCoverageResponse.Builder
Overrides

setIntentCoverage(IntentCoverage value)

public CalculateCoverageResponse.Builder setIntentCoverage(IntentCoverage value)

Intent coverage.

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

Parameter
Name Description
value IntentCoverage
Returns
Type Description
CalculateCoverageResponse.Builder

setIntentCoverage(IntentCoverage.Builder builderForValue)

public CalculateCoverageResponse.Builder setIntentCoverage(IntentCoverage.Builder builderForValue)

Intent coverage.

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

Parameter
Name Description
builderForValue IntentCoverage.Builder
Returns
Type Description
CalculateCoverageResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CalculateCoverageResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CalculateCoverageResponse.Builder
Overrides

setRouteGroupCoverage(TransitionRouteGroupCoverage value)

public CalculateCoverageResponse.Builder setRouteGroupCoverage(TransitionRouteGroupCoverage value)

Transition route group coverage.

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

Parameter
Name Description
value TransitionRouteGroupCoverage
Returns
Type Description
CalculateCoverageResponse.Builder

setRouteGroupCoverage(TransitionRouteGroupCoverage.Builder builderForValue)

public CalculateCoverageResponse.Builder setRouteGroupCoverage(TransitionRouteGroupCoverage.Builder builderForValue)

Transition route group coverage.

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

Parameter
Name Description
builderForValue TransitionRouteGroupCoverage.Builder
Returns
Type Description
CalculateCoverageResponse.Builder

setTransitionCoverage(TransitionCoverage value)

public CalculateCoverageResponse.Builder setTransitionCoverage(TransitionCoverage value)

Transition (excluding transition route groups) coverage.

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

Parameter
Name Description
value TransitionCoverage
Returns
Type Description
CalculateCoverageResponse.Builder

setTransitionCoverage(TransitionCoverage.Builder builderForValue)

public CalculateCoverageResponse.Builder setTransitionCoverage(TransitionCoverage.Builder builderForValue)

Transition (excluding transition route groups) coverage.

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

Parameter
Name Description
builderForValue TransitionCoverage.Builder
Returns
Type Description
CalculateCoverageResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CalculateCoverageResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CalculateCoverageResponse.Builder
Overrides