Class CalculateCoverageResponse.Builder (0.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CalculateCoverageResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CalculateCoverageResponse.Builder
Overrides

build()

public CalculateCoverageResponse build()
Returns
TypeDescription
CalculateCoverageResponse

buildPartial()

public CalculateCoverageResponse buildPartial()
Returns
TypeDescription
CalculateCoverageResponse

clear()

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

This builder for chaining.

clearCoverageType()

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

clearField(Descriptors.FieldDescriptor field)

public CalculateCoverageResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CalculateCoverageResponse.Builder
Overrides

clearIntentCoverage()

public CalculateCoverageResponse.Builder clearIntentCoverage()

Intent coverage.

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

Returns
TypeDescription
CalculateCoverageResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CalculateCoverageResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CalculateCoverageResponse.Builder
Overrides

clearRouteGroupCoverage()

public CalculateCoverageResponse.Builder clearRouteGroupCoverage()

Transition route group coverage.

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

Returns
TypeDescription
CalculateCoverageResponse.Builder

clearTransitionCoverage()

public CalculateCoverageResponse.Builder clearTransitionCoverage()

Transition (excluding transition route groups) coverage.

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

Returns
TypeDescription
CalculateCoverageResponse.Builder

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIntentCoverage()

public IntentCoverage getIntentCoverage()

Intent coverage.

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

Returns
TypeDescription
IntentCoverage

The intentCoverage.

getIntentCoverageBuilder()

public IntentCoverage.Builder getIntentCoverageBuilder()

Intent coverage.

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

Returns
TypeDescription
IntentCoverage.Builder

getIntentCoverageOrBuilder()

public IntentCoverageOrBuilder getIntentCoverageOrBuilder()

Intent coverage.

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

Returns
TypeDescription
IntentCoverageOrBuilder

getRouteGroupCoverage()

public TransitionRouteGroupCoverage getRouteGroupCoverage()

Transition route group coverage.

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

Returns
TypeDescription
TransitionRouteGroupCoverage

The routeGroupCoverage.

getRouteGroupCoverageBuilder()

public TransitionRouteGroupCoverage.Builder getRouteGroupCoverageBuilder()

Transition route group coverage.

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

Returns
TypeDescription
TransitionRouteGroupCoverage.Builder

getRouteGroupCoverageOrBuilder()

public TransitionRouteGroupCoverageOrBuilder getRouteGroupCoverageOrBuilder()

Transition route group coverage.

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

Returns
TypeDescription
TransitionRouteGroupCoverageOrBuilder

getTransitionCoverage()

public TransitionCoverage getTransitionCoverage()

Transition (excluding transition route groups) coverage.

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

Returns
TypeDescription
TransitionCoverage

The transitionCoverage.

getTransitionCoverageBuilder()

public TransitionCoverage.Builder getTransitionCoverageBuilder()

Transition (excluding transition route groups) coverage.

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

Returns
TypeDescription
TransitionCoverage.Builder

getTransitionCoverageOrBuilder()

public TransitionCoverageOrBuilder getTransitionCoverageOrBuilder()

Transition (excluding transition route groups) coverage.

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

Returns
TypeDescription
TransitionCoverageOrBuilder

hasIntentCoverage()

public boolean hasIntentCoverage()

Intent coverage.

.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.TransitionCoverage transition_coverage = 4;

Returns
TypeDescription
boolean

Whether the transitionCoverage field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CalculateCoverageResponse other)

public CalculateCoverageResponse.Builder mergeFrom(CalculateCoverageResponse other)
Parameter
NameDescription
otherCalculateCoverageResponse
Returns
TypeDescription
CalculateCoverageResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CalculateCoverageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CalculateCoverageResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CalculateCoverageResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CalculateCoverageResponse.Builder
Overrides

mergeIntentCoverage(IntentCoverage value)

public CalculateCoverageResponse.Builder mergeIntentCoverage(IntentCoverage value)

Intent coverage.

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

Parameter
NameDescription
valueIntentCoverage
Returns
TypeDescription
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
NameDescription
valueTransitionRouteGroupCoverage
Returns
TypeDescription
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
NameDescription
valueTransitionCoverage
Returns
TypeDescription
CalculateCoverageResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CalculateCoverageResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The agent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for agent to set.

Returns
TypeDescription
CalculateCoverageResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CalculateCoverageResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CalculateCoverageResponse.Builder
Overrides

setIntentCoverage(IntentCoverage value)

public CalculateCoverageResponse.Builder setIntentCoverage(IntentCoverage value)

Intent coverage.

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

Parameter
NameDescription
valueIntentCoverage
Returns
TypeDescription
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
NameDescription
builderForValueIntentCoverage.Builder
Returns
TypeDescription
CalculateCoverageResponse.Builder

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

public CalculateCoverageResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTransitionRouteGroupCoverage
Returns
TypeDescription
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
NameDescription
builderForValueTransitionRouteGroupCoverage.Builder
Returns
TypeDescription
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
NameDescription
valueTransitionCoverage
Returns
TypeDescription
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
NameDescription
builderForValueTransitionCoverage.Builder
Returns
TypeDescription
CalculateCoverageResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CalculateCoverageResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CalculateCoverageResponse.Builder
Overrides