public final class HttpOperationDetails extends GeneratedMessageV3 implements HttpOperationDetailsOrBuilder
An HTTP-based API Operation, sometimes called a "REST" Operation.
Protobuf type google.cloud.apihub.v1.HttpOperationDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
HTTP_OPERATION_FIELD_NUMBER
public static final int HTTP_OPERATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PATH_PARAMS_FIELD_NUMBER
public static final int PATH_PARAMS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
QUERY_PARAMS_FIELD_NUMBER
public static final int QUERY_PARAMS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REQUEST_FIELD_NUMBER
public static final int REQUEST_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESPONSE_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static HttpOperationDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static HttpOperationDetails.Builder newBuilder()
newBuilder(HttpOperationDetails prototype)
public static HttpOperationDetails.Builder newBuilder(HttpOperationDetails prototype)
public static HttpOperationDetails parseDelimitedFrom(InputStream input)
public static HttpOperationDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static HttpOperationDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HttpOperationDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static HttpOperationDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HttpOperationDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HttpOperationDetails parseFrom(CodedInputStream input)
public static HttpOperationDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HttpOperationDetails parseFrom(InputStream input)
public static HttpOperationDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static HttpOperationDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HttpOperationDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<HttpOperationDetails> parser()
Methods
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public HttpOperationDetails getDefaultInstanceForType()
getHttpOperation()
public HttpOperation getHttpOperation()
Required. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];
getHttpOperationOrBuilder()
public HttpOperationOrBuilder getHttpOperationOrBuilder()
Required. An HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];
getParserForType()
public Parser<HttpOperationDetails> getParserForType()
Overrides
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
|
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];
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
|
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()
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];
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];
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
|
getRequest()
public HttpOperationDetails.HttpRequest getRequest()
Optional. Request metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];
getRequestOrBuilder()
public HttpOperationDetails.HttpRequestOrBuilder getRequestOrBuilder()
Optional. Request metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];
getResponse()
public HttpOperationDetails.HttpResponse getResponse()
Optional. Response metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];
getResponseOrBuilder()
public HttpOperationDetails.HttpResponseOrBuilder getResponseOrBuilder()
Optional. Response metadata.
.google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public HttpOperationDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HttpOperationDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public HttpOperationDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides