Interface HttpResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpResponse,HttpResponse.Builder
@Generated
public interface HttpResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetBody()The HTTP 1.1 response body.longContent length records the length of the associated content.getHeaders(int index) The HTTP response headers.intThe HTTP response headers.The HTTP response headers.getHeadersOrBuilder(int index) The HTTP response headers.List<? extends HeaderOrBuilder>The HTTP response headers.getId()A unique identifier that matches the request ID.com.google.protobuf.ByteStringA unique identifier that matches the request ID.Status of http response, e.g. "200 OK".com.google.protobuf.ByteStringStatus of http response, e.g. "200 OK".intStatus code of http response, e.g. 200.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
The HTTP response headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 5; -
getHeaders
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
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.
-