Interface WebhookOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Webhook,Webhook.Builder
public interface WebhookOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiKeygetApiKey()Target URL authenticationjava.lang.StringgetDescription()Webhook descriptioncom.google.protobuf.ByteStringgetDescriptionBytes()Webhook descriptionlonggetEventId()optional uint64 event_id = 12 [json_name = "eventId"];intgetHttpTimeout()uint32 http_timeout = 7 [json_name = "httpTimeout"];java.lang.StringgetId()endpoint_id of the created webhookcom.google.protobuf.ByteStringgetIdBytes()endpoint_id of the created webhookjava.lang.StringgetOrganizationId()owner_idcom.google.protobuf.ByteStringgetOrganizationIdBytes()owner_idjava.lang.StringgetProjectId()Convoy project_idcom.google.protobuf.ByteStringgetProjectIdBytes()Convoy project_idjava.lang.StringgetQuestionId()optional string question_id = 13 [json_name = "questionId"];com.google.protobuf.ByteStringgetQuestionIdBytes()optional string question_id = 13 [json_name = "questionId"];intgetRateLimit()uint32 rate_limit = 8 [json_name = "rateLimit"];intgetRateLimitDuration()uint32 rate_limit_duration = 9 [json_name = "rateLimitDuration"];WebhookStatusgetStatus().streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 10 [json_name = "status"];intgetStatusValue().streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 10 [json_name = "status"];java.lang.StringgetTargetUrl()webhook target EPcom.google.protobuf.ByteStringgetTargetUrlBytes()webhook target EPjava.lang.StringgetTitle()Webhook namecom.google.protobuf.ByteStringgetTitleBytes()Webhook namebooleanhasApiKey()Target URL authenticationbooleanhasEventId()optional uint64 event_id = 12 [json_name = "eventId"];booleanhasQuestionId()optional string question_id = 13 [json_name = "questionId"];
-
-
-
Method Detail
-
getId
java.lang.String getId()
endpoint_id of the created webhook
string id = 1 [json_name = "id"];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
endpoint_id of the created webhook
string id = 1 [json_name = "id"];- Returns:
- The bytes for id.
-
getProjectId
java.lang.String getProjectId()
Convoy project_id
string project_id = 2 [json_name = "projectId"];- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()
Convoy project_id
string project_id = 2 [json_name = "projectId"];- Returns:
- The bytes for projectId.
-
getTitle
java.lang.String getTitle()
Webhook name
string title = 3 [json_name = "title"];- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()
Webhook name
string title = 3 [json_name = "title"];- Returns:
- The bytes for title.
-
getDescription
java.lang.String getDescription()
Webhook description
string description = 4 [json_name = "description"];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Webhook description
string description = 4 [json_name = "description"];- Returns:
- The bytes for description.
-
getOrganizationId
java.lang.String getOrganizationId()
owner_id
string organization_id = 5 [json_name = "organizationId"];- Returns:
- The organizationId.
-
getOrganizationIdBytes
com.google.protobuf.ByteString getOrganizationIdBytes()
owner_id
string organization_id = 5 [json_name = "organizationId"];- Returns:
- The bytes for organizationId.
-
getTargetUrl
java.lang.String getTargetUrl()
webhook target EP
string target_url = 6 [json_name = "targetUrl"];- Returns:
- The targetUrl.
-
getTargetUrlBytes
com.google.protobuf.ByteString getTargetUrlBytes()
webhook target EP
string target_url = 6 [json_name = "targetUrl"];- Returns:
- The bytes for targetUrl.
-
getHttpTimeout
int getHttpTimeout()
uint32 http_timeout = 7 [json_name = "httpTimeout"];- Returns:
- The httpTimeout.
-
getRateLimit
int getRateLimit()
uint32 rate_limit = 8 [json_name = "rateLimit"];- Returns:
- The rateLimit.
-
getRateLimitDuration
int getRateLimitDuration()
uint32 rate_limit_duration = 9 [json_name = "rateLimitDuration"];- Returns:
- The rateLimitDuration.
-
getStatusValue
int getStatusValue()
.streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 10 [json_name = "status"];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
WebhookStatus getStatus()
.streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 10 [json_name = "status"];- Returns:
- The status.
-
hasApiKey
boolean hasApiKey()
Target URL authentication
.streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 11 [json_name = "apiKey"];- Returns:
- Whether the apiKey field is set.
-
getApiKey
ApiKey getApiKey()
Target URL authentication
.streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 11 [json_name = "apiKey"];- Returns:
- The apiKey.
-
hasEventId
boolean hasEventId()
optional uint64 event_id = 12 [json_name = "eventId"];- Returns:
- Whether the eventId field is set.
-
getEventId
long getEventId()
optional uint64 event_id = 12 [json_name = "eventId"];- Returns:
- The eventId.
-
hasQuestionId
boolean hasQuestionId()
optional string question_id = 13 [json_name = "questionId"];- Returns:
- Whether the questionId field is set.
-
getQuestionId
java.lang.String getQuestionId()
optional string question_id = 13 [json_name = "questionId"];- Returns:
- The questionId.
-
getQuestionIdBytes
com.google.protobuf.ByteString getQuestionIdBytes()
optional string question_id = 13 [json_name = "questionId"];- Returns:
- The bytes for questionId.
-
-