Package com.google.cloud.apihub.v1
Interface HttpOperationDetailsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpOperationDetails,HttpOperationDetails.Builder
@Generated
public interface HttpOperationDetailsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Required.Required.getPathParams(int index) Optional.intOptional.Optional.getPathParamsOrBuilder(int index) Optional.List<? extends HttpOperationDetails.PathParamOrBuilder>Optional.Deprecated.intOptional.Optional.getQueryParamsOrDefault(String key, HttpOperationDetails.QueryParam defaultValue) Optional.Optional.Optional.Optional.Optional.Optional.booleanRequired.booleanOptional.booleanOptional.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
-
hasHttpOperation
boolean hasHttpOperation()Required. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the httpOperation field is set.
-
getHttpOperation
HttpOperation getHttpOperation()Required. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The httpOperation.
-
getHttpOperationOrBuilder
HttpOperationOrBuilder getHttpOperationOrBuilder()Required. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED]; -
getPathParamsList
List<HttpOperationDetails.PathParam> getPathParamsList()Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getPathParams
Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getPathParamsCount
int getPathParamsCount()Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getPathParamsOrBuilderList
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]; -
getPathParamsOrBuilder
Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getQueryParamsCount
int getQueryParamsCount()Optional. Query params of HttpOperation
map<string, .google.cloud.apihub.v1.HttpOperationDetails.QueryParam> query_params = 3 [(.google.api.field_behavior) = OPTIONAL]; -
containsQueryParams
Optional. Query params of HttpOperation
map<string, .google.cloud.apihub.v1.HttpOperationDetails.QueryParam> query_params = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getQueryParams
Deprecated.UsegetQueryParamsMap()instead. -
getQueryParamsMap
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]; -
getQueryParamsOrDefault
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]; -
getQueryParamsOrThrow
Optional. Query params of HttpOperation
map<string, .google.cloud.apihub.v1.HttpOperationDetails.QueryParam> query_params = 3 [(.google.api.field_behavior) = OPTIONAL]; -
hasRequest
boolean hasRequest()Optional. Request metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the request field is set.
-
getRequest
HttpOperationDetails.HttpRequest getRequest()Optional. Request metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The request.
-
getRequestOrBuilder
HttpOperationDetails.HttpRequestOrBuilder getRequestOrBuilder()Optional. Request metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL]; -
hasResponse
boolean hasResponse()Optional. Response metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the response field is set.
-
getResponse
HttpOperationDetails.HttpResponse getResponse()Optional. Response metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The response.
-
getResponseOrBuilder
HttpOperationDetails.HttpResponseOrBuilder getResponseOrBuilder()Optional. Response metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];
-