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

package com.ywt.gapi.message;

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

  /**
   * <pre>
   *rest服务url格式：rest://${serviceName}/${path}，如：rest://com.ywt.MgDrugService/path1/path2
   * </pre>
   *
   * <code>string url = 1;</code>
   * @return The url.
   */
  java.lang.String getUrl();
  /**
   * <pre>
   *rest服务url格式：rest://${serviceName}/${path}，如：rest://com.ywt.MgDrugService/path1/path2
   * </pre>
   *
   * <code>string url = 1;</code>
   * @return The bytes for url.
   */
  com.google.protobuf.ByteString
      getUrlBytes();

  /**
   * <pre>
   *包体
   * </pre>
   *
   * <code>bytes body = 2;</code>
   * @return The body.
   */
  com.google.protobuf.ByteString getBody();

  /**
   * <pre>
   * get | post
   * </pre>
   *
   * <code>string method = 4;</code>
   * @return The method.
   */
  java.lang.String getMethod();
  /**
   * <pre>
   * get | post
   * </pre>
   *
   * <code>string method = 4;</code>
   * @return The bytes for method.
   */
  com.google.protobuf.ByteString
      getMethodBytes();

  /**
   * <code>repeated .com.ywt.gapi.message.SendErrorEmailRequest.Header headers = 5;</code>
   */
  java.util.List<com.ywt.gapi.message.SendErrorEmailRequest.Header> 
      getHeadersList();
  /**
   * <code>repeated .com.ywt.gapi.message.SendErrorEmailRequest.Header headers = 5;</code>
   */
  com.ywt.gapi.message.SendErrorEmailRequest.Header getHeaders(int index);
  /**
   * <code>repeated .com.ywt.gapi.message.SendErrorEmailRequest.Header headers = 5;</code>
   */
  int getHeadersCount();
  /**
   * <code>repeated .com.ywt.gapi.message.SendErrorEmailRequest.Header headers = 5;</code>
   */
  java.util.List<? extends com.ywt.gapi.message.SendErrorEmailRequest.HeaderOrBuilder> 
      getHeadersOrBuilderList();
  /**
   * <code>repeated .com.ywt.gapi.message.SendErrorEmailRequest.Header headers = 5;</code>
   */
  com.ywt.gapi.message.SendErrorEmailRequest.HeaderOrBuilder getHeadersOrBuilder(
      int index);

  /**
   * <pre>
   * kind = 1表示grpc方式（此时：url对应ExecuteGRPCRequest里面的method，body对应ExecuteGRPCRequest里面的data），kind = 2 表示rest方式
   * </pre>
   *
   * <code>int32 kind = 6;</code>
   * @return The kind.
   */
  int getKind();

  /**
   * <pre>
   * 类型，0-默认，1-mq
   * </pre>
   *
   * <code>int32 type = 7;</code>
   * @return The type.
   */
  int getType();
}
