public static final class HttpOperationDetails.Builder extends GeneratedMessage.Builder<HttpOperationDetails.Builder> implements HttpOperationDetailsOrBuilderAn HTTP-based API Operation, sometimes called a "REST" Operation.
Protobuf type google.cloud.apihub.v1.HttpOperationDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HttpOperationDetails.BuilderImplements
HttpOperationDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPathParams(Iterable<? extends HttpOperationDetails.PathParam> values)
public HttpOperationDetails.Builder addAllPathParams(Iterable<? extends HttpOperationDetails.PathParam> values)Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.apihub.v1.HttpOperationDetails.PathParam> |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
addPathParams(HttpOperationDetails.PathParam value)
public HttpOperationDetails.Builder addPathParams(HttpOperationDetails.PathParam value)Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
HttpOperationDetails.PathParam |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
addPathParams(HttpOperationDetails.PathParam.Builder builderForValue)
public HttpOperationDetails.Builder addPathParams(HttpOperationDetails.PathParam.Builder builderForValue)Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HttpOperationDetails.PathParam.Builder |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
addPathParams(int index, HttpOperationDetails.PathParam value)
public HttpOperationDetails.Builder addPathParams(int index, HttpOperationDetails.PathParam value)Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
HttpOperationDetails.PathParam |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
addPathParams(int index, HttpOperationDetails.PathParam.Builder builderForValue)
public HttpOperationDetails.Builder addPathParams(int index, HttpOperationDetails.PathParam.Builder builderForValue)Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
HttpOperationDetails.PathParam.Builder |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
addPathParamsBuilder()
public HttpOperationDetails.PathParam.Builder addPathParamsBuilder()Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.PathParam.Builder |
|
addPathParamsBuilder(int index)
public HttpOperationDetails.PathParam.Builder addPathParamsBuilder(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.Builder |
|
build()
public HttpOperationDetails build()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails |
|
buildPartial()
public HttpOperationDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails |
|
clear()
public HttpOperationDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
clearHttpOperation()
public HttpOperationDetails.Builder clearHttpOperation()Required. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
clearPathParams()
public HttpOperationDetails.Builder clearPathParams()Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
clearQueryParams()
public HttpOperationDetails.Builder clearQueryParams()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
clearRequest()
public HttpOperationDetails.Builder clearRequest()Optional. Request metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
clearResponse()
public HttpOperationDetails.Builder clearResponse()Optional. Response metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
containsQueryParams(String key)
public 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 |
|
getDefaultInstanceForType()
public HttpOperationDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHttpOperation()
public 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. |
getHttpOperationBuilder()
public HttpOperation.Builder getHttpOperationBuilder()Required. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HttpOperation.Builder |
|
getHttpOperationOrBuilder()
public HttpOperationOrBuilder getHttpOperationOrBuilder()Required. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HttpOperationOrBuilder |
|
getMutableQueryParams() (deprecated)
public Map<String,HttpOperationDetails.QueryParam> getMutableQueryParams()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,QueryParam> |
|
getPathParams(int index)
public 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 |
|
getPathParamsBuilder(int index)
public HttpOperationDetails.PathParam.Builder getPathParamsBuilder(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.Builder |
|
getPathParamsBuilderList()
public List<HttpOperationDetails.PathParam.Builder> getPathParamsBuilderList()Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPathParamsCount()
public 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 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 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 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 Map<String,HttpOperationDetails.QueryParam> getQueryParams()Use #getQueryParamsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,QueryParam> |
|
getQueryParamsCount()
public 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 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 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 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 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. |
getRequestBuilder()
public HttpOperationDetails.HttpRequest.Builder getRequestBuilder()Optional. Request metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.HttpRequest.Builder |
|
getRequestOrBuilder()
public 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 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. |
getResponseBuilder()
public HttpOperationDetails.HttpResponse.Builder getResponseBuilder()Optional. Response metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.HttpResponse.Builder |
|
getResponseOrBuilder()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(HttpOperationDetails other)
public HttpOperationDetails.Builder mergeFrom(HttpOperationDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
HttpOperationDetails |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HttpOperationDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HttpOperationDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
mergeHttpOperation(HttpOperation value)
public HttpOperationDetails.Builder mergeHttpOperation(HttpOperation value)Required. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
HttpOperation |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
mergeRequest(HttpOperationDetails.HttpRequest value)
public HttpOperationDetails.Builder mergeRequest(HttpOperationDetails.HttpRequest value)Optional. Request metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
HttpOperationDetails.HttpRequest |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
mergeResponse(HttpOperationDetails.HttpResponse value)
public HttpOperationDetails.Builder mergeResponse(HttpOperationDetails.HttpResponse value)Optional. Response metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
HttpOperationDetails.HttpResponse |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
putAllQueryParams(Map<String,HttpOperationDetails.QueryParam> values)
public HttpOperationDetails.Builder putAllQueryParams(Map<String,HttpOperationDetails.QueryParam> values)Optional. Query params of HttpOperation
map<string, .google.cloud.apihub.v1.HttpOperationDetails.QueryParam> query_params = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,QueryParam> |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
putQueryParams(String key, HttpOperationDetails.QueryParam value)
public HttpOperationDetails.Builder putQueryParams(String key, HttpOperationDetails.QueryParam value)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 |
value |
HttpOperationDetails.QueryParam |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
putQueryParamsBuilderIfAbsent(String key)
public HttpOperationDetails.QueryParam.Builder putQueryParamsBuilderIfAbsent(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.Builder |
|
removePathParams(int index)
public HttpOperationDetails.Builder removePathParams(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.Builder |
|
removeQueryParams(String key)
public HttpOperationDetails.Builder removeQueryParams(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.Builder |
|
setHttpOperation(HttpOperation value)
public HttpOperationDetails.Builder setHttpOperation(HttpOperation value)Required. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
HttpOperation |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
setHttpOperation(HttpOperation.Builder builderForValue)
public HttpOperationDetails.Builder setHttpOperation(HttpOperation.Builder builderForValue)Required. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HttpOperation.Builder |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
setPathParams(int index, HttpOperationDetails.PathParam value)
public HttpOperationDetails.Builder setPathParams(int index, HttpOperationDetails.PathParam value)Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
HttpOperationDetails.PathParam |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
setPathParams(int index, HttpOperationDetails.PathParam.Builder builderForValue)
public HttpOperationDetails.Builder setPathParams(int index, HttpOperationDetails.PathParam.Builder builderForValue)Optional. Path params of HttpOperation
repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
HttpOperationDetails.PathParam.Builder |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
setRequest(HttpOperationDetails.HttpRequest value)
public HttpOperationDetails.Builder setRequest(HttpOperationDetails.HttpRequest value)Optional. Request metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
HttpOperationDetails.HttpRequest |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
setRequest(HttpOperationDetails.HttpRequest.Builder builderForValue)
public HttpOperationDetails.Builder setRequest(HttpOperationDetails.HttpRequest.Builder builderForValue)Optional. Request metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HttpOperationDetails.HttpRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
setResponse(HttpOperationDetails.HttpResponse value)
public HttpOperationDetails.Builder setResponse(HttpOperationDetails.HttpResponse value)Optional. Response metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
HttpOperationDetails.HttpResponse |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|
setResponse(HttpOperationDetails.HttpResponse.Builder builderForValue)
public HttpOperationDetails.Builder setResponse(HttpOperationDetails.HttpResponse.Builder builderForValue)Optional. Response metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HttpOperationDetails.HttpResponse.Builder |
| Returns | |
|---|---|
| Type | Description |
HttpOperationDetails.Builder |
|