public static final class IntentCoverage.Builder extends GeneratedMessageV3.Builder<IntentCoverage.Builder> implements IntentCoverageOrBuilder
Intent coverage represents the percentage of all possible intents in the
agent that are triggered in any of a parent's test cases.
Protobuf type google.cloud.dialogflow.cx.v3beta1.IntentCoverage
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllIntents(Iterable<? extends IntentCoverage.Intent> values)
public IntentCoverage.Builder addAllIntents(Iterable<? extends IntentCoverage.Intent> values)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent>
|
addIntents(IntentCoverage.Intent value)
public IntentCoverage.Builder addIntents(IntentCoverage.Intent value)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
addIntents(IntentCoverage.Intent.Builder builderForValue)
public IntentCoverage.Builder addIntents(IntentCoverage.Intent.Builder builderForValue)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
addIntents(int index, IntentCoverage.Intent value)
public IntentCoverage.Builder addIntents(int index, IntentCoverage.Intent value)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
addIntents(int index, IntentCoverage.Intent.Builder builderForValue)
public IntentCoverage.Builder addIntents(int index, IntentCoverage.Intent.Builder builderForValue)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
addIntentsBuilder()
public IntentCoverage.Intent.Builder addIntentsBuilder()
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
addIntentsBuilder(int index)
public IntentCoverage.Intent.Builder addIntentsBuilder(int index)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IntentCoverage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IntentCoverage build()
buildPartial()
public IntentCoverage buildPartial()
clear()
public IntentCoverage.Builder clear()
Overrides
clearCoverageScore()
public IntentCoverage.Builder clearCoverageScore()
The percent of intents in the agent that are covered.
float coverage_score = 2;
clearField(Descriptors.FieldDescriptor field)
public IntentCoverage.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIntents()
public IntentCoverage.Builder clearIntents()
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public IntentCoverage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public IntentCoverage.Builder clone()
Overrides
getCoverageScore()
public float getCoverageScore()
The percent of intents in the agent that are covered.
float coverage_score = 2;
Returns |
Type |
Description |
float |
The coverageScore.
|
getDefaultInstanceForType()
public IntentCoverage getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIntents(int index)
public IntentCoverage.Intent getIntents(int index)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
getIntentsBuilder(int index)
public IntentCoverage.Intent.Builder getIntentsBuilder(int index)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
getIntentsBuilderList()
public List<IntentCoverage.Intent.Builder> getIntentsBuilderList()
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
getIntentsCount()
public int getIntentsCount()
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
Returns |
Type |
Description |
int |
|
getIntentsList()
public List<IntentCoverage.Intent> getIntentsList()
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
getIntentsOrBuilder(int index)
public IntentCoverage.IntentOrBuilder getIntentsOrBuilder(int index)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
getIntentsOrBuilderList()
public List<? extends IntentCoverage.IntentOrBuilder> getIntentsOrBuilderList()
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.IntentCoverage.IntentOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(IntentCoverage other)
public IntentCoverage.Builder mergeFrom(IntentCoverage other)
public IntentCoverage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IntentCoverage.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IntentCoverage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeIntents(int index)
public IntentCoverage.Builder removeIntents(int index)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
setCoverageScore(float value)
public IntentCoverage.Builder setCoverageScore(float value)
The percent of intents in the agent that are covered.
float coverage_score = 2;
Parameter |
Name |
Description |
value |
float
The coverageScore to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public IntentCoverage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIntents(int index, IntentCoverage.Intent value)
public IntentCoverage.Builder setIntents(int index, IntentCoverage.Intent value)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
setIntents(int index, IntentCoverage.Intent.Builder builderForValue)
public IntentCoverage.Builder setIntents(int index, IntentCoverage.Intent.Builder builderForValue)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3beta1.IntentCoverage.Intent intents = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IntentCoverage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IntentCoverage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides