Class UpsertWebhookRequest

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  UpsertWebhookRequest.Builder
      Protobuf type streamlayer.sdkSettings.organization.webhooks.UpsertWebhookRequest
      • 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 endpoint authentication
      static UpsertWebhookRequest getDefaultInstance()  
      java.lang.String getDescription()
      Webhook description
      com.google.protobuf.ByteString getDescriptionBytes()
      Webhook description
      int getDuration()
      Duration in seconds for which the webhook is valid
      long getEventId()
      optional uint64 event_id = 2 [json_name = "eventId"];
      WebhookEvent getEvents​(int index)
      Events to trigger the webhook
      int getEventsCount()
      Events to trigger the webhook
      java.util.List<WebhookEvent> getEventsList()
      Events to trigger the webhook
      int getEventsValue​(int index)
      Events to trigger the webhook
      java.util.List<java.lang.Integer> getEventsValueList()
      Events to trigger the webhook
      int getLimit()
      Rate limit for webhook requests
      java.lang.String getOrganizationId()
      string organization_id = 1 [json_name = "organizationId"];
      com.google.protobuf.ByteString getOrganizationIdBytes()
      string organization_id = 1 [json_name = "organizationId"];
      java.lang.String getQuestionId()
      optional string question_id = 3 [json_name = "questionId"];
      com.google.protobuf.ByteString getQuestionIdBytes()
      optional string question_id = 3 [json_name = "questionId"];
      java.lang.String getTargetUrl()
      Target endpoint for webhook delivery
      com.google.protobuf.ByteString getTargetUrlBytes()
      Target endpoint for webhook delivery
      java.lang.String getTitle()
      Webhook name
      com.google.protobuf.ByteString getTitleBytes()
      Webhook name
      WebhookToggle getWebhookToggle()
      optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];
      int getWebhookToggleValue()
      optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];
      boolean hasApiKey()
      Target endpoint authentication
      boolean hasDescription()
      Webhook description
      boolean hasDuration()
      Duration in seconds for which the webhook is valid
      boolean hasEventId()
      optional uint64 event_id = 2 [json_name = "eventId"];
      boolean hasLimit()
      Rate limit for webhook requests
      boolean hasQuestionId()
      optional string question_id = 3 [json_name = "questionId"];
      boolean hasWebhookToggle()
      optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];
      static UpsertWebhookRequest.Builder newBuilder()  
      static UpsertWebhookRequest.Builder newBuilder​(UpsertWebhookRequest prototype)  
      static UpsertWebhookRequest parseDelimitedFrom​(java.io.InputStream input)  
      static UpsertWebhookRequest parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static UpsertWebhookRequest parseFrom​(byte[] data)  
      static UpsertWebhookRequest parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static UpsertWebhookRequest parseFrom​(com.google.protobuf.ByteString data)  
      static UpsertWebhookRequest parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static UpsertWebhookRequest parseFrom​(com.google.protobuf.CodedInputStream input)  
      static UpsertWebhookRequest parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static UpsertWebhookRequest parseFrom​(java.io.InputStream input)  
      static UpsertWebhookRequest parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static UpsertWebhookRequest parseFrom​(java.nio.ByteBuffer data)  
      static UpsertWebhookRequest parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<UpsertWebhookRequest> 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

      • getOrganizationId

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

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

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

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

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

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

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

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

        public boolean hasDescription()
         Webhook description
         
        optional string description = 5 [json_name = "description"];
        Specified by:
        hasDescription in interface UpsertWebhookRequestOrBuilder
        Returns:
        Whether the description field is set.
      • getDescription

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

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

        public java.util.List<WebhookEvent> getEventsList()
         Events to trigger the webhook
         
        repeated .streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 6 [json_name = "events"];
        Specified by:
        getEventsList in interface UpsertWebhookRequestOrBuilder
        Returns:
        A list containing the events.
      • getEventsCount

        public int getEventsCount()
         Events to trigger the webhook
         
        repeated .streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 6 [json_name = "events"];
        Specified by:
        getEventsCount in interface UpsertWebhookRequestOrBuilder
        Returns:
        The count of events.
      • getEvents

        public WebhookEvent getEvents​(int index)
         Events to trigger the webhook
         
        repeated .streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 6 [json_name = "events"];
        Specified by:
        getEvents in interface UpsertWebhookRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The events at the given index.
      • getEventsValueList

        public java.util.List<java.lang.Integer> getEventsValueList()
         Events to trigger the webhook
         
        repeated .streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 6 [json_name = "events"];
        Specified by:
        getEventsValueList in interface UpsertWebhookRequestOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for events.
      • getEventsValue

        public int getEventsValue​(int index)
         Events to trigger the webhook
         
        repeated .streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 6 [json_name = "events"];
        Specified by:
        getEventsValue in interface UpsertWebhookRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of events at the given index.
      • getTargetUrl

        public java.lang.String getTargetUrl()
         Target endpoint for webhook delivery
         
        string target_url = 7 [json_name = "targetUrl"];
        Specified by:
        getTargetUrl in interface UpsertWebhookRequestOrBuilder
        Returns:
        The targetUrl.
      • getTargetUrlBytes

        public com.google.protobuf.ByteString getTargetUrlBytes()
         Target endpoint for webhook delivery
         
        string target_url = 7 [json_name = "targetUrl"];
        Specified by:
        getTargetUrlBytes in interface UpsertWebhookRequestOrBuilder
        Returns:
        The bytes for targetUrl.
      • hasApiKey

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

        public ApiKey getApiKey()
         Target endpoint authentication
         
        optional .streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 8 [json_name = "apiKey"];
        Specified by:
        getApiKey in interface UpsertWebhookRequestOrBuilder
        Returns:
        The apiKey.
      • hasDuration

        public boolean hasDuration()
         Duration in seconds for which the webhook is valid
         
        optional uint32 duration = 9 [json_name = "duration"];
        Specified by:
        hasDuration in interface UpsertWebhookRequestOrBuilder
        Returns:
        Whether the duration field is set.
      • getDuration

        public int getDuration()
         Duration in seconds for which the webhook is valid
         
        optional uint32 duration = 9 [json_name = "duration"];
        Specified by:
        getDuration in interface UpsertWebhookRequestOrBuilder
        Returns:
        The duration.
      • hasLimit

        public boolean hasLimit()
         Rate limit for webhook requests
         
        optional uint32 limit = 10 [json_name = "limit"];
        Specified by:
        hasLimit in interface UpsertWebhookRequestOrBuilder
        Returns:
        Whether the limit field is set.
      • getLimit

        public int getLimit()
         Rate limit for webhook requests
         
        optional uint32 limit = 10 [json_name = "limit"];
        Specified by:
        getLimit in interface UpsertWebhookRequestOrBuilder
        Returns:
        The limit.
      • hasWebhookToggle

        public boolean hasWebhookToggle()
        optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];
        Specified by:
        hasWebhookToggle in interface UpsertWebhookRequestOrBuilder
        Returns:
        Whether the webhookToggle field is set.
      • getWebhookToggleValue

        public int getWebhookToggleValue()
        optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];
        Specified by:
        getWebhookToggleValue in interface UpsertWebhookRequestOrBuilder
        Returns:
        The enum numeric value on the wire for webhookToggle.
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

        public static UpsertWebhookRequest 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<UpsertWebhookRequest,​UpsertWebhookRequest.Builder>