com.google.rpc.HttpResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/rpc/http.proto
// Protobuf Java Version: 3.25.4
package com.google.rpc;
public interface HttpResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.rpc.HttpResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* The HTTP status code, such as 200 or 404.
*
*
* int32 status = 1;
* @return The status.
*/
int getStatus();
/**
*
* The HTTP reason phrase, such as "OK" or "Not Found".
*
*
* string reason = 2;
* @return The reason.
*/
java.lang.String getReason();
/**
*
* The HTTP reason phrase, such as "OK" or "Not Found".
*
*
* string reason = 2;
* @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
/**
*
* The HTTP response headers. The ordering of the headers is significant.
* Multiple headers with the same key may present for the response.
*
*
* repeated .google.rpc.HttpHeader headers = 3;
*/
java.util.List
getHeadersList();
/**
*
* The HTTP response headers. The ordering of the headers is significant.
* Multiple headers with the same key may present for the response.
*
*
* repeated .google.rpc.HttpHeader headers = 3;
*/
com.google.rpc.HttpHeader getHeaders(int index);
/**
*
* The HTTP response headers. The ordering of the headers is significant.
* Multiple headers with the same key may present for the response.
*
*
* repeated .google.rpc.HttpHeader headers = 3;
*/
int getHeadersCount();
/**
*
* The HTTP response headers. The ordering of the headers is significant.
* Multiple headers with the same key may present for the response.
*
*
* repeated .google.rpc.HttpHeader headers = 3;
*/
java.util.List extends com.google.rpc.HttpHeaderOrBuilder>
getHeadersOrBuilderList();
/**
*
* The HTTP response headers. The ordering of the headers is significant.
* Multiple headers with the same key may present for the response.
*
*
* repeated .google.rpc.HttpHeader headers = 3;
*/
com.google.rpc.HttpHeaderOrBuilder getHeadersOrBuilder(
int index);
/**
*
* The HTTP response body. If the body is not expected, it should be empty.
*
*
* bytes body = 4;
* @return The body.
*/
com.google.protobuf.ByteString getBody();
}