Class ValidationMessage
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.cx.v3.ValidationMessage
-
- All Implemented Interfaces:
ValidationMessageOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ValidationMessage extends com.google.protobuf.GeneratedMessageV3 implements ValidationMessageOrBuilder
Agent/flow validation message.
Protobuf typegoogle.cloud.dialogflow.cx.v3.ValidationMessage- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValidationMessage.BuilderAgent/flow validation message.static classValidationMessage.ResourceTypeResource types.static classValidationMessage.SeveritySeverity level.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDETAIL_FIELD_NUMBERstatic intRESOURCE_NAMES_FIELD_NUMBERstatic intRESOURCE_TYPE_FIELD_NUMBERstatic intRESOURCES_FIELD_NUMBERstatic intSEVERITY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)static ValidationMessagegetDefaultInstance()ValidationMessagegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDetail()The message detail.com.google.protobuf.ByteStringgetDetailBytes()The message detail.com.google.protobuf.Parser<ValidationMessage>getParserForType()ResourceNamegetResourceNames(int index)The resource names of the resources where the message is found.intgetResourceNamesCount()The resource names of the resources where the message is found.List<ResourceName>getResourceNamesList()The resource names of the resources where the message is found.ResourceNameOrBuildergetResourceNamesOrBuilder(int index)The resource names of the resources where the message is found.List<? extends ResourceNameOrBuilder>getResourceNamesOrBuilderList()The resource names of the resources where the message is found.StringgetResources(int index)Deprecated.google.cloud.dialogflow.cx.v3.ValidationMessage.resources is deprecated.com.google.protobuf.ByteStringgetResourcesBytes(int index)Deprecated.google.cloud.dialogflow.cx.v3.ValidationMessage.resources is deprecated.intgetResourcesCount()Deprecated.google.cloud.dialogflow.cx.v3.ValidationMessage.resources is deprecated.com.google.protobuf.ProtocolStringListgetResourcesList()Deprecated.google.cloud.dialogflow.cx.v3.ValidationMessage.resources is deprecated.ValidationMessage.ResourceTypegetResourceType()The type of the resources where the message is found.intgetResourceTypeValue()The type of the resources where the message is found.intgetSerializedSize()ValidationMessage.SeveritygetSeverity()Indicates the severity of the message.intgetSeverityValue()Indicates the severity of the message.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ValidationMessage.BuildernewBuilder()static ValidationMessage.BuildernewBuilder(ValidationMessage prototype)ValidationMessage.BuildernewBuilderForType()protected ValidationMessage.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ValidationMessageparseDelimitedFrom(InputStream input)static ValidationMessageparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValidationMessageparseFrom(byte[] data)static ValidationMessageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValidationMessageparseFrom(com.google.protobuf.ByteString data)static ValidationMessageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValidationMessageparseFrom(com.google.protobuf.CodedInputStream input)static ValidationMessageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValidationMessageparseFrom(InputStream input)static ValidationMessageparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValidationMessageparseFrom(ByteBuffer data)static ValidationMessageparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ValidationMessage>parser()ValidationMessage.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_NAMES_FIELD_NUMBER
public static final int RESOURCE_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DETAIL_FIELD_NUMBER
public static final int DETAIL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getResourceTypeValue
public int getResourceTypeValue()
The type of the resources where the message is found.
.google.cloud.dialogflow.cx.v3.ValidationMessage.ResourceType resource_type = 1;- Specified by:
getResourceTypeValuein interfaceValidationMessageOrBuilder- Returns:
- The enum numeric value on the wire for resourceType.
-
getResourceType
public ValidationMessage.ResourceType getResourceType()
The type of the resources where the message is found.
.google.cloud.dialogflow.cx.v3.ValidationMessage.ResourceType resource_type = 1;- Specified by:
getResourceTypein interfaceValidationMessageOrBuilder- Returns:
- The resourceType.
-
getResourcesList
@Deprecated public com.google.protobuf.ProtocolStringList getResourcesList()
Deprecated.google.cloud.dialogflow.cx.v3.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3/validation_message.proto;l=96The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];- Specified by:
getResourcesListin interfaceValidationMessageOrBuilder- Returns:
- A list containing the resources.
-
getResourcesCount
@Deprecated public int getResourcesCount()
Deprecated.google.cloud.dialogflow.cx.v3.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3/validation_message.proto;l=96The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];- Specified by:
getResourcesCountin interfaceValidationMessageOrBuilder- Returns:
- The count of resources.
-
getResources
@Deprecated public String getResources(int index)
Deprecated.google.cloud.dialogflow.cx.v3.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3/validation_message.proto;l=96The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];- Specified by:
getResourcesin interfaceValidationMessageOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resources at the given index.
-
getResourcesBytes
@Deprecated public com.google.protobuf.ByteString getResourcesBytes(int index)
Deprecated.google.cloud.dialogflow.cx.v3.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3/validation_message.proto;l=96The names of the resources where the message is found.
repeated string resources = 2 [deprecated = true];- Specified by:
getResourcesBytesin interfaceValidationMessageOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resources at the given index.
-
getResourceNamesList
public List<ResourceName> getResourceNamesList()
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3.ResourceName resource_names = 6;- Specified by:
getResourceNamesListin interfaceValidationMessageOrBuilder
-
getResourceNamesOrBuilderList
public List<? extends ResourceNameOrBuilder> getResourceNamesOrBuilderList()
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3.ResourceName resource_names = 6;- Specified by:
getResourceNamesOrBuilderListin interfaceValidationMessageOrBuilder
-
getResourceNamesCount
public int getResourceNamesCount()
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3.ResourceName resource_names = 6;- Specified by:
getResourceNamesCountin interfaceValidationMessageOrBuilder
-
getResourceNames
public ResourceName getResourceNames(int index)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3.ResourceName resource_names = 6;- Specified by:
getResourceNamesin interfaceValidationMessageOrBuilder
-
getResourceNamesOrBuilder
public ResourceNameOrBuilder getResourceNamesOrBuilder(int index)
The resource names of the resources where the message is found.
repeated .google.cloud.dialogflow.cx.v3.ResourceName resource_names = 6;- Specified by:
getResourceNamesOrBuilderin interfaceValidationMessageOrBuilder
-
getSeverityValue
public int getSeverityValue()
Indicates the severity of the message.
.google.cloud.dialogflow.cx.v3.ValidationMessage.Severity severity = 3;- Specified by:
getSeverityValuein interfaceValidationMessageOrBuilder- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
public ValidationMessage.Severity getSeverity()
Indicates the severity of the message.
.google.cloud.dialogflow.cx.v3.ValidationMessage.Severity severity = 3;- Specified by:
getSeverityin interfaceValidationMessageOrBuilder- Returns:
- The severity.
-
getDetail
public String getDetail()
The message detail.
string detail = 4;- Specified by:
getDetailin interfaceValidationMessageOrBuilder- Returns:
- The detail.
-
getDetailBytes
public com.google.protobuf.ByteString getDetailBytes()
The message detail.
string detail = 4;- Specified by:
getDetailBytesin interfaceValidationMessageOrBuilder- Returns:
- The bytes for detail.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ValidationMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValidationMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValidationMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValidationMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValidationMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValidationMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValidationMessage parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ValidationMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ValidationMessage parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ValidationMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ValidationMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ValidationMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ValidationMessage.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ValidationMessage.Builder newBuilder()
-
newBuilder
public static ValidationMessage.Builder newBuilder(ValidationMessage prototype)
-
toBuilder
public ValidationMessage.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ValidationMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ValidationMessage getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ValidationMessage> parser()
-
getParserForType
public com.google.protobuf.Parser<ValidationMessage> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ValidationMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-