Class CommandAlert.WebHookAction
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.confluent.command.record.alert.CommandAlert.WebHookAction
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CommandAlert.WebHookActionOrBuilder,Serializable
- Enclosing class:
CommandAlert
public static final class CommandAlert.WebHookAction
extends com.google.protobuf.GeneratedMessage
implements CommandAlert.WebHookActionOrBuilder
Protobuf type
command_alert.WebHookAction- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typecommand_alert.WebHookActionstatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CommandAlert.WebHookActionstatic final com.google.protobuf.Descriptors.Descriptor.command_alert.PagerDuty pagerduty = 4;.command_alert.PagerDuty pagerduty = 4;com.google.protobuf.Parser<CommandAlert.WebHookAction> intgetSlack().command_alert.Slack slack = 3;.command_alert.Slack slack = 3;string subject = 2;com.google.protobuf.ByteStringstring subject = 2;getUrl()string url = 1;com.google.protobuf.ByteStringstring url = 1;inthashCode()boolean.command_alert.PagerDuty pagerduty = 4;booleanhasSlack().command_alert.Slack slack = 3;final booleannewBuilder(CommandAlert.WebHookAction prototype) static CommandAlert.WebHookActionparseDelimitedFrom(InputStream input) static CommandAlert.WebHookActionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandAlert.WebHookActionparseFrom(byte[] data) static CommandAlert.WebHookActionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandAlert.WebHookActionparseFrom(com.google.protobuf.ByteString data) static CommandAlert.WebHookActionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandAlert.WebHookActionparseFrom(com.google.protobuf.CodedInputStream input) static CommandAlert.WebHookActionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandAlert.WebHookActionparseFrom(InputStream input) static CommandAlert.WebHookActionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandAlert.WebHookActionparseFrom(ByteBuffer data) static CommandAlert.WebHookActionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CommandAlert.WebHookAction> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER- See Also:
-
SUBJECT_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER- See Also:
-
SLACK_FIELD_NUMBER
public static final int SLACK_FIELD_NUMBER- See Also:
-
PAGERDUTY_FIELD_NUMBER
public static final int PAGERDUTY_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getWebHookTypeCase
- Specified by:
getWebHookTypeCasein interfaceCommandAlert.WebHookActionOrBuilder
-
getUrl
string url = 1;- Specified by:
getUrlin interfaceCommandAlert.WebHookActionOrBuilder- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()string url = 1;- Specified by:
getUrlBytesin interfaceCommandAlert.WebHookActionOrBuilder- Returns:
- The bytes for url.
-
getSubject
string subject = 2;- Specified by:
getSubjectin interfaceCommandAlert.WebHookActionOrBuilder- Returns:
- The subject.
-
getSubjectBytes
public com.google.protobuf.ByteString getSubjectBytes()string subject = 2;- Specified by:
getSubjectBytesin interfaceCommandAlert.WebHookActionOrBuilder- Returns:
- The bytes for subject.
-
hasSlack
public boolean hasSlack().command_alert.Slack slack = 3;- Specified by:
hasSlackin interfaceCommandAlert.WebHookActionOrBuilder- Returns:
- Whether the slack field is set.
-
getSlack
.command_alert.Slack slack = 3;- Specified by:
getSlackin interfaceCommandAlert.WebHookActionOrBuilder- Returns:
- The slack.
-
getSlackOrBuilder
.command_alert.Slack slack = 3;- Specified by:
getSlackOrBuilderin interfaceCommandAlert.WebHookActionOrBuilder
-
hasPagerduty
public boolean hasPagerduty().command_alert.PagerDuty pagerduty = 4;- Specified by:
hasPagerdutyin interfaceCommandAlert.WebHookActionOrBuilder- Returns:
- Whether the pagerduty field is set.
-
getPagerduty
.command_alert.PagerDuty pagerduty = 4;- Specified by:
getPagerdutyin interfaceCommandAlert.WebHookActionOrBuilder- Returns:
- The pagerduty.
-
getPagerdutyOrBuilder
.command_alert.PagerDuty pagerduty = 4;- Specified by:
getPagerdutyOrBuilderin interfaceCommandAlert.WebHookActionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CommandAlert.WebHookAction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandAlert.WebHookAction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandAlert.WebHookAction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandAlert.WebHookAction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandAlert.WebHookAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandAlert.WebHookAction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CommandAlert.WebHookAction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CommandAlert.WebHookAction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CommandAlert.WebHookAction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CommandAlert.WebHookAction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-