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
public interface ValidationErrorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getEntries(int index)
The names of the entries that the error is associated with.com.google.protobuf.ByteString
getEntriesBytes(int index)
The names of the entries that the error is associated with.int
getEntriesCount()
The names of the entries that the error is associated with.List<String>
getEntriesList()
The names of the entries that the error is associated with.String
getErrorMessage()
The detailed error message.com.google.protobuf.ByteString
getErrorMessageBytes()
The detailed error message.ValidationError.Severity
getSeverity()
The severity of the error.int
getSeverityValue()
The severity of the error.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
List<String> 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
String getEntries(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 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.
-
-