Class ValidationMessage

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.ValidationMessage
All Implemented Interfaces:
ValidationMessageOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ValidationMessage extends com.google.protobuf.GeneratedMessage implements ValidationMessageOrBuilder
 Agent/flow validation message.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.ValidationMessage
See Also:
  • Field Details

    • RESOURCE_TYPE_FIELD_NUMBER

      public static final int RESOURCE_TYPE_FIELD_NUMBER
      See Also:
    • RESOURCES_FIELD_NUMBER

      public static final int RESOURCES_FIELD_NUMBER
      See Also:
    • RESOURCE_NAMES_FIELD_NUMBER

      public static final int RESOURCE_NAMES_FIELD_NUMBER
      See Also:
    • SEVERITY_FIELD_NUMBER

      public static final int SEVERITY_FIELD_NUMBER
      See Also:
    • DETAIL_FIELD_NUMBER

      public static final int DETAIL_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.
    • getResourceType

      public ValidationMessage.ResourceType getResourceType()
       The type of the resources where the message is found.
       
      .google.cloud.dialogflow.cx.v3beta1.ValidationMessage.ResourceType resource_type = 1;
      Specified by:
      getResourceType in interface ValidationMessageOrBuilder
      Returns:
      The 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=95
       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=95
       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=95
       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=95
       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.
    • getResourceNamesList

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

      public List<? extends ResourceNameOrBuilder> getResourceNamesOrBuilderList()
       The resource names of the resources where the message is found.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResourceName resource_names = 6;
      Specified by:
      getResourceNamesOrBuilderList in interface ValidationMessageOrBuilder
    • 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
    • getResourceNamesOrBuilder

      public ResourceNameOrBuilder getResourceNamesOrBuilder(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:
      getResourceNamesOrBuilder 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.
    • getSeverity

      public ValidationMessage.Severity getSeverity()
       Indicates the severity of the message.
       
      .google.cloud.dialogflow.cx.v3beta1.ValidationMessage.Severity severity = 3;
      Specified by:
      getSeverity in interface ValidationMessageOrBuilder
      Returns:
      The severity.
    • getDetail

      public String getDetail()
       The message detail.
       
      string detail = 4;
      Specified by:
      getDetail in interface ValidationMessageOrBuilder
      Returns:
      The detail.
    • 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.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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(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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ValidationMessage.Builder newBuilder()
    • newBuilder

      public static ValidationMessage.Builder newBuilder(ValidationMessage prototype)
    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ValidationMessage getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ValidationMessage> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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