Interface SendWebhookEventRequest.EventDataOrBuilder

    • Method Detail

      • getEventValue

        int getEventValue()
         [sets by SDK client] (AD event context)
         
        .streamlayer.sdkSettings.organization.webhooks.WebhookEvent event = 1 [json_name = "event"];
        Returns:
        The enum numeric value on the wire for event.
      • getEvent

        WebhookEvent getEvent()
         [sets by SDK client] (AD event context)
         
        .streamlayer.sdkSettings.organization.webhooks.WebhookEvent event = 1 [json_name = "event"];
        Returns:
        The event.
      • getNotificationTypeValue

        int getNotificationTypeValue()
         [sets by SDK client]
         
        .streamlayer.sdkSettings.organization.webhooks.WebhookNotificationType notification_type = 2 [json_name = "notificationType"];
        Returns:
        The enum numeric value on the wire for notificationType.
      • getNotificationType

        WebhookNotificationType getNotificationType()
         [sets by SDK client]
         
        .streamlayer.sdkSettings.organization.webhooks.WebhookNotificationType notification_type = 2 [json_name = "notificationType"];
        Returns:
        The notificationType.
      • hasUserId

        boolean hasUserId()
         [sets by grpc-proxy] from JWT. External client user ID. SL bypass flow should be used: https://github.com/makeomatic/ms-users/blob/master/rfcs/streamlayer-bypass-provider.md#streamlayer-internal-bypass-provider
         
        optional string user_id = 3 [json_name = "userId"];
        Returns:
        Whether the userId field is set.
      • getUserId

        java.lang.String getUserId()
         [sets by grpc-proxy] from JWT. External client user ID. SL bypass flow should be used: https://github.com/makeomatic/ms-users/blob/master/rfcs/streamlayer-bypass-provider.md#streamlayer-internal-bypass-provider
         
        optional string user_id = 3 [json_name = "userId"];
        Returns:
        The userId.
      • getUserIdBytes

        com.google.protobuf.ByteString getUserIdBytes()
         [sets by grpc-proxy] from JWT. External client user ID. SL bypass flow should be used: https://github.com/makeomatic/ms-users/blob/master/rfcs/streamlayer-bypass-provider.md#streamlayer-internal-bypass-provider
         
        optional string user_id = 3 [json_name = "userId"];
        Returns:
        The bytes for userId.
      • hasAction

        boolean hasAction()
         [sets by SDK client]. Action, e.g., CLICK_SECONDARY_BUTTON
         
        optional string action = 4 [json_name = "action"];
        Returns:
        Whether the action field is set.
      • getAction

        java.lang.String getAction()
         [sets by SDK client]. Action, e.g., CLICK_SECONDARY_BUTTON
         
        optional string action = 4 [json_name = "action"];
        Returns:
        The action.
      • getActionBytes

        com.google.protobuf.ByteString getActionBytes()
         [sets by SDK client]. Action, e.g., CLICK_SECONDARY_BUTTON
         
        optional string action = 4 [json_name = "action"];
        Returns:
        The bytes for action.
      • getDescription

        java.lang.String getDescription()
         [sets by SDK client]. Event description, e.g. "User clicked on a secondary button"
         
        string description = 5 [json_name = "description"];
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         [sets by SDK client]. Event description, e.g. "User clicked on a secondary button"
         
        string description = 5 [json_name = "description"];
        Returns:
        The bytes for description.
      • getMetadataCount

        int getMetadataCount()
         [sets by grpc-proxy] Metadata for the event
         
        map<string, string> metadata = 6 [json_name = "metadata"];
      • containsMetadata

        boolean containsMetadata​(java.lang.String key)
         [sets by grpc-proxy] Metadata for the event
         
        map<string, string> metadata = 6 [json_name = "metadata"];
      • getMetadata

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getMetadata()
        Deprecated.
        Use getMetadataMap() instead.
      • getMetadataMap

        java.util.Map<java.lang.String,​java.lang.String> getMetadataMap()
         [sets by grpc-proxy] Metadata for the event
         
        map<string, string> metadata = 6 [json_name = "metadata"];
      • getMetadataOrDefault

        java.lang.String getMetadataOrDefault​(java.lang.String key,
                                              java.lang.String defaultValue)
         [sets by grpc-proxy] Metadata for the event
         
        map<string, string> metadata = 6 [json_name = "metadata"];
      • getMetadataOrThrow

        java.lang.String getMetadataOrThrow​(java.lang.String key)
         [sets by grpc-proxy] Metadata for the event
         
        map<string, string> metadata = 6 [json_name = "metadata"];
      • getCustomFieldsCount

        int getCustomFieldsCount()
         [sets by SDK client]. Clients custom fields for the AD event, e.g. { "promo_code": "SUMMER2024", "campaign": "BeachSale" }
         
        map<string, string> custom_fields = 7 [json_name = "customFields"];
      • containsCustomFields

        boolean containsCustomFields​(java.lang.String key)
         [sets by SDK client]. Clients custom fields for the AD event, e.g. { "promo_code": "SUMMER2024", "campaign": "BeachSale" }
         
        map<string, string> custom_fields = 7 [json_name = "customFields"];
      • getCustomFields

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getCustomFields()
        Deprecated.
      • getCustomFieldsMap

        java.util.Map<java.lang.String,​java.lang.String> getCustomFieldsMap()
         [sets by SDK client]. Clients custom fields for the AD event, e.g. { "promo_code": "SUMMER2024", "campaign": "BeachSale" }
         
        map<string, string> custom_fields = 7 [json_name = "customFields"];
      • getCustomFieldsOrDefault

        java.lang.String getCustomFieldsOrDefault​(java.lang.String key,
                                                  java.lang.String defaultValue)
         [sets by SDK client]. Clients custom fields for the AD event, e.g. { "promo_code": "SUMMER2024", "campaign": "BeachSale" }
         
        map<string, string> custom_fields = 7 [json_name = "customFields"];
      • getCustomFieldsOrThrow

        java.lang.String getCustomFieldsOrThrow​(java.lang.String key)
         [sets by SDK client]. Clients custom fields for the AD event, e.g. { "promo_code": "SUMMER2024", "campaign": "BeachSale" }
         
        map<string, string> custom_fields = 7 [json_name = "customFields"];