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.v3.IntentCoverage
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
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.v3.IntentCoverage.Intent intents = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.IntentCoverage.Intent>
|
Returns
addIntents(IntentCoverage.Intent value)
public IntentCoverage.Builder addIntents(IntentCoverage.Intent value)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3.IntentCoverage.Intent intents = 1;
Parameter
Returns
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.v3.IntentCoverage.Intent intents = 1;
Parameter
Returns
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.v3.IntentCoverage.Intent intents = 1;
Parameters
Returns
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.v3.IntentCoverage.Intent intents = 1;
Parameters
Returns
addIntentsBuilder()
public IntentCoverage.Intent.Builder addIntentsBuilder()
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3.IntentCoverage.Intent intents = 1;
Returns
addIntentsBuilder(int index)
public IntentCoverage.Intent.Builder addIntentsBuilder(int index)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3.IntentCoverage.Intent intents = 1;
Parameter
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IntentCoverage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public IntentCoverage build()
Returns
buildPartial()
public IntentCoverage buildPartial()
Returns
clear()
public IntentCoverage.Builder clear()
Returns
Overrides
clearCoverageScore()
public IntentCoverage.Builder clearCoverageScore()
The percent of intents in the agent that are covered.
float coverage_score = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public IntentCoverage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIntents()
public IntentCoverage.Builder clearIntents()
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3.IntentCoverage.Intent intents = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public IntentCoverage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public IntentCoverage.Builder clone()
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getIntents(int index)
public IntentCoverage.Intent getIntents(int index)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3.IntentCoverage.Intent intents = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getIntentsBuilder(int index)
public IntentCoverage.Intent.Builder getIntentsBuilder(int index)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3.IntentCoverage.Intent intents = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getIntentsBuilderList()
public List<IntentCoverage.Intent.Builder> getIntentsBuilderList()
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3.IntentCoverage.Intent intents = 1;
Returns
getIntentsCount()
public int getIntentsCount()
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3.IntentCoverage.Intent intents = 1;
Returns
getIntentsList()
public List<IntentCoverage.Intent> getIntentsList()
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3.IntentCoverage.Intent intents = 1;
Returns
getIntentsOrBuilder(int index)
public IntentCoverage.IntentOrBuilder getIntentsOrBuilder(int index)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3.IntentCoverage.Intent intents = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getIntentsOrBuilderList()
public List<? extends IntentCoverage.IntentOrBuilder> getIntentsOrBuilderList()
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3.IntentCoverage.Intent intents = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3.IntentCoverage.IntentOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(IntentCoverage other)
public IntentCoverage.Builder mergeFrom(IntentCoverage other)
Parameter
Returns
public IntentCoverage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public IntentCoverage.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IntentCoverage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeIntents(int index)
public IntentCoverage.Builder removeIntents(int index)
The list of Intents present in the agent
repeated .google.cloud.dialogflow.cx.v3.IntentCoverage.Intent intents = 1;
Parameter
Name |
Description |
index |
int
|
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public IntentCoverage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.v3.IntentCoverage.Intent intents = 1;
Parameters
Returns
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.v3.IntentCoverage.Intent intents = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IntentCoverage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IntentCoverage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides