public static final class ValidationError.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder> implements ValidationErrorOrBuilder
Represents a single validation error.Protobuf type
google.cloud.dialogflow.v2beta1.ValidationError| Modifier and Type | Method and Description |
|---|---|
ValidationError.Builder |
addAllEntries(Iterable<String> values)
The names of the entries that the error is associated with.
|
ValidationError.Builder |
addEntries(String value)
The names of the entries that the error is associated with.
|
ValidationError.Builder |
addEntriesBytes(com.google.protobuf.ByteString value)
The names of the entries that the error is associated with.
|
ValidationError.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ValidationError |
build() |
ValidationError |
buildPartial() |
ValidationError.Builder |
clear() |
ValidationError.Builder |
clearEntries()
The names of the entries that the error is associated with.
|
ValidationError.Builder |
clearErrorMessage()
The detailed error message.
|
ValidationError.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ValidationError.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ValidationError.Builder |
clearSeverity()
The severity of the error.
|
ValidationError.Builder |
clone() |
ValidationError |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
com.google.protobuf.ProtocolStringList |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ValidationError.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ValidationError.Builder |
mergeFrom(com.google.protobuf.Message other) |
ValidationError.Builder |
mergeFrom(ValidationError other) |
ValidationError.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ValidationError.Builder |
setEntries(int index,
String value)
The names of the entries that the error is associated with.
|
ValidationError.Builder |
setErrorMessage(String value)
The detailed error message.
|
ValidationError.Builder |
setErrorMessageBytes(com.google.protobuf.ByteString value)
The detailed error message.
|
ValidationError.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ValidationError.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ValidationError.Builder |
setSeverity(ValidationError.Severity value)
The severity of the error.
|
ValidationError.Builder |
setSeverityValue(int value)
The severity of the error.
|
ValidationError.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder>public ValidationError.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder>public ValidationError getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ValidationError build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ValidationError buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ValidationError.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder>public ValidationError.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder>public ValidationError.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder>public ValidationError.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder>public ValidationError.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder>public ValidationError.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder>public ValidationError.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ValidationError.Builder>public ValidationError.Builder mergeFrom(ValidationError other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder>public ValidationError.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ValidationError.Builder>IOExceptionpublic int getSeverityValue()
The severity of the error.
.google.cloud.dialogflow.v2beta1.ValidationError.Severity severity = 1;getSeverityValue in interface ValidationErrorOrBuilderpublic ValidationError.Builder setSeverityValue(int value)
The severity of the error.
.google.cloud.dialogflow.v2beta1.ValidationError.Severity severity = 1;value - The enum numeric value on the wire for severity to set.public ValidationError.Severity getSeverity()
The severity of the error.
.google.cloud.dialogflow.v2beta1.ValidationError.Severity severity = 1;getSeverity in interface ValidationErrorOrBuilderpublic ValidationError.Builder setSeverity(ValidationError.Severity value)
The severity of the error.
.google.cloud.dialogflow.v2beta1.ValidationError.Severity severity = 1;value - The severity to set.public ValidationError.Builder clearSeverity()
The severity of the error.
.google.cloud.dialogflow.v2beta1.ValidationError.Severity severity = 1;public com.google.protobuf.ProtocolStringList 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;getEntriesList in interface ValidationErrorOrBuilderpublic 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;getEntriesCount in interface ValidationErrorOrBuilderpublic 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;getEntries in interface ValidationErrorOrBuilderindex - The index of the element to return.public 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;getEntriesBytes in interface ValidationErrorOrBuilderindex - The index of the value to return.public ValidationError.Builder setEntries(int index, String value)
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;index - The index to set the value at.value - The entries to set.public ValidationError.Builder addEntries(String value)
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;value - The entries to add.public ValidationError.Builder addAllEntries(Iterable<String> values)
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;values - The entries to add.public ValidationError.Builder clearEntries()
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;public ValidationError.Builder addEntriesBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the entries to add.public String getErrorMessage()
The detailed error message.
string error_message = 4;getErrorMessage in interface ValidationErrorOrBuilderpublic com.google.protobuf.ByteString getErrorMessageBytes()
The detailed error message.
string error_message = 4;getErrorMessageBytes in interface ValidationErrorOrBuilderpublic ValidationError.Builder setErrorMessage(String value)
The detailed error message.
string error_message = 4;value - The errorMessage to set.public ValidationError.Builder clearErrorMessage()
The detailed error message.
string error_message = 4;public ValidationError.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
The detailed error message.
string error_message = 4;value - The bytes for errorMessage to set.public final ValidationError.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder>public final ValidationError.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ValidationError.Builder>Copyright © 2023 Google LLC. All rights reserved.