public static interface HttpOperationDetails.HttpResponseOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsHeaders(String key)
public abstract boolean containsHeaders(String key)Optional. Unordered map from header name to header metadata
map<string, .google.cloud.apihub.v1.HttpOperationDetails.Header> headers = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsResponseCodes(int key)
public abstract boolean containsResponseCodes(int key)Optional. Map of status code to observed count
map<int32, int64> response_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
int |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getHeaders() (deprecated)
public abstract Map<String,HttpOperationDetails.Header> getHeaders()Use #getHeadersMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Header> |
|
getHeadersCount()
public abstract 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];
| Returns | |
|---|---|
| Type | Description |
int |
|
getHeadersMap()
public abstract 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];
| Returns | |
|---|---|
| Type | Description |
Map<String,Header> |
|
getHeadersOrDefault(String key, HttpOperationDetails.Header defaultValue)
public abstract 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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
HttpOperationDetails.Header |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Header |
|
getHeadersOrThrow(String key)
public abstract HttpOperationDetails.Header getHeadersOrThrow(String key)Optional. Unordered map from header name to header metadata
map<string, .google.cloud.apihub.v1.HttpOperationDetails.Header> headers = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Header |
|
getResponseCodes() (deprecated)
public abstract Map<Integer,Long> getResponseCodes()Use #getResponseCodesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<Integer,java.lang.Long> |
|
getResponseCodesCount()
public abstract int getResponseCodesCount()Optional. Map of status code to observed count
map<int32, int64> response_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getResponseCodesMap()
public abstract Map<Integer,Long> getResponseCodesMap()Optional. Map of status code to observed count
map<int32, int64> response_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<Integer,java.lang.Long> |
|
getResponseCodesOrDefault(int key, long defaultValue)
public abstract 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];
| Parameters | |
|---|---|
| Name | Description |
key |
int |
defaultValue |
long |
| Returns | |
|---|---|
| Type | Description |
long |
|
getResponseCodesOrThrow(int key)
public abstract long getResponseCodesOrThrow(int key)Optional. Map of status code to observed count
map<int32, int64> response_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
int |
| Returns | |
|---|---|
| Type | Description |
long |
|