Class 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 type google.cloud.dialogflow.cx.v3beta1.ValidationMessage
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getResourceTypeValue

        public int getResourceTypeValue()
         The type of the resources where the message is found.
         
        .google.cloud.dialogflow.cx.v3beta1.ValidationMessage.ResourceType resource_type = 1;
        Specified by:
        getResourceTypeValue in interface ValidationMessageOrBuilder
        Returns:
        The enum numeric value on the wire for resourceType.
      • getResourcesList

        @Deprecated
        public com.google.protobuf.ProtocolStringList getResourcesList()
        Deprecated.
        google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=96
         The names of the resources where the message is found.
         
        repeated string resources = 2 [deprecated = true];
        Specified by:
        getResourcesList in interface ValidationMessageOrBuilder
        Returns:
        A list containing the resources.
      • getResourcesCount

        @Deprecated
        public int getResourcesCount()
        Deprecated.
        google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=96
         The names of the resources where the message is found.
         
        repeated string resources = 2 [deprecated = true];
        Specified by:
        getResourcesCount in interface ValidationMessageOrBuilder
        Returns:
        The count of resources.
      • getResources

        @Deprecated
        public String getResources​(int index)
        Deprecated.
        google.cloud.dialogflow.cx.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=96
         The names of the resources where the message is found.
         
        repeated string resources = 2 [deprecated = true];
        Specified by:
        getResources in interface ValidationMessageOrBuilder
        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.v3beta1.ValidationMessage.resources is deprecated. See google/cloud/dialogflow/cx/v3beta1/validation_message.proto;l=96
         The names of the resources where the message is found.
         
        repeated string resources = 2 [deprecated = true];
        Specified by:
        getResourcesBytes in interface ValidationMessageOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the resources at the given index.
      • getResourceNamesCount

        public int getResourceNamesCount()
         The resource names of the resources where the message is found.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
        Specified by:
        getResourceNamesCount in interface ValidationMessageOrBuilder
      • getResourceNames

        public ResourceName getResourceNames​(int index)
         The resource names of the resources where the message is found.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
        Specified by:
        getResourceNames in interface ValidationMessageOrBuilder
      • getSeverityValue

        public int getSeverityValue()
         Indicates the severity of the message.
         
        .google.cloud.dialogflow.cx.v3beta1.ValidationMessage.Severity severity = 3;
        Specified by:
        getSeverityValue in interface ValidationMessageOrBuilder
        Returns:
        The enum numeric value on the wire for severity.
      • getDetailBytes

        public com.google.protobuf.ByteString getDetailBytes()
         The message detail.
         
        string detail = 4;
        Specified by:
        getDetailBytes in interface ValidationMessageOrBuilder
        Returns:
        The bytes for detail.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
        Throws:
        IOException
      • newBuilderForType

        public ValidationMessage.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ValidationMessage.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ValidationMessage.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ValidationMessage> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ValidationMessage getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder