Class HttpOperationDetails

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.apihub.v1.HttpOperationDetails
All Implemented Interfaces:
HttpOperationDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class HttpOperationDetails extends com.google.protobuf.GeneratedMessage implements HttpOperationDetailsOrBuilder
 An HTTP-based API Operation, sometimes called a "REST" Operation.
 
Protobuf type google.cloud.apihub.v1.HttpOperationDetails
See Also:
  • Field Details

    • HTTP_OPERATION_FIELD_NUMBER

      public static final int HTTP_OPERATION_FIELD_NUMBER
      See Also:
    • PATH_PARAMS_FIELD_NUMBER

      public static final int PATH_PARAMS_FIELD_NUMBER
      See Also:
    • QUERY_PARAMS_FIELD_NUMBER

      public static final int QUERY_PARAMS_FIELD_NUMBER
      See Also:
    • REQUEST_FIELD_NUMBER

      public static final int REQUEST_FIELD_NUMBER
      See Also:
    • RESPONSE_FIELD_NUMBER

      public static final int RESPONSE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasHttpOperation

      public boolean hasHttpOperation()
       Required. An HTTP Operation.
       
      .google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasHttpOperation in interface HttpOperationDetailsOrBuilder
      Returns:
      Whether the httpOperation field is set.
    • getHttpOperation

      public HttpOperation getHttpOperation()
       Required. An HTTP Operation.
       
      .google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHttpOperation in interface HttpOperationDetailsOrBuilder
      Returns:
      The httpOperation.
    • getHttpOperationOrBuilder

      public HttpOperationOrBuilder getHttpOperationOrBuilder()
       Required. An HTTP Operation.
       
      .google.cloud.apihub.v1.HttpOperation http_operation = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHttpOperationOrBuilder in interface HttpOperationDetailsOrBuilder
    • 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];
      Specified by:
      getPathParamsList in interface HttpOperationDetailsOrBuilder
    • 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];
      Specified by:
      getPathParamsOrBuilderList in interface HttpOperationDetailsOrBuilder
    • getPathParamsCount

      public int getPathParamsCount()
       Optional. Path params of HttpOperation
       
      repeated .google.cloud.apihub.v1.HttpOperationDetails.PathParam path_params = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPathParamsCount in interface HttpOperationDetailsOrBuilder
    • getPathParams

      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];
      Specified by:
      getPathParams in interface HttpOperationDetailsOrBuilder
    • getPathParamsOrBuilder

      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];
      Specified by:
      getPathParamsOrBuilder in interface HttpOperationDetailsOrBuilder
    • getQueryParamsCount

      public int getQueryParamsCount()
      Description copied from interface: HttpOperationDetailsOrBuilder
       Optional. Query params of HttpOperation
       
      map<string, .google.cloud.apihub.v1.HttpOperationDetails.QueryParam> query_params = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQueryParamsCount in interface HttpOperationDetailsOrBuilder
    • containsQueryParams

      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];
      Specified by:
      containsQueryParams in interface HttpOperationDetailsOrBuilder
    • getQueryParams

      Deprecated.
      Use getQueryParamsMap() instead.
      Specified by:
      getQueryParams in interface HttpOperationDetailsOrBuilder
    • 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];
      Specified by:
      getQueryParamsMap in interface HttpOperationDetailsOrBuilder
    • getQueryParamsOrDefault

      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];
      Specified by:
      getQueryParamsOrDefault in interface HttpOperationDetailsOrBuilder
    • getQueryParamsOrThrow

      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];
      Specified by:
      getQueryParamsOrThrow in interface HttpOperationDetailsOrBuilder
    • hasRequest

      public boolean hasRequest()
       Optional. Request metadata.
       
      .google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasRequest in interface HttpOperationDetailsOrBuilder
      Returns:
      Whether the request field is set.
    • getRequest

      public HttpOperationDetails.HttpRequest getRequest()
       Optional. Request metadata.
       
      .google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequest in interface HttpOperationDetailsOrBuilder
      Returns:
      The request.
    • getRequestOrBuilder

      public HttpOperationDetails.HttpRequestOrBuilder getRequestOrBuilder()
       Optional. Request metadata.
       
      .google.cloud.apihub.v1.HttpOperationDetails.HttpRequest request = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestOrBuilder in interface HttpOperationDetailsOrBuilder
    • hasResponse

      public boolean hasResponse()
       Optional. Response metadata.
       
      .google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasResponse in interface HttpOperationDetailsOrBuilder
      Returns:
      Whether the response field is set.
    • getResponse

      public HttpOperationDetails.HttpResponse getResponse()
       Optional. Response metadata.
       
      .google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResponse in interface HttpOperationDetailsOrBuilder
      Returns:
      The response.
    • getResponseOrBuilder

      public HttpOperationDetails.HttpResponseOrBuilder getResponseOrBuilder()
       Optional. Response metadata.
       
      .google.cloud.apihub.v1.HttpOperationDetails.HttpResponse response = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResponseOrBuilder in interface HttpOperationDetailsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static HttpOperationDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpOperationDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpOperationDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpOperationDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpOperationDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpOperationDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HttpOperationDetails parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HttpOperationDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HttpOperationDetails parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static HttpOperationDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HttpOperationDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static HttpOperationDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public HttpOperationDetails.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static HttpOperationDetails.Builder newBuilder()
    • newBuilder

      public static HttpOperationDetails.Builder newBuilder(HttpOperationDetails prototype)
    • toBuilder

      public HttpOperationDetails.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected HttpOperationDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static HttpOperationDetails getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<HttpOperationDetails> parser()
    • getParserForType

      public com.google.protobuf.Parser<HttpOperationDetails> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public HttpOperationDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder