Class Webhook
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Webhook,Webhook.Builder>
-
- com.streamlayer.sdkSettings.organization.webhooks.Webhook
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,WebhookOrBuilder
public final class Webhook extends com.google.protobuf.GeneratedMessageLite<Webhook,Webhook.Builder> implements WebhookOrBuilder
Protobuf typestreamlayer.sdkSettings.organization.webhooks.Webhook
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebhook.BuilderProtobuf typestreamlayer.sdkSettings.organization.webhooks.Webhook-
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 intEVENT_ID_FIELD_NUMBERstatic intHTTP_TIMEOUT_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intORGANIZATION_ID_FIELD_NUMBERstatic intPROJECT_ID_FIELD_NUMBERstatic intQUESTION_ID_FIELD_NUMBERstatic intRATE_LIMIT_DURATION_FIELD_NUMBERstatic intRATE_LIMIT_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intTARGET_URL_FIELD_NUMBERstatic intTITLE_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 URL authenticationstatic WebhookgetDefaultInstance()java.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"];static Webhook.BuildernewBuilder()static Webhook.BuildernewBuilder(Webhook prototype)static WebhookparseDelimitedFrom(java.io.InputStream input)static WebhookparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookparseFrom(byte[] data)static WebhookparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookparseFrom(com.google.protobuf.ByteString data)static WebhookparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookparseFrom(com.google.protobuf.CodedInputStream input)static WebhookparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookparseFrom(java.io.InputStream input)static WebhookparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookparseFrom(java.nio.ByteBuffer data)static WebhookparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Webhook>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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_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
-
ORGANIZATION_ID_FIELD_NUMBER
public static final int ORGANIZATION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_URL_FIELD_NUMBER
public static final int TARGET_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HTTP_TIMEOUT_FIELD_NUMBER
public static final int HTTP_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RATE_LIMIT_FIELD_NUMBER
public static final int RATE_LIMIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RATE_LIMIT_DURATION_FIELD_NUMBER
public static final int RATE_LIMIT_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
API_KEY_FIELD_NUMBER
public static final int API_KEY_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
-
-
Method Detail
-
getId
public java.lang.String getId()
endpoint_id of the created webhook
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceWebhookOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
endpoint_id of the created webhook
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceWebhookOrBuilder- Returns:
- The bytes for id.
-
getProjectId
public java.lang.String getProjectId()
Convoy project_id
string project_id = 2 [json_name = "projectId"];- Specified by:
getProjectIdin interfaceWebhookOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()
Convoy project_id
string project_id = 2 [json_name = "projectId"];- Specified by:
getProjectIdBytesin interfaceWebhookOrBuilder- Returns:
- The bytes for projectId.
-
getTitle
public java.lang.String getTitle()
Webhook name
string title = 3 [json_name = "title"];- Specified by:
getTitlein interfaceWebhookOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()
Webhook name
string title = 3 [json_name = "title"];- Specified by:
getTitleBytesin interfaceWebhookOrBuilder- Returns:
- The bytes for title.
-
getDescription
public java.lang.String getDescription()
Webhook description
string description = 4 [json_name = "description"];- Specified by:
getDescriptionin interfaceWebhookOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Webhook description
string description = 4 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceWebhookOrBuilder- Returns:
- The bytes for description.
-
getOrganizationId
public java.lang.String getOrganizationId()
owner_id
string organization_id = 5 [json_name = "organizationId"];- Specified by:
getOrganizationIdin interfaceWebhookOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()
owner_id
string organization_id = 5 [json_name = "organizationId"];- Specified by:
getOrganizationIdBytesin interfaceWebhookOrBuilder- Returns:
- The bytes for organizationId.
-
getTargetUrl
public java.lang.String getTargetUrl()
webhook target EP
string target_url = 6 [json_name = "targetUrl"];- Specified by:
getTargetUrlin interfaceWebhookOrBuilder- Returns:
- The targetUrl.
-
getTargetUrlBytes
public com.google.protobuf.ByteString getTargetUrlBytes()
webhook target EP
string target_url = 6 [json_name = "targetUrl"];- Specified by:
getTargetUrlBytesin interfaceWebhookOrBuilder- Returns:
- The bytes for targetUrl.
-
getHttpTimeout
public int getHttpTimeout()
uint32 http_timeout = 7 [json_name = "httpTimeout"];- Specified by:
getHttpTimeoutin interfaceWebhookOrBuilder- Returns:
- The httpTimeout.
-
getRateLimit
public int getRateLimit()
uint32 rate_limit = 8 [json_name = "rateLimit"];- Specified by:
getRateLimitin interfaceWebhookOrBuilder- Returns:
- The rateLimit.
-
getRateLimitDuration
public int getRateLimitDuration()
uint32 rate_limit_duration = 9 [json_name = "rateLimitDuration"];- Specified by:
getRateLimitDurationin interfaceWebhookOrBuilder- Returns:
- The rateLimitDuration.
-
getStatusValue
public int getStatusValue()
.streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 10 [json_name = "status"];- Specified by:
getStatusValuein interfaceWebhookOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public WebhookStatus getStatus()
.streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 10 [json_name = "status"];- Specified by:
getStatusin interfaceWebhookOrBuilder- Returns:
- The status.
-
hasApiKey
public boolean hasApiKey()
Target URL authentication
.streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 11 [json_name = "apiKey"];- Specified by:
hasApiKeyin interfaceWebhookOrBuilder- Returns:
- Whether the apiKey field is set.
-
getApiKey
public ApiKey getApiKey()
Target URL authentication
.streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 11 [json_name = "apiKey"];- Specified by:
getApiKeyin interfaceWebhookOrBuilder- Returns:
- The apiKey.
-
hasEventId
public boolean hasEventId()
optional uint64 event_id = 12 [json_name = "eventId"];- Specified by:
hasEventIdin interfaceWebhookOrBuilder- Returns:
- Whether the eventId field is set.
-
getEventId
public long getEventId()
optional uint64 event_id = 12 [json_name = "eventId"];- Specified by:
getEventIdin interfaceWebhookOrBuilder- Returns:
- The eventId.
-
hasQuestionId
public boolean hasQuestionId()
optional string question_id = 13 [json_name = "questionId"];- Specified by:
hasQuestionIdin interfaceWebhookOrBuilder- Returns:
- Whether the questionId field is set.
-
getQuestionId
public java.lang.String getQuestionId()
optional string question_id = 13 [json_name = "questionId"];- Specified by:
getQuestionIdin interfaceWebhookOrBuilder- Returns:
- The questionId.
-
getQuestionIdBytes
public com.google.protobuf.ByteString getQuestionIdBytes()
optional string question_id = 13 [json_name = "questionId"];- Specified by:
getQuestionIdBytesin interfaceWebhookOrBuilder- Returns:
- The bytes for questionId.
-
parseFrom
public static Webhook parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Webhook parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Webhook parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Webhook parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Webhook parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Webhook parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Webhook parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Webhook parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Webhook parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Webhook parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Webhook parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Webhook parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static Webhook.Builder newBuilder()
-
newBuilder
public static Webhook.Builder newBuilder(Webhook 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<Webhook,Webhook.Builder>
-
getDefaultInstance
public static Webhook getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Webhook> parser()
-
-