Class UpsertWebhookRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<UpsertWebhookRequest,UpsertWebhookRequest.Builder>
-
- com.streamlayer.sdkSettings.organization.webhooks.UpsertWebhookRequest
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,UpsertWebhookRequestOrBuilder
public final class UpsertWebhookRequest extends com.google.protobuf.GeneratedMessageLite<UpsertWebhookRequest,UpsertWebhookRequest.Builder> implements UpsertWebhookRequestOrBuilder
Protobuf typestreamlayer.sdkSettings.organization.webhooks.UpsertWebhookRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpsertWebhookRequest.BuilderProtobuf typestreamlayer.sdkSettings.organization.webhooks.UpsertWebhookRequest-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intAPI_KEY_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDURATION_FIELD_NUMBERstatic intEVENT_ID_FIELD_NUMBERstatic intEVENTS_FIELD_NUMBERstatic intLIMIT_FIELD_NUMBERstatic intORGANIZATION_ID_FIELD_NUMBERstatic intQUESTION_ID_FIELD_NUMBERstatic intTARGET_URL_FIELD_NUMBERstatic intTITLE_FIELD_NUMBERstatic intWEBHOOK_TOGGLE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)ApiKeygetApiKey()Target endpoint authenticationstatic UpsertWebhookRequestgetDefaultInstance()java.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"];static UpsertWebhookRequest.BuildernewBuilder()static UpsertWebhookRequest.BuildernewBuilder(UpsertWebhookRequest prototype)static UpsertWebhookRequestparseDelimitedFrom(java.io.InputStream input)static UpsertWebhookRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpsertWebhookRequestparseFrom(byte[] data)static UpsertWebhookRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpsertWebhookRequestparseFrom(com.google.protobuf.ByteString data)static UpsertWebhookRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpsertWebhookRequestparseFrom(com.google.protobuf.CodedInputStream input)static UpsertWebhookRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpsertWebhookRequestparseFrom(java.io.InputStream input)static UpsertWebhookRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpsertWebhookRequestparseFrom(java.nio.ByteBuffer data)static UpsertWebhookRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<UpsertWebhookRequest>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
ORGANIZATION_ID_FIELD_NUMBER
public static final int ORGANIZATION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_ID_FIELD_NUMBER
public static final int EVENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUESTION_ID_FIELD_NUMBER
public static final int QUESTION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENTS_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_URL_FIELD_NUMBER
public static final int TARGET_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
API_KEY_FIELD_NUMBER
public static final int API_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WEBHOOK_TOGGLE_FIELD_NUMBER
public static final int WEBHOOK_TOGGLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOrganizationId
public java.lang.String getOrganizationId()
string organization_id = 1 [json_name = "organizationId"];- Specified by:
getOrganizationIdin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()
string organization_id = 1 [json_name = "organizationId"];- Specified by:
getOrganizationIdBytesin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The bytes for organizationId.
-
hasEventId
public boolean hasEventId()
optional uint64 event_id = 2 [json_name = "eventId"];- Specified by:
hasEventIdin interfaceUpsertWebhookRequestOrBuilder- Returns:
- Whether the eventId field is set.
-
getEventId
public long getEventId()
optional uint64 event_id = 2 [json_name = "eventId"];- Specified by:
getEventIdin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The eventId.
-
hasQuestionId
public boolean hasQuestionId()
optional string question_id = 3 [json_name = "questionId"];- Specified by:
hasQuestionIdin interfaceUpsertWebhookRequestOrBuilder- Returns:
- Whether the questionId field is set.
-
getQuestionId
public java.lang.String getQuestionId()
optional string question_id = 3 [json_name = "questionId"];- Specified by:
getQuestionIdin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The questionId.
-
getQuestionIdBytes
public com.google.protobuf.ByteString getQuestionIdBytes()
optional string question_id = 3 [json_name = "questionId"];- Specified by:
getQuestionIdBytesin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The bytes for questionId.
-
getTitle
public java.lang.String getTitle()
Webhook name
string title = 4 [json_name = "title"];- Specified by:
getTitlein interfaceUpsertWebhookRequestOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()
Webhook name
string title = 4 [json_name = "title"];- Specified by:
getTitleBytesin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The bytes for title.
-
hasDescription
public boolean hasDescription()
Webhook description
optional string description = 5 [json_name = "description"];- Specified by:
hasDescriptionin interfaceUpsertWebhookRequestOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public java.lang.String getDescription()
Webhook description
optional string description = 5 [json_name = "description"];- Specified by:
getDescriptionin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Webhook description
optional string description = 5 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The bytes for description.
-
getEventsList
public java.util.List<WebhookEvent> getEventsList()
Events to trigger the webhook
repeated .streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 6 [json_name = "events"];- Specified by:
getEventsListin interfaceUpsertWebhookRequestOrBuilder- Returns:
- A list containing the events.
-
getEventsCount
public int getEventsCount()
Events to trigger the webhook
repeated .streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 6 [json_name = "events"];- Specified by:
getEventsCountin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The count of events.
-
getEvents
public WebhookEvent getEvents(int index)
Events to trigger the webhook
repeated .streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 6 [json_name = "events"];- Specified by:
getEventsin interfaceUpsertWebhookRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The events at the given index.
-
getEventsValueList
public java.util.List<java.lang.Integer> getEventsValueList()
Events to trigger the webhook
repeated .streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 6 [json_name = "events"];- Specified by:
getEventsValueListin interfaceUpsertWebhookRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for events.
-
getEventsValue
public int getEventsValue(int index)
Events to trigger the webhook
repeated .streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 6 [json_name = "events"];- Specified by:
getEventsValuein interfaceUpsertWebhookRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of events at the given index.
-
getTargetUrl
public java.lang.String getTargetUrl()
Target endpoint for webhook delivery
string target_url = 7 [json_name = "targetUrl"];- Specified by:
getTargetUrlin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The targetUrl.
-
getTargetUrlBytes
public com.google.protobuf.ByteString getTargetUrlBytes()
Target endpoint for webhook delivery
string target_url = 7 [json_name = "targetUrl"];- Specified by:
getTargetUrlBytesin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The bytes for targetUrl.
-
hasApiKey
public boolean hasApiKey()
Target endpoint authentication
optional .streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 8 [json_name = "apiKey"];- Specified by:
hasApiKeyin interfaceUpsertWebhookRequestOrBuilder- Returns:
- Whether the apiKey field is set.
-
getApiKey
public ApiKey getApiKey()
Target endpoint authentication
optional .streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 8 [json_name = "apiKey"];- Specified by:
getApiKeyin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The apiKey.
-
hasDuration
public boolean hasDuration()
Duration in seconds for which the webhook is valid
optional uint32 duration = 9 [json_name = "duration"];- Specified by:
hasDurationin interfaceUpsertWebhookRequestOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public int getDuration()
Duration in seconds for which the webhook is valid
optional uint32 duration = 9 [json_name = "duration"];- Specified by:
getDurationin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The duration.
-
hasLimit
public boolean hasLimit()
Rate limit for webhook requests
optional uint32 limit = 10 [json_name = "limit"];- Specified by:
hasLimitin interfaceUpsertWebhookRequestOrBuilder- Returns:
- Whether the limit field is set.
-
getLimit
public int getLimit()
Rate limit for webhook requests
optional uint32 limit = 10 [json_name = "limit"];- Specified by:
getLimitin interfaceUpsertWebhookRequestOrBuilder- Returns:
- The limit.
-
hasWebhookToggle
public boolean hasWebhookToggle()
optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];- Specified by:
hasWebhookTogglein interfaceUpsertWebhookRequestOrBuilder- Returns:
- Whether the webhookToggle field is set.
-
getWebhookToggleValue
public int getWebhookToggleValue()
optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];- Specified by:
getWebhookToggleValuein interfaceUpsertWebhookRequestOrBuilder- Returns:
- The enum numeric value on the wire for webhookToggle.
-
getWebhookToggle
public WebhookToggle getWebhookToggle()
optional .streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11 [json_name = "webhookToggle"];- Specified by:
getWebhookTogglein interfaceUpsertWebhookRequestOrBuilder- Returns:
- The webhookToggle.
-
parseFrom
public static UpsertWebhookRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpsertWebhookRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpsertWebhookRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpsertWebhookRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpsertWebhookRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpsertWebhookRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpsertWebhookRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static UpsertWebhookRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static UpsertWebhookRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static UpsertWebhookRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static UpsertWebhookRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static UpsertWebhookRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static UpsertWebhookRequest.Builder newBuilder()
-
newBuilder
public static UpsertWebhookRequest.Builder newBuilder(UpsertWebhookRequest prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<UpsertWebhookRequest,UpsertWebhookRequest.Builder>
-
getDefaultInstance
public static UpsertWebhookRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UpsertWebhookRequest> parser()
-
-