public static final class ValidationError.Builder extends GeneratedMessageV3.Builder<ValidationError.Builder> implements ValidationErrorOrBuilder
Represents a single validation error.Protobuf type
google.cloud.dialogflow.v2beta1.ValidationError
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ValidationError.Builder>
public ValidationError.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ValidationError.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ValidationError.Builder>
public ValidationError getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ValidationError build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ValidationError buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ValidationError.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ValidationError.Builder>
public ValidationError.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ValidationError.Builder>
public ValidationError.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ValidationError.Builder>
public ValidationError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ValidationError.Builder>
public ValidationError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ValidationError.Builder>
public ValidationError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ValidationError.Builder>
public ValidationError.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ValidationError.Builder>
public ValidationError.Builder mergeFrom(ValidationError other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ValidationError.Builder>
public ValidationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ValidationError.Builder>
IOException
public int getSeverityValue()
The severity of the error.
.google.cloud.dialogflow.v2beta1.ValidationError.Severity severity = 1;
getSeverityValue
in interface ValidationErrorOrBuilder
public 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 ValidationErrorOrBuilder
public 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 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 ValidationErrorOrBuilder
public 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 ValidationErrorOrBuilder
public 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 ValidationErrorOrBuilder
index
- The index of the element to return.public 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 ValidationErrorOrBuilder
index
- 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(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 ValidationErrorOrBuilder
public ByteString getErrorMessageBytes()
The detailed error message.
string error_message = 4;
getErrorMessageBytes
in interface ValidationErrorOrBuilder
public 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(ByteString value)
The detailed error message.
string error_message = 4;
value
- The bytes for errorMessage to set.public final ValidationError.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ValidationError.Builder>
public final ValidationError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ValidationError.Builder>
Copyright © 2022 Google LLC. All rights reserved.