Interface HttpOperationDetailsOrBuilder (0.28.0)

public interface HttpOperationDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsQueryParams(String key)

public abstract boolean containsQueryParams(String key)

Optional. Query params of HttpOperation

map<string, .google.cloud.apihub.v1.HttpOperationDetails.QueryParam> query_params = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getHttpOperation()

public abstract HttpOperation getHttpOperation()

Required. An HTTP Operation.

.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HttpOperation

The httpOperation.

getHttpOperationOrBuilder()

public abstract HttpOperationOrBuilder getHttpOperationOrBuilder()

Required. An HTTP Operation.

.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HttpOperationOrBuilder

getPathParams(int index)

public abstract HttpOperationDetails.PathParam getPathParams(int index)

Optional. Path params of HttpOperation

repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
HttpOperationDetails.PathParam

getPathParamsCount()

public abstract int getPathParamsCount()

Optional. Path params of HttpOperation

repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getPathParamsList()

public abstract List<HttpOperationDetails.PathParam> getPathParamsList()

Optional. Path params of HttpOperation

repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<PathParam>

getPathParamsOrBuilder(int index)

public abstract HttpOperationDetails.PathParamOrBuilder getPathParamsOrBuilder(int index)

Optional. Path params of HttpOperation

repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
HttpOperationDetails.PathParamOrBuilder

getPathParamsOrBuilderList()

public abstract List<? extends HttpOperationDetails.PathParamOrBuilder> getPathParamsOrBuilderList()

Optional. Path params of HttpOperation

repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.apihub.v1.HttpOperationDetails.PathParamOrBuilder>

getQueryParams() (deprecated)

public abstract Map<String,HttpOperationDetails.QueryParam> getQueryParams()

Use #getQueryParamsMap() instead.

Returns
Type Description
Map<String,QueryParam>

getQueryParamsCount()

public abstract int getQueryParamsCount()

Optional. Query params of HttpOperation

map<string, .google.cloud.apihub.v1.HttpOperationDetails.QueryParam> query_params = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getQueryParamsMap()

public abstract Map<String,HttpOperationDetails.QueryParam> getQueryParamsMap()

Optional. Query params of HttpOperation

map<string, .google.cloud.apihub.v1.HttpOperationDetails.QueryParam> query_params = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,QueryParam>

getQueryParamsOrDefault(String key, HttpOperationDetails.QueryParam defaultValue)

public abstract HttpOperationDetails.QueryParam getQueryParamsOrDefault(String key, HttpOperationDetails.QueryParam defaultValue)

Optional. Query params of HttpOperation

map<string, .google.cloud.apihub.v1.HttpOperationDetails.QueryParam> query_params = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue HttpOperationDetails.QueryParam
Returns
Type Description
HttpOperationDetails.QueryParam

getQueryParamsOrThrow(String key)

public abstract HttpOperationDetails.QueryParam getQueryParamsOrThrow(String key)

Optional. Query params of HttpOperation

map<string, .google.cloud.apihub.v1.HttpOperationDetails.QueryParam> query_params = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
HttpOperationDetails.QueryParam

getRequest()

public abstract HttpOperationDetails.HttpRequest getRequest()

Optional. Request metadata.

.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HttpOperationDetails.HttpRequest

The request.

getRequestOrBuilder()

public abstract HttpOperationDetails.HttpRequestOrBuilder getRequestOrBuilder()

Optional. Request metadata.

.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HttpOperationDetails.HttpRequestOrBuilder

getResponse()

public abstract HttpOperationDetails.HttpResponse getResponse()

Optional. Response metadata.

.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HttpOperationDetails.HttpResponse

The response.

getResponseOrBuilder()

public abstract HttpOperationDetails.HttpResponseOrBuilder getResponseOrBuilder()

Optional. Response metadata.

.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HttpOperationDetails.HttpResponseOrBuilder

hasHttpOperation()

public abstract boolean hasHttpOperation()

Required. An HTTP Operation.

.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the httpOperation field is set.

hasRequest()

public abstract boolean hasRequest()

Optional. Request metadata.

.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the request field is set.

hasResponse()

public abstract boolean hasResponse()

Optional. Response metadata.

.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the response field is set.