/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/apigeeconnect/v1/tether.proto

package com.google.cloud.apigeeconnect.v1;

public interface HttpResponseOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.apigeeconnect.v1.HttpResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * A unique identifier that matches the request ID.
   * </pre>
   *
   * <code>string id = 1;</code>
   *
   * @return The id.
   */
  java.lang.String getId();
  /**
   *
   *
   * <pre>
   * A unique identifier that matches the request ID.
   * </pre>
   *
   * <code>string id = 1;</code>
   *
   * @return The bytes for id.
   */
  com.google.protobuf.ByteString getIdBytes();

  /**
   *
   *
   * <pre>
   * Status of http response, e.g. "200 OK".
   * </pre>
   *
   * <code>string status = 2;</code>
   *
   * @return The status.
   */
  java.lang.String getStatus();
  /**
   *
   *
   * <pre>
   * Status of http response, e.g. "200 OK".
   * </pre>
   *
   * <code>string status = 2;</code>
   *
   * @return The bytes for status.
   */
  com.google.protobuf.ByteString getStatusBytes();

  /**
   *
   *
   * <pre>
   * Status code of http response, e.g. 200.
   * </pre>
   *
   * <code>int32 status_code = 3;</code>
   *
   * @return The statusCode.
   */
  int getStatusCode();

  /**
   *
   *
   * <pre>
   * The HTTP 1.1 response body.
   * </pre>
   *
   * <code>bytes body = 4;</code>
   *
   * @return The body.
   */
  com.google.protobuf.ByteString getBody();

  /**
   *
   *
   * <pre>
   * The HTTP response headers.
   * </pre>
   *
   * <code>repeated .google.cloud.apigeeconnect.v1.Header headers = 5;</code>
   */
  java.util.List<com.google.cloud.apigeeconnect.v1.Header> getHeadersList();
  /**
   *
   *
   * <pre>
   * The HTTP response headers.
   * </pre>
   *
   * <code>repeated .google.cloud.apigeeconnect.v1.Header headers = 5;</code>
   */
  com.google.cloud.apigeeconnect.v1.Header getHeaders(int index);
  /**
   *
   *
   * <pre>
   * The HTTP response headers.
   * </pre>
   *
   * <code>repeated .google.cloud.apigeeconnect.v1.Header headers = 5;</code>
   */
  int getHeadersCount();
  /**
   *
   *
   * <pre>
   * The HTTP response headers.
   * </pre>
   *
   * <code>repeated .google.cloud.apigeeconnect.v1.Header headers = 5;</code>
   */
  java.util.List<? extends com.google.cloud.apigeeconnect.v1.HeaderOrBuilder>
      getHeadersOrBuilderList();
  /**
   *
   *
   * <pre>
   * The HTTP response headers.
   * </pre>
   *
   * <code>repeated .google.cloud.apigeeconnect.v1.Header headers = 5;</code>
   */
  com.google.cloud.apigeeconnect.v1.HeaderOrBuilder getHeadersOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * Content length records the length of the associated content. The
   * value -1 indicates that the length is unknown. Unless http method
   * is "HEAD", values &gt;= 0 indicate that the given number of bytes may
   * be read from Body.
   * </pre>
   *
   * <code>int64 content_length = 6;</code>
   *
   * @return The contentLength.
   */
  long getContentLength();
}
