Interface ResponseMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResponseMetadata,ResponseMetadata.Builder
@Generated
public interface ResponseMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()The body of the response.com.google.protobuf.ByteStringThe body of the response.com.google.protobuf.DurationTotal time elapsed for the response.com.google.protobuf.DurationOrBuilderTotal time elapsed for the response.getError()Error message received when making the ad request.com.google.protobuf.ByteStringError message received when making the ad request.com.google.protobuf.StructHeaders from the response.com.google.protobuf.StructOrBuilderHeaders from the response.intSize in bytes of the response.Status code for the response.com.google.protobuf.ByteStringStatus code for the response.booleanTotal time elapsed for the response.booleanHeaders from the response.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
-
getError
String getError()Error message received when making the ad request.
string error = 1;- Returns:
- The error.
-
getErrorBytes
com.google.protobuf.ByteString getErrorBytes()Error message received when making the ad request.
string error = 1;- Returns:
- The bytes for error.
-
hasHeaders
boolean hasHeaders()Headers from the response.
.google.protobuf.Struct headers = 2;- Returns:
- Whether the headers field is set.
-
getHeaders
com.google.protobuf.Struct getHeaders()Headers from the response.
.google.protobuf.Struct headers = 2;- Returns:
- The headers.
-
getHeadersOrBuilder
com.google.protobuf.StructOrBuilder getHeadersOrBuilder()Headers from the response.
.google.protobuf.Struct headers = 2; -
getStatusCode
String getStatusCode()Status code for the response.
string status_code = 3;- Returns:
- The statusCode.
-
getStatusCodeBytes
com.google.protobuf.ByteString getStatusCodeBytes()Status code for the response.
string status_code = 3;- Returns:
- The bytes for statusCode.
-
getSizeBytes
int getSizeBytes()Size in bytes of the response.
int32 size_bytes = 4;- Returns:
- The sizeBytes.
-
hasDuration
boolean hasDuration()Total time elapsed for the response.
.google.protobuf.Duration duration = 5;- Returns:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.Duration getDuration()Total time elapsed for the response.
.google.protobuf.Duration duration = 5;- Returns:
- The duration.
-
getDurationOrBuilder
com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Total time elapsed for the response.
.google.protobuf.Duration duration = 5; -
getBody
String getBody()The body of the response.
string body = 6;- Returns:
- The body.
-
getBodyBytes
com.google.protobuf.ByteString getBodyBytes()The body of the response.
string body = 6;- Returns:
- The bytes for body.
-