// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto

package com.google.recaptchaenterprise.v1beta1;

public interface TokenPropertiesOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.recaptchaenterprise.v1beta1.TokenProperties)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Output only. Whether the provided user response token is valid.
   * </pre>
   *
   * <code>bool valid = 1;</code>
   */
  boolean getValid();

  /**
   *
   *
   * <pre>
   * Output only. Reason associated with the response when valid = false.
   * </pre>
   *
   * <code>
   * .google.cloud.recaptchaenterprise.v1beta1.TokenProperties.InvalidReason invalid_reason = 2;
   * </code>
   */
  int getInvalidReasonValue();
  /**
   *
   *
   * <pre>
   * Output only. Reason associated with the response when valid = false.
   * </pre>
   *
   * <code>
   * .google.cloud.recaptchaenterprise.v1beta1.TokenProperties.InvalidReason invalid_reason = 2;
   * </code>
   */
  com.google.recaptchaenterprise.v1beta1.TokenProperties.InvalidReason getInvalidReason();

  /**
   *
   *
   * <pre>
   * Output only. The timestamp corresponding to the generation of the token.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 3;</code>
   */
  boolean hasCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. The timestamp corresponding to the generation of the token.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 3;</code>
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. The timestamp corresponding to the generation of the token.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 3;</code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The hostname of the page on which the token was generated.
   * </pre>
   *
   * <code>string hostname = 4;</code>
   */
  java.lang.String getHostname();
  /**
   *
   *
   * <pre>
   * Output only. The hostname of the page on which the token was generated.
   * </pre>
   *
   * <code>string hostname = 4;</code>
   */
  com.google.protobuf.ByteString getHostnameBytes();

  /**
   *
   *
   * <pre>
   * Output only. Action name provided at token generation.
   * </pre>
   *
   * <code>string action = 5;</code>
   */
  java.lang.String getAction();
  /**
   *
   *
   * <pre>
   * Output only. Action name provided at token generation.
   * </pre>
   *
   * <code>string action = 5;</code>
   */
  com.google.protobuf.ByteString getActionBytes();
}
