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 ApiKeygetApiKey()Target endpoint authenticationjava.lang.StringgetDescription()Webhook descriptioncom.google.protobuf.ByteStringgetDescriptionBytes()Webhook descriptionintgetDuration()Duration in seconds for which the webhook is validlonggetEventId()optional uint64 event_id = 2 [json_name = "eventId"];WebhookEventgetEvents(int index)Events to trigger the webhookintgetEventsCount()Events to trigger the webhookjava.util.List<WebhookEvent>getEventsList()Events to trigger the webhookintgetEventsValue(int index)Events to trigger the webhookjava.util.List<java.lang.Integer>getEventsValueList()Events to trigger the webhookintgetLimit()Rate limit for webhook requestsjava.lang.StringgetOrganizationId()string organization_id = 1 [json_name = "organizationId"];com.google.protobuf.ByteStringgetOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];java.lang.StringgetQuestionId()optional string question_id = 3 [json_name = "questionId"];com.google.protobuf.ByteStringgetQuestionIdBytes()optional string question_id = 3 [json_name = "questionId"];java.lang.StringgetTargetUrl()Target endpoint for webhook deliverycom.google.protobuf.ByteStringgetTargetUrlBytes()Target endpoint for webhook deliveryjava.lang.StringgetTitle()Webhook namecom.google.protobuf.ByteStringgetTitleBytes()Webhook nameWebhookTogglegetWebhookToggle()optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];intgetWebhookToggleValue()optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];booleanhasApiKey()Target endpoint authenticationbooleanhasDescription()Webhook descriptionbooleanhasDuration()Duration in seconds for which the webhook is validbooleanhasEventId()optional uint64 event_id = 2 [json_name = "eventId"];booleanhasLimit()Rate limit for webhook requestsbooleanhasQuestionId()optional string question_id = 3 [json_name = "questionId"];booleanhasWebhookToggle()optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];
-
-
-
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.
-
-