Class Callback.HttpCallbackEndpoint

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
namespace.stdlib.Callback.HttpCallbackEndpoint
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Callback.HttpCallbackEndpointOrBuilder
Enclosing class:
Callback

public static final class Callback.HttpCallbackEndpoint extends com.google.protobuf.GeneratedMessage implements Callback.HttpCallbackEndpointOrBuilder
Protobuf type namespace.stdlib.HttpCallbackEndpoint
See Also:
  • Field Details

    • POST_URL_FIELD_NUMBER

      public static final int POST_URL_FIELD_NUMBER
      See Also:
    • HEADERS_FIELD_NUMBER

      public static final int HEADERS_FIELD_NUMBER
      See Also:
    • SIGN_WITH_SECRET_ID_FIELD_NUMBER

      public static final int SIGN_WITH_SECRET_ID_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

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

      public String getPostUrl()
      string post_url = 1;
      Specified by:
      getPostUrl in interface Callback.HttpCallbackEndpointOrBuilder
      Returns:
      The postUrl.
    • getPostUrlBytes

      public com.google.protobuf.ByteString getPostUrlBytes()
      string post_url = 1;
      Specified by:
      getPostUrlBytes in interface Callback.HttpCallbackEndpointOrBuilder
      Returns:
      The bytes for postUrl.
    • getHeadersList

      public List<Callback.HttpHeader> getHeadersList()
      repeated .namespace.stdlib.HttpHeader headers = 2;
      Specified by:
      getHeadersList in interface Callback.HttpCallbackEndpointOrBuilder
    • getHeadersOrBuilderList

      public List<? extends Callback.HttpHeaderOrBuilder> getHeadersOrBuilderList()
      repeated .namespace.stdlib.HttpHeader headers = 2;
      Specified by:
      getHeadersOrBuilderList in interface Callback.HttpCallbackEndpointOrBuilder
    • getHeadersCount

      public int getHeadersCount()
      repeated .namespace.stdlib.HttpHeader headers = 2;
      Specified by:
      getHeadersCount in interface Callback.HttpCallbackEndpointOrBuilder
    • getHeaders

      public Callback.HttpHeader getHeaders(int index)
      repeated .namespace.stdlib.HttpHeader headers = 2;
      Specified by:
      getHeaders in interface Callback.HttpCallbackEndpointOrBuilder
    • getHeadersOrBuilder

      public Callback.HttpHeaderOrBuilder getHeadersOrBuilder(int index)
      repeated .namespace.stdlib.HttpHeader headers = 2;
      Specified by:
      getHeadersOrBuilder in interface Callback.HttpCallbackEndpointOrBuilder
    • getSignWithSecretId

      public String getSignWithSecretId()
       If present, the body of the callback response will
       be signed and provided as an HMAC hash using the specified
       secret. The X-Namespace-Signature header will include a
       value of the form `ts=<timestamp>,sha256=<hmac>`, where <hmac> is
       a SHA256-signed message consisting of `<timestamp>,<response body>`.
       
      string sign_with_secret_id = 3;
      Specified by:
      getSignWithSecretId in interface Callback.HttpCallbackEndpointOrBuilder
      Returns:
      The signWithSecretId.
    • getSignWithSecretIdBytes

      public com.google.protobuf.ByteString getSignWithSecretIdBytes()
       If present, the body of the callback response will
       be signed and provided as an HMAC hash using the specified
       secret. The X-Namespace-Signature header will include a
       value of the form `ts=<timestamp>,sha256=<hmac>`, where <hmac> is
       a SHA256-signed message consisting of `<timestamp>,<response body>`.
       
      string sign_with_secret_id = 3;
      Specified by:
      getSignWithSecretIdBytes in interface Callback.HttpCallbackEndpointOrBuilder
      Returns:
      The bytes for signWithSecretId.
    • 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 Callback.HttpCallbackEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Callback.HttpCallbackEndpoint parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Callback.HttpCallbackEndpoint parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Callback.HttpCallbackEndpoint.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static Callback.HttpCallbackEndpoint getDefaultInstance()
    • parser

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

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