Interface HttpResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpResponse
,HttpResponse.Builder
public interface HttpResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteString
getBody()
The HTTP 1.1 response body.long
getContentLength()
Content length records the length of the associated content.Header
getHeaders(int index)
The HTTP response headers.int
getHeadersCount()
The HTTP response headers.List<Header>
getHeadersList()
The HTTP response headers.HeaderOrBuilder
getHeadersOrBuilder(int index)
The HTTP response headers.List<? extends HeaderOrBuilder>
getHeadersOrBuilderList()
The HTTP response headers.String
getId()
A unique identifier that matches the request ID.com.google.protobuf.ByteString
getIdBytes()
A unique identifier that matches the request ID.String
getStatus()
Status of http response, e.g.com.google.protobuf.ByteString
getStatusBytes()
Status of http response, e.g.int
getStatusCode()
Status code of http response, e.g.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
String getId()
A unique identifier that matches the request ID.
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
A unique identifier that matches the request ID.
string id = 1;
- Returns:
- The bytes for id.
-
getStatus
String getStatus()
Status of http response, e.g. "200 OK".
string status = 2;
- Returns:
- The status.
-
getStatusBytes
com.google.protobuf.ByteString getStatusBytes()
Status of http response, e.g. "200 OK".
string status = 2;
- Returns:
- The bytes for status.
-
getStatusCode
int getStatusCode()
Status code of http response, e.g. 200.
int32 status_code = 3;
- Returns:
- The statusCode.
-
getBody
com.google.protobuf.ByteString getBody()
The HTTP 1.1 response body.
bytes body = 4;
- Returns:
- The body.
-
getHeadersList
List<Header> getHeadersList()
The HTTP response headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 5;
-
getHeaders
Header getHeaders(int index)
The HTTP response headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 5;
-
getHeadersCount
int getHeadersCount()
The HTTP response headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 5;
-
getHeadersOrBuilderList
List<? extends HeaderOrBuilder> getHeadersOrBuilderList()
The HTTP response headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 5;
-
getHeadersOrBuilder
HeaderOrBuilder getHeadersOrBuilder(int index)
The HTTP response headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 5;
-
getContentLength
long getContentLength()
Content length records the length of the associated content. The value -1 indicates that the length is unknown. Unless http method is "HEAD", values >= 0 indicate that the given number of bytes may be read from Body.
int64 content_length = 6;
- Returns:
- The contentLength.
-
-