Class Webhook

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, WebhookOrBuilder

    public final class Webhook
    extends com.google.protobuf.GeneratedMessageLite<Webhook,​Webhook.Builder>
    implements WebhookOrBuilder
    Protobuf type streamlayer.sdkSettings.organization.webhooks.Webhook
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Webhook.Builder
      Protobuf type streamlayer.sdkSettings.organization.webhooks.Webhook
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

        com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,​?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,​Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      ApiKey getApiKey()
      Target URL authentication
      static Webhook getDefaultInstance()  
      java.lang.String getDescription()
      Webhook description
      com.google.protobuf.ByteString getDescriptionBytes()
      Webhook description
      long getEventId()
      optional uint64 event_id = 12 [json_name = "eventId"];
      int getHttpTimeout()
      uint32 http_timeout = 7 [json_name = "httpTimeout"];
      java.lang.String getId()
      endpoint_id of the created webhook
      com.google.protobuf.ByteString getIdBytes()
      endpoint_id of the created webhook
      java.lang.String getOrganizationId()
      owner_id
      com.google.protobuf.ByteString getOrganizationIdBytes()
      owner_id
      java.lang.String getProjectId()
      Convoy project_id
      com.google.protobuf.ByteString getProjectIdBytes()
      Convoy project_id
      java.lang.String getQuestionId()
      optional string question_id = 13 [json_name = "questionId"];
      com.google.protobuf.ByteString getQuestionIdBytes()
      optional string question_id = 13 [json_name = "questionId"];
      int getRateLimit()
      uint32 rate_limit = 8 [json_name = "rateLimit"];
      int getRateLimitDuration()
      uint32 rate_limit_duration = 9 [json_name = "rateLimitDuration"];
      WebhookStatus getStatus()
      .streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 10 [json_name = "status"];
      int getStatusValue()
      .streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 10 [json_name = "status"];
      java.lang.String getTargetUrl()
      webhook target EP
      com.google.protobuf.ByteString getTargetUrlBytes()
      webhook target EP
      java.lang.String getTitle()
      Webhook name
      com.google.protobuf.ByteString getTitleBytes()
      Webhook name
      boolean hasApiKey()
      Target URL authentication
      boolean hasEventId()
      optional uint64 event_id = 12 [json_name = "eventId"];
      boolean hasQuestionId()
      optional string question_id = 13 [json_name = "questionId"];
      static Webhook.Builder newBuilder()  
      static Webhook.Builder newBuilder​(Webhook prototype)  
      static Webhook parseDelimitedFrom​(java.io.InputStream input)  
      static Webhook parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Webhook parseFrom​(byte[] data)  
      static Webhook parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Webhook parseFrom​(com.google.protobuf.ByteString data)  
      static Webhook parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Webhook parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Webhook parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Webhook parseFrom​(java.io.InputStream input)  
      static Webhook parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Webhook parseFrom​(java.nio.ByteBuffer data)  
      static Webhook parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Webhook> parser()  
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite

        createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getId

        public java.lang.String getId()
         endpoint_id of the created webhook
         
        string id = 1 [json_name = "id"];
        Specified by:
        getId in interface WebhookOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         endpoint_id of the created webhook
         
        string id = 1 [json_name = "id"];
        Specified by:
        getIdBytes in interface WebhookOrBuilder
        Returns:
        The bytes for id.
      • getProjectId

        public java.lang.String getProjectId()
         Convoy project_id
         
        string project_id = 2 [json_name = "projectId"];
        Specified by:
        getProjectId in interface WebhookOrBuilder
        Returns:
        The projectId.
      • getProjectIdBytes

        public com.google.protobuf.ByteString getProjectIdBytes()
         Convoy project_id
         
        string project_id = 2 [json_name = "projectId"];
        Specified by:
        getProjectIdBytes in interface WebhookOrBuilder
        Returns:
        The bytes for projectId.
      • getTitle

        public java.lang.String getTitle()
         Webhook name
         
        string title = 3 [json_name = "title"];
        Specified by:
        getTitle in interface WebhookOrBuilder
        Returns:
        The title.
      • getTitleBytes

        public com.google.protobuf.ByteString getTitleBytes()
         Webhook name
         
        string title = 3 [json_name = "title"];
        Specified by:
        getTitleBytes in interface WebhookOrBuilder
        Returns:
        The bytes for title.
      • getDescription

        public java.lang.String getDescription()
         Webhook description
         
        string description = 4 [json_name = "description"];
        Specified by:
        getDescription in interface WebhookOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Webhook description
         
        string description = 4 [json_name = "description"];
        Specified by:
        getDescriptionBytes in interface WebhookOrBuilder
        Returns:
        The bytes for description.
      • getOrganizationId

        public java.lang.String getOrganizationId()
         owner_id
         
        string organization_id = 5 [json_name = "organizationId"];
        Specified by:
        getOrganizationId in interface WebhookOrBuilder
        Returns:
        The organizationId.
      • getOrganizationIdBytes

        public com.google.protobuf.ByteString getOrganizationIdBytes()
         owner_id
         
        string organization_id = 5 [json_name = "organizationId"];
        Specified by:
        getOrganizationIdBytes in interface WebhookOrBuilder
        Returns:
        The bytes for organizationId.
      • getTargetUrl

        public java.lang.String getTargetUrl()
         webhook target EP
         
        string target_url = 6 [json_name = "targetUrl"];
        Specified by:
        getTargetUrl in interface WebhookOrBuilder
        Returns:
        The targetUrl.
      • getTargetUrlBytes

        public com.google.protobuf.ByteString getTargetUrlBytes()
         webhook target EP
         
        string target_url = 6 [json_name = "targetUrl"];
        Specified by:
        getTargetUrlBytes in interface WebhookOrBuilder
        Returns:
        The bytes for targetUrl.
      • getHttpTimeout

        public int getHttpTimeout()
        uint32 http_timeout = 7 [json_name = "httpTimeout"];
        Specified by:
        getHttpTimeout in interface WebhookOrBuilder
        Returns:
        The httpTimeout.
      • getRateLimit

        public int getRateLimit()
        uint32 rate_limit = 8 [json_name = "rateLimit"];
        Specified by:
        getRateLimit in interface WebhookOrBuilder
        Returns:
        The rateLimit.
      • getRateLimitDuration

        public int getRateLimitDuration()
        uint32 rate_limit_duration = 9 [json_name = "rateLimitDuration"];
        Specified by:
        getRateLimitDuration in interface WebhookOrBuilder
        Returns:
        The rateLimitDuration.
      • getStatusValue

        public int getStatusValue()
        .streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 10 [json_name = "status"];
        Specified by:
        getStatusValue in interface WebhookOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • getStatus

        public WebhookStatus getStatus()
        .streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 10 [json_name = "status"];
        Specified by:
        getStatus in interface WebhookOrBuilder
        Returns:
        The status.
      • hasApiKey

        public boolean hasApiKey()
         Target URL authentication
         
        .streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 11 [json_name = "apiKey"];
        Specified by:
        hasApiKey in interface WebhookOrBuilder
        Returns:
        Whether the apiKey field is set.
      • getApiKey

        public ApiKey getApiKey()
         Target URL authentication
         
        .streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 11 [json_name = "apiKey"];
        Specified by:
        getApiKey in interface WebhookOrBuilder
        Returns:
        The apiKey.
      • hasEventId

        public boolean hasEventId()
        optional uint64 event_id = 12 [json_name = "eventId"];
        Specified by:
        hasEventId in interface WebhookOrBuilder
        Returns:
        Whether the eventId field is set.
      • getEventId

        public long getEventId()
        optional uint64 event_id = 12 [json_name = "eventId"];
        Specified by:
        getEventId in interface WebhookOrBuilder
        Returns:
        The eventId.
      • hasQuestionId

        public boolean hasQuestionId()
        optional string question_id = 13 [json_name = "questionId"];
        Specified by:
        hasQuestionId in interface WebhookOrBuilder
        Returns:
        Whether the questionId field is set.
      • getQuestionId

        public java.lang.String getQuestionId()
        optional string question_id = 13 [json_name = "questionId"];
        Specified by:
        getQuestionId in interface WebhookOrBuilder
        Returns:
        The questionId.
      • getQuestionIdBytes

        public com.google.protobuf.ByteString getQuestionIdBytes()
        optional string question_id = 13 [json_name = "questionId"];
        Specified by:
        getQuestionIdBytes in interface WebhookOrBuilder
        Returns:
        The bytes for questionId.
      • parseFrom

        public static Webhook parseFrom​(java.nio.ByteBuffer data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Webhook parseFrom​(java.nio.ByteBuffer data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public static Webhook parseFrom​(java.io.InputStream input)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static Webhook parseDelimitedFrom​(java.io.InputStream input)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

        public static Webhook parseFrom​(com.google.protobuf.CodedInputStream input)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Webhook parseFrom​(com.google.protobuf.CodedInputStream input,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Webhook,​Webhook.Builder>
      • getDefaultInstance

        public static Webhook getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Webhook> parser()