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

package com.ywt.gapi.message;

public interface SendTemplateMessageRequestOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.ywt.gapi.message.SendTemplateMessageRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * 内部定义的模板消息编号，定义在template_msg_config表
   * </pre>
   *
   * <code>string templateCode = 1;</code>
   * @return The templateCode.
   */
  java.lang.String getTemplateCode();
  /**
   * <pre>
   * 内部定义的模板消息编号，定义在template_msg_config表
   * </pre>
   *
   * <code>string templateCode = 1;</code>
   * @return The bytes for templateCode.
   */
  com.google.protobuf.ByteString
      getTemplateCodeBytes();

  /**
   * <pre>
   * 接受模板消息的用户openId
   * </pre>
   *
   * <code>string toUser = 2;</code>
   * @return The toUser.
   */
  java.lang.String getToUser();
  /**
   * <pre>
   * 接受模板消息的用户openId
   * </pre>
   *
   * <code>string toUser = 2;</code>
   * @return The bytes for toUser.
   */
  com.google.protobuf.ByteString
      getToUserBytes();

  /**
   * <pre>
   * 模板跳转链接（可选）
   * </pre>
   *
   * <code>string url = 3;</code>
   * @return The url.
   */
  java.lang.String getUrl();
  /**
   * <pre>
   * 模板跳转链接（可选）
   * </pre>
   *
   * <code>string url = 3;</code>
   * @return The bytes for url.
   */
  com.google.protobuf.ByteString
      getUrlBytes();

  /**
   * <pre>
   * 跳小程序所需数据（可选）包含参数：appid - 所需跳转到的小程序appid（该小程序appid必须与发模板消息的公众号是绑定关联关系，暂不支持小游戏）; pagepath - 所需跳转到小程序的具体页面路径，支持带参数,（示例index?foo=bar），暂不支持小游戏
   * </pre>
   *
   * <code>string miniProgram = 4;</code>
   * @return The miniProgram.
   */
  java.lang.String getMiniProgram();
  /**
   * <pre>
   * 跳小程序所需数据（可选）包含参数：appid - 所需跳转到的小程序appid（该小程序appid必须与发模板消息的公众号是绑定关联关系，暂不支持小游戏）; pagepath - 所需跳转到小程序的具体页面路径，支持带参数,（示例index?foo=bar），暂不支持小游戏
   * </pre>
   *
   * <code>string miniProgram = 4;</code>
   * @return The bytes for miniProgram.
   */
  com.google.protobuf.ByteString
      getMiniProgramBytes();

  /**
   * <pre>
   * 模板数据，json格式，参数内可以通过value设定值，通过color设置颜色（可选）
   * </pre>
   *
   * <code>string data = 5;</code>
   * @return The data.
   */
  java.lang.String getData();
  /**
   * <pre>
   * 模板数据，json格式，参数内可以通过value设定值，通过color设置颜色（可选）
   * </pre>
   *
   * <code>string data = 5;</code>
   * @return The bytes for data.
   */
  com.google.protobuf.ByteString
      getDataBytes();

  /**
   * <pre>
   *用户id
   * </pre>
   *
   * <code>int32 userId = 6;</code>
   * @return The userId.
   */
  int getUserId();

  /**
   * <code>repeated .com.ywt.gapi.message.SendTemplateMessageRequest.Keyword keywords = 7;</code>
   */
  java.util.List<com.ywt.gapi.message.SendTemplateMessageRequest.Keyword> 
      getKeywordsList();
  /**
   * <code>repeated .com.ywt.gapi.message.SendTemplateMessageRequest.Keyword keywords = 7;</code>
   */
  com.ywt.gapi.message.SendTemplateMessageRequest.Keyword getKeywords(int index);
  /**
   * <code>repeated .com.ywt.gapi.message.SendTemplateMessageRequest.Keyword keywords = 7;</code>
   */
  int getKeywordsCount();
  /**
   * <code>repeated .com.ywt.gapi.message.SendTemplateMessageRequest.Keyword keywords = 7;</code>
   */
  java.util.List<? extends com.ywt.gapi.message.SendTemplateMessageRequest.KeywordOrBuilder> 
      getKeywordsOrBuilderList();
  /**
   * <code>repeated .com.ywt.gapi.message.SendTemplateMessageRequest.Keyword keywords = 7;</code>
   */
  com.ywt.gapi.message.SendTemplateMessageRequest.KeywordOrBuilder getKeywordsOrBuilder(
      int index);

  /**
   * <code>.com.ywt.gapi.message.SendTemplateMessageRequest.Keyword firstKeyword = 8;</code>
   * @return Whether the firstKeyword field is set.
   */
  boolean hasFirstKeyword();
  /**
   * <code>.com.ywt.gapi.message.SendTemplateMessageRequest.Keyword firstKeyword = 8;</code>
   * @return The firstKeyword.
   */
  com.ywt.gapi.message.SendTemplateMessageRequest.Keyword getFirstKeyword();
  /**
   * <code>.com.ywt.gapi.message.SendTemplateMessageRequest.Keyword firstKeyword = 8;</code>
   */
  com.ywt.gapi.message.SendTemplateMessageRequest.KeywordOrBuilder getFirstKeywordOrBuilder();

  /**
   * <code>.com.ywt.gapi.message.SendTemplateMessageRequest.Keyword remarkKeyword = 9;</code>
   * @return Whether the remarkKeyword field is set.
   */
  boolean hasRemarkKeyword();
  /**
   * <code>.com.ywt.gapi.message.SendTemplateMessageRequest.Keyword remarkKeyword = 9;</code>
   * @return The remarkKeyword.
   */
  com.ywt.gapi.message.SendTemplateMessageRequest.Keyword getRemarkKeyword();
  /**
   * <code>.com.ywt.gapi.message.SendTemplateMessageRequest.Keyword remarkKeyword = 9;</code>
   */
  com.ywt.gapi.message.SendTemplateMessageRequest.KeywordOrBuilder getRemarkKeywordOrBuilder();

  /**
   * <code>.com.ywt.gapi.message.SendTemplateMessageRequest.MiniProgramParam mpParam = 10;</code>
   * @return Whether the mpParam field is set.
   */
  boolean hasMpParam();
  /**
   * <code>.com.ywt.gapi.message.SendTemplateMessageRequest.MiniProgramParam mpParam = 10;</code>
   * @return The mpParam.
   */
  com.ywt.gapi.message.SendTemplateMessageRequest.MiniProgramParam getMpParam();
  /**
   * <code>.com.ywt.gapi.message.SendTemplateMessageRequest.MiniProgramParam mpParam = 10;</code>
   */
  com.ywt.gapi.message.SendTemplateMessageRequest.MiniProgramParamOrBuilder getMpParamOrBuilder();
}
