Package com.google.cloud.apihub.v1
Interface HttpOperationDetails.HttpResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpOperationDetails.HttpResponse,HttpOperationDetails.HttpResponse.Builder
- Enclosing class:
- HttpOperationDetails
public static interface HttpOperationDetails.HttpResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsHeaders(String key) Optional.booleancontainsResponseCodes(int key) Optional.Deprecated.intOptional.Optional.getHeadersOrDefault(String key, HttpOperationDetails.Header defaultValue) Optional.getHeadersOrThrow(String key) Optional.Deprecated.intOptional.Optional.longgetResponseCodesOrDefault(int key, long defaultValue) Optional.longgetResponseCodesOrThrow(int key) Optional.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
-
getHeadersCount
int getHeadersCount()Optional. Unordered map from header name to header metadata
map<string, .google.cloud.apihub.v1.HttpOperationDetails.Header> headers = 1 [(.google.api.field_behavior) = OPTIONAL]; -
containsHeaders
Optional. Unordered map from header name to header metadata
map<string, .google.cloud.apihub.v1.HttpOperationDetails.Header> headers = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getHeaders
Deprecated.UsegetHeadersMap()instead. -
getHeadersMap
Map<String,HttpOperationDetails.Header> getHeadersMap()Optional. Unordered map from header name to header metadata
map<string, .google.cloud.apihub.v1.HttpOperationDetails.Header> headers = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getHeadersOrDefault
HttpOperationDetails.Header getHeadersOrDefault(String key, HttpOperationDetails.Header defaultValue) Optional. Unordered map from header name to header metadata
map<string, .google.cloud.apihub.v1.HttpOperationDetails.Header> headers = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getHeadersOrThrow
Optional. Unordered map from header name to header metadata
map<string, .google.cloud.apihub.v1.HttpOperationDetails.Header> headers = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getResponseCodesCount
int getResponseCodesCount()Optional. Map of status code to observed count
map<int32, int64> response_codes = 2 [(.google.api.field_behavior) = OPTIONAL]; -
containsResponseCodes
boolean containsResponseCodes(int key) Optional. Map of status code to observed count
map<int32, int64> response_codes = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getResponseCodes
Deprecated.UsegetResponseCodesMap()instead. -
getResponseCodesMap
Optional. Map of status code to observed count
map<int32, int64> response_codes = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getResponseCodesOrDefault
long getResponseCodesOrDefault(int key, long defaultValue) Optional. Map of status code to observed count
map<int32, int64> response_codes = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getResponseCodesOrThrow
long getResponseCodesOrThrow(int key) Optional. Map of status code to observed count
map<int32, int64> response_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
-