Class HttpOperationDetails.HttpRequest

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

public static final class HttpOperationDetails.HttpRequest extends com.google.protobuf.GeneratedMessage implements HttpOperationDetails.HttpRequestOrBuilder
 An aggregation of HTTP requests.
 
Protobuf type google.cloud.apihub.v1.HttpOperationDetails.HttpRequest
See Also:
  • Field Details

  • 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
    • getHeadersCount

      public int getHeadersCount()
      Description copied from interface: HttpOperationDetails.HttpRequestOrBuilder
       Optional. Unordered map from header name to header metadata
       
      map<string, .google.cloud.apihub.v1.HttpOperationDetails.Header> headers = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHeadersCount in interface HttpOperationDetails.HttpRequestOrBuilder
    • containsHeaders

      public boolean containsHeaders(String key)
       Optional. Unordered map from header name to header metadata
       
      map<string, .google.cloud.apihub.v1.HttpOperationDetails.Header> headers = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsHeaders in interface HttpOperationDetails.HttpRequestOrBuilder
    • getHeaders

      Deprecated.
      Use getHeadersMap() instead.
      Specified by:
      getHeaders in interface HttpOperationDetails.HttpRequestOrBuilder
    • getHeadersMap

      public Map<String,HttpOperationDetails.Header> getHeadersMap()
       Optional. Unordered map from header name to header metadata
       
      map<string, .google.cloud.apihub.v1.HttpOperationDetails.Header> headers = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHeadersMap in interface HttpOperationDetails.HttpRequestOrBuilder
    • getHeadersOrDefault

      public HttpOperationDetails.Header getHeadersOrDefault(String key, HttpOperationDetails.Header defaultValue)
       Optional. Unordered map from header name to header metadata
       
      map<string, .google.cloud.apihub.v1.HttpOperationDetails.Header> headers = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHeadersOrDefault in interface HttpOperationDetails.HttpRequestOrBuilder
    • getHeadersOrThrow

      public HttpOperationDetails.Header getHeadersOrThrow(String key)
       Optional. Unordered map from header name to header metadata
       
      map<string, .google.cloud.apihub.v1.HttpOperationDetails.Header> headers = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHeadersOrThrow in interface HttpOperationDetails.HttpRequestOrBuilder
    • 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.HttpRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static HttpOperationDetails.HttpRequest 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.HttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

      public static HttpOperationDetails.HttpRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static HttpOperationDetails.HttpRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<HttpOperationDetails.HttpRequest> 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.HttpRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder