Package com.google.cloud.dialogflow.v2
Interface ValidationErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ValidationError,ValidationError.Builder
@Generated
public interface ValidationErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEntries(int index) The names of the entries that the error is associated with.com.google.protobuf.ByteStringgetEntriesBytes(int index) The names of the entries that the error is associated with.intThe names of the entries that the error is associated with.The names of the entries that the error is associated with.The detailed error message.com.google.protobuf.ByteStringThe detailed error message.The severity of the error.intThe severity of the error.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSeverityValue
int getSeverityValue()The severity of the error.
.google.cloud.dialogflow.v2.ValidationError.Severity severity = 1;- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
ValidationError.Severity getSeverity()The severity of the error.
.google.cloud.dialogflow.v2.ValidationError.Severity severity = 1;- Returns:
- The severity.
-
getEntriesList
The names of the entries that the error is associated with. Format: - `projects/<Project ID>/agent`, if the error is associated with the entire agent. - `projects/<Project ID>/agent/intents/<Intent ID>`, if the error is associated with certain intents. - `projects/<Project ID>/agent/intents/<Intent Id>/trainingPhrases/<Training Phrase ID>`, if the error is associated with certain intent training phrases. - `projects/<Project ID>/agent/intents/<Intent Id>/parameters/<Parameter ID>`, if the error is associated with certain intent parameters. - `projects/<Project ID>/agent/entities/<Entity ID>`, if the error is associated with certain entities.
repeated string entries = 3;- Returns:
- A list containing the entries.
-
getEntriesCount
int getEntriesCount()The names of the entries that the error is associated with. Format: - `projects/<Project ID>/agent`, if the error is associated with the entire agent. - `projects/<Project ID>/agent/intents/<Intent ID>`, if the error is associated with certain intents. - `projects/<Project ID>/agent/intents/<Intent Id>/trainingPhrases/<Training Phrase ID>`, if the error is associated with certain intent training phrases. - `projects/<Project ID>/agent/intents/<Intent Id>/parameters/<Parameter ID>`, if the error is associated with certain intent parameters. - `projects/<Project ID>/agent/entities/<Entity ID>`, if the error is associated with certain entities.
repeated string entries = 3;- Returns:
- The count of entries.
-
getEntries
The names of the entries that the error is associated with. Format: - `projects/<Project ID>/agent`, if the error is associated with the entire agent. - `projects/<Project ID>/agent/intents/<Intent ID>`, if the error is associated with certain intents. - `projects/<Project ID>/agent/intents/<Intent Id>/trainingPhrases/<Training Phrase ID>`, if the error is associated with certain intent training phrases. - `projects/<Project ID>/agent/intents/<Intent Id>/parameters/<Parameter ID>`, if the error is associated with certain intent parameters. - `projects/<Project ID>/agent/entities/<Entity ID>`, if the error is associated with certain entities.
repeated string entries = 3;- Parameters:
index- The index of the element to return.- Returns:
- The entries at the given index.
-
getEntriesBytes
com.google.protobuf.ByteString getEntriesBytes(int index) The names of the entries that the error is associated with. Format: - `projects/<Project ID>/agent`, if the error is associated with the entire agent. - `projects/<Project ID>/agent/intents/<Intent ID>`, if the error is associated with certain intents. - `projects/<Project ID>/agent/intents/<Intent Id>/trainingPhrases/<Training Phrase ID>`, if the error is associated with certain intent training phrases. - `projects/<Project ID>/agent/intents/<Intent Id>/parameters/<Parameter ID>`, if the error is associated with certain intent parameters. - `projects/<Project ID>/agent/entities/<Entity ID>`, if the error is associated with certain entities.
repeated string entries = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entries at the given index.
-
getErrorMessage
String getErrorMessage()The detailed error message.
string error_message = 4;- Returns:
- The errorMessage.
-
getErrorMessageBytes
com.google.protobuf.ByteString getErrorMessageBytes()The detailed error message.
string error_message = 4;- Returns:
- The bytes for errorMessage.
-