// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: system.proto

package com.ywt.gapi.system;

public interface CacheKeyOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.ywt.gapi.system.CacheKey)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <code>int32 id = 1;</code>
   * @return The id.
   */
  int getId();

  /**
   * <pre>
   * 缓存键名称
   * </pre>
   *
   * <code>string keyName = 2;</code>
   * @return The keyName.
   */
  java.lang.String getKeyName();
  /**
   * <pre>
   * 缓存键名称
   * </pre>
   *
   * <code>string keyName = 2;</code>
   * @return The bytes for keyName.
   */
  com.google.protobuf.ByteString
      getKeyNameBytes();

  /**
   * <pre>
   * 缓存类型：0-GuavaCache, 1-Redis
   * </pre>
   *
   * <code>int32 cacheType = 3;</code>
   * @return The cacheType.
   */
  int getCacheType();

  /**
   * <pre>
   * 调用方式：0-local, 1-grpc, 2-rest
   * </pre>
   *
   * <code>int32 callType = 4;</code>
   * @return The callType.
   */
  int getCallType();

  /**
   * <pre>
   * grpc/rest 调用需要指定服务方法名称
   * </pre>
   *
   * <code>string methodName = 5;</code>
   * @return The methodName.
   */
  java.lang.String getMethodName();
  /**
   * <pre>
   * grpc/rest 调用需要指定服务方法名称
   * </pre>
   *
   * <code>string methodName = 5;</code>
   * @return The bytes for methodName.
   */
  com.google.protobuf.ByteString
      getMethodNameBytes();

  /**
   * <pre>
   * 键匹配模式：0-match, 1-pattern
   * </pre>
   *
   * <code>int32 keyType = 6;</code>
   * @return The keyType.
   */
  int getKeyType();

  /**
   * <pre>
   * 别名
   * </pre>
   *
   * <code>string alias = 7;</code>
   * @return The alias.
   */
  java.lang.String getAlias();
  /**
   * <pre>
   * 别名
   * </pre>
   *
   * <code>string alias = 7;</code>
   * @return The bytes for alias.
   */
  com.google.protobuf.ByteString
      getAliasBytes();

  /**
   * <pre>
   * 备注
   * </pre>
   *
   * <code>string remark = 8;</code>
   * @return The remark.
   */
  java.lang.String getRemark();
  /**
   * <pre>
   * 备注
   * </pre>
   *
   * <code>string remark = 8;</code>
   * @return The bytes for remark.
   */
  com.google.protobuf.ByteString
      getRemarkBytes();
}
