Class CommandAlert.ActionConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.confluent.command.record.alert.CommandAlert.ActionConfig
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CommandAlert.ActionConfigOrBuilder,Serializable
- Enclosing class:
CommandAlert
public static final class CommandAlert.ActionConfig
extends com.google.protobuf.GeneratedMessage
implements CommandAlert.ActionConfigOrBuilder
Protobuf type
command_alert.ActionConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classProtobuf typecommand_alert.ActionConfigNested 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 intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CommandAlert.ActionConfigstatic final com.google.protobuf.Descriptors.DescriptorgetEmail().command_alert.EmailAction email = 7;.command_alert.EmailAction email = 7;booleanbool enabled = 3;getGuid()string guid = 1;com.google.protobuf.ByteStringstring guid = 1;longint64 intervalMs = 6;intint32 maxSendRate = 5;getName()string name = 2;com.google.protobuf.ByteStringstring name = 2;com.google.protobuf.Parser<CommandAlert.ActionConfig> intgetTriggerGuid(int index) repeated string triggerGuid = 4;com.google.protobuf.ByteStringgetTriggerGuidBytes(int index) repeated string triggerGuid = 4;intrepeated string triggerGuid = 4;com.google.protobuf.ProtocolStringListrepeated string triggerGuid = 4;.command_alert.WebHookAction webhook = 8;.command_alert.WebHookAction webhook = 8;booleanhasEmail().command_alert.EmailAction email = 7;inthashCode()boolean.command_alert.WebHookAction webhook = 8;final booleannewBuilder(CommandAlert.ActionConfig prototype) static CommandAlert.ActionConfigparseDelimitedFrom(InputStream input) static CommandAlert.ActionConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandAlert.ActionConfigparseFrom(byte[] data) static CommandAlert.ActionConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandAlert.ActionConfigparseFrom(com.google.protobuf.ByteString data) static CommandAlert.ActionConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandAlert.ActionConfigparseFrom(com.google.protobuf.CodedInputStream input) static CommandAlert.ActionConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandAlert.ActionConfigparseFrom(InputStream input) static CommandAlert.ActionConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommandAlert.ActionConfigparseFrom(ByteBuffer data) static CommandAlert.ActionConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CommandAlert.ActionConfig> 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
-
GUID_FIELD_NUMBER
public static final int GUID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER- See Also:
-
TRIGGERGUID_FIELD_NUMBER
public static final int TRIGGERGUID_FIELD_NUMBER- See Also:
-
MAXSENDRATE_FIELD_NUMBER
public static final int MAXSENDRATE_FIELD_NUMBER- See Also:
-
INTERVALMS_FIELD_NUMBER
public static final int INTERVALMS_FIELD_NUMBER- See Also:
-
EMAIL_FIELD_NUMBER
public static final int EMAIL_FIELD_NUMBER- See Also:
-
WEBHOOK_FIELD_NUMBER
public static final int WEBHOOK_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getActionCase
- Specified by:
getActionCasein interfaceCommandAlert.ActionConfigOrBuilder
-
getGuid
string guid = 1;- Specified by:
getGuidin interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- The guid.
-
getGuidBytes
public com.google.protobuf.ByteString getGuidBytes()string guid = 1;- Specified by:
getGuidBytesin interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- The bytes for guid.
-
getName
string name = 2;- Specified by:
getNamein interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2;- Specified by:
getNameBytesin interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- The bytes for name.
-
getEnabled
public boolean getEnabled()bool enabled = 3;- Specified by:
getEnabledin interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- The enabled.
-
getTriggerGuidList
public com.google.protobuf.ProtocolStringList getTriggerGuidList()repeated string triggerGuid = 4;- Specified by:
getTriggerGuidListin interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- A list containing the triggerGuid.
-
getTriggerGuidCount
public int getTriggerGuidCount()repeated string triggerGuid = 4;- Specified by:
getTriggerGuidCountin interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- The count of triggerGuid.
-
getTriggerGuid
repeated string triggerGuid = 4;- Specified by:
getTriggerGuidin interfaceCommandAlert.ActionConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The triggerGuid at the given index.
-
getTriggerGuidBytes
public com.google.protobuf.ByteString getTriggerGuidBytes(int index) repeated string triggerGuid = 4;- Specified by:
getTriggerGuidBytesin interfaceCommandAlert.ActionConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the triggerGuid at the given index.
-
getMaxSendRate
public int getMaxSendRate()int32 maxSendRate = 5;- Specified by:
getMaxSendRatein interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- The maxSendRate.
-
getIntervalMs
public long getIntervalMs()int64 intervalMs = 6;- Specified by:
getIntervalMsin interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- The intervalMs.
-
hasEmail
public boolean hasEmail().command_alert.EmailAction email = 7;- Specified by:
hasEmailin interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- Whether the email field is set.
-
getEmail
.command_alert.EmailAction email = 7;- Specified by:
getEmailin interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- The email.
-
getEmailOrBuilder
.command_alert.EmailAction email = 7;- Specified by:
getEmailOrBuilderin interfaceCommandAlert.ActionConfigOrBuilder
-
hasWebhook
public boolean hasWebhook().command_alert.WebHookAction webhook = 8;- Specified by:
hasWebhookin interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- Whether the webhook field is set.
-
getWebhook
.command_alert.WebHookAction webhook = 8;- Specified by:
getWebhookin interfaceCommandAlert.ActionConfigOrBuilder- Returns:
- The webhook.
-
getWebhookOrBuilder
.command_alert.WebHookAction webhook = 8;- Specified by:
getWebhookOrBuilderin interfaceCommandAlert.ActionConfigOrBuilder
-
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.ActionConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandAlert.ActionConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandAlert.ActionConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandAlert.ActionConfig 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.ActionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommandAlert.ActionConfig 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.ActionConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CommandAlert.ActionConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CommandAlert.ActionConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CommandAlert.ActionConfig 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
-