Interface UpsertWebhookRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder
    All Known Implementing Classes:
    UpsertWebhookRequest, UpsertWebhookRequest.Builder

    public interface UpsertWebhookRequestOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ApiKey getApiKey()
      Target endpoint authentication
      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"];
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getOrganizationId

        java.lang.String getOrganizationId()
        string organization_id = 1 [json_name = "organizationId"];
        Returns:
        The organizationId.
      • getOrganizationIdBytes

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

        boolean hasEventId()
        optional uint64 event_id = 2 [json_name = "eventId"];
        Returns:
        Whether the eventId field is set.
      • getEventId

        long getEventId()
        optional uint64 event_id = 2 [json_name = "eventId"];
        Returns:
        The eventId.
      • hasQuestionId

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

        java.lang.String getQuestionId()
        optional string question_id = 3 [json_name = "questionId"];
        Returns:
        The questionId.
      • getQuestionIdBytes

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

        java.lang.String getTitle()
         Webhook name
         
        string title = 4 [json_name = "title"];
        Returns:
        The title.
      • getTitleBytes

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

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

        java.lang.String getDescription()
         Webhook description
         
        optional string description = 5 [json_name = "description"];
        Returns:
        The description.
      • getDescriptionBytes

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        int getWebhookToggleValue()
        optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];
        Returns:
        The enum numeric value on the wire for webhookToggle.
      • getWebhookToggle

        WebhookToggle getWebhookToggle()
        optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];
        Returns:
        The webhookToggle.