/*
 * 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 EgressRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.apigeeconnect.v1.EgressRequest)
    com.google.protobuf.MessageOrBuilder {

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

  /**
   *
   *
   * <pre>
   * Actual payload to send to agent.
   * </pre>
   *
   * <code>.google.cloud.apigeeconnect.v1.Payload payload = 2;</code>
   *
   * @return Whether the payload field is set.
   */
  boolean hasPayload();
  /**
   *
   *
   * <pre>
   * Actual payload to send to agent.
   * </pre>
   *
   * <code>.google.cloud.apigeeconnect.v1.Payload payload = 2;</code>
   *
   * @return The payload.
   */
  com.google.cloud.apigeeconnect.v1.Payload getPayload();
  /**
   *
   *
   * <pre>
   * Actual payload to send to agent.
   * </pre>
   *
   * <code>.google.cloud.apigeeconnect.v1.Payload payload = 2;</code>
   */
  com.google.cloud.apigeeconnect.v1.PayloadOrBuilder getPayloadOrBuilder();

  /**
   *
   *
   * <pre>
   * Tether Endpoint.
   * </pre>
   *
   * <code>.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;</code>
   *
   * @return The enum numeric value on the wire for endpoint.
   */
  int getEndpointValue();
  /**
   *
   *
   * <pre>
   * Tether Endpoint.
   * </pre>
   *
   * <code>.google.cloud.apigeeconnect.v1.TetherEndpoint endpoint = 3;</code>
   *
   * @return The endpoint.
   */
  com.google.cloud.apigeeconnect.v1.TetherEndpoint getEndpoint();

  /**
   *
   *
   * <pre>
   * GCP Project.
   * Format: `projects/{project_number}`.
   * </pre>
   *
   * <code>string project = 4;</code>
   *
   * @return The project.
   */
  java.lang.String getProject();
  /**
   *
   *
   * <pre>
   * GCP Project.
   * Format: `projects/{project_number}`.
   * </pre>
   *
   * <code>string project = 4;</code>
   *
   * @return The bytes for project.
   */
  com.google.protobuf.ByteString getProjectBytes();

  /**
   *
   *
   * <pre>
   * Unique identifier for clients to trace their request/response.
   * </pre>
   *
   * <code>string trace_id = 5;</code>
   *
   * @return The traceId.
   */
  java.lang.String getTraceId();
  /**
   *
   *
   * <pre>
   * Unique identifier for clients to trace their request/response.
   * </pre>
   *
   * <code>string trace_id = 5;</code>
   *
   * @return The bytes for traceId.
   */
  com.google.protobuf.ByteString getTraceIdBytes();

  /**
   *
   *
   * <pre>
   * Timeout for the HTTP request.
   * </pre>
   *
   * <code>.google.protobuf.Duration timeout = 6;</code>
   *
   * @return Whether the timeout field is set.
   */
  boolean hasTimeout();
  /**
   *
   *
   * <pre>
   * Timeout for the HTTP request.
   * </pre>
   *
   * <code>.google.protobuf.Duration timeout = 6;</code>
   *
   * @return The timeout.
   */
  com.google.protobuf.Duration getTimeout();
  /**
   *
   *
   * <pre>
   * Timeout for the HTTP request.
   * </pre>
   *
   * <code>.google.protobuf.Duration timeout = 6;</code>
   */
  com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder();
}
