Interface SendWebhookEventRequest.EventDataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
SendWebhookEventRequest.EventData,SendWebhookEventRequest.EventData.Builder
- Enclosing class:
- SendWebhookEventRequest
public static interface SendWebhookEventRequest.EventDataOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsCustomFields(java.lang.String key)[sets by SDK client].booleancontainsMetadata(java.lang.String key)[sets by grpc-proxy] Metadata for the eventjava.lang.StringgetAction()[sets by SDK client].com.google.protobuf.ByteStringgetActionBytes()[sets by SDK client].java.util.Map<java.lang.String,java.lang.String>getCustomFields()Deprecated.intgetCustomFieldsCount()[sets by SDK client].java.util.Map<java.lang.String,java.lang.String>getCustomFieldsMap()[sets by SDK client].java.lang.StringgetCustomFieldsOrDefault(java.lang.String key, java.lang.String defaultValue)[sets by SDK client].java.lang.StringgetCustomFieldsOrThrow(java.lang.String key)[sets by SDK client].java.lang.StringgetDescription()[sets by SDK client].com.google.protobuf.ByteStringgetDescriptionBytes()[sets by SDK client].WebhookEventgetEvent()[sets by SDK client] (AD event context)intgetEventValue()[sets by SDK client] (AD event context)java.util.Map<java.lang.String,java.lang.String>getMetadata()Deprecated.intgetMetadataCount()[sets by grpc-proxy] Metadata for the eventjava.util.Map<java.lang.String,java.lang.String>getMetadataMap()[sets by grpc-proxy] Metadata for the eventjava.lang.StringgetMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)[sets by grpc-proxy] Metadata for the eventjava.lang.StringgetMetadataOrThrow(java.lang.String key)[sets by grpc-proxy] Metadata for the eventWebhookNotificationTypegetNotificationType()[sets by SDK client]intgetNotificationTypeValue()[sets by SDK client]java.lang.StringgetUserId()[sets by grpc-proxy] from JWT.com.google.protobuf.ByteStringgetUserIdBytes()[sets by grpc-proxy] from JWT.booleanhasAction()[sets by SDK client].booleanhasUserId()[sets by grpc-proxy] from JWT.
-
-
-
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.UsegetMetadataMap()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.UsegetCustomFieldsMap()instead.
-
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"];
-
-