Class Alert.ActionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Alert.ActionInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<Alert.ActionInfo.Builder>
io.confluent.controlcenter.alert.record.Alert.ActionInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Alert.ActionInfoOrBuilder,Cloneable
- Enclosing class:
Alert.ActionInfo
public static final class Alert.ActionInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Alert.ActionInfo.Builder>
implements Alert.ActionInfoOrBuilder
Protobuf type
alert.ActionInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear().command_alert.EmailAction email = 3;string guid = 1;string name = 2;.command_alert.WebHookAction webhook = 4;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEmail().command_alert.EmailAction email = 3;.command_alert.EmailAction email = 3;.command_alert.EmailAction email = 3;getGuid()string guid = 1;com.google.protobuf.ByteStringstring guid = 1;getName()string name = 2;com.google.protobuf.ByteStringstring name = 2;.command_alert.WebHookAction webhook = 4;.command_alert.WebHookAction webhook = 4;.command_alert.WebHookAction webhook = 4;booleanhasEmail().command_alert.EmailAction email = 3;boolean.command_alert.WebHookAction webhook = 4;final boolean.command_alert.EmailAction email = 3;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Alert.ActionInfo other) .command_alert.WebHookAction webhook = 4;setEmail(CommandAlert.EmailAction value) .command_alert.EmailAction email = 3;setEmail(CommandAlert.EmailAction.Builder builderForValue) .command_alert.EmailAction email = 3;string guid = 1;setGuidBytes(com.google.protobuf.ByteString value) string guid = 1;string name = 2;setNameBytes(com.google.protobuf.ByteString value) string name = 2;.command_alert.WebHookAction webhook = 4;setWebhook(CommandAlert.WebHookAction.Builder builderForValue) .command_alert.WebHookAction webhook = 4;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, mergeUnknownFields, newBuilderForField, setField, setRepeatedField, setUnknownFieldsMethods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom, mergeDelimitedFrom, mergeFromMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Alert.ActionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Alert.ActionInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Alert.ActionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Alert.ActionInfo.Builder>
-
mergeFrom
public Alert.ActionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Alert.ActionInfo.Builder>- Throws:
IOException
-
getActionCase
- Specified by:
getActionCasein interfaceAlert.ActionInfoOrBuilder
-
clearAction
-
getGuid
string guid = 1;- Specified by:
getGuidin interfaceAlert.ActionInfoOrBuilder- Returns:
- The guid.
-
getGuidBytes
public com.google.protobuf.ByteString getGuidBytes()string guid = 1;- Specified by:
getGuidBytesin interfaceAlert.ActionInfoOrBuilder- Returns:
- The bytes for guid.
-
setGuid
string guid = 1;- Parameters:
value- The guid to set.- Returns:
- This builder for chaining.
-
clearGuid
-
setGuidBytes
string guid = 1;- Parameters:
value- The bytes for guid to set.- Returns:
- This builder for chaining.
-
getName
string name = 2;- Specified by:
getNamein interfaceAlert.ActionInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2;- Specified by:
getNameBytesin interfaceAlert.ActionInfoOrBuilder- Returns:
- The bytes for name.
-
setName
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
-
setNameBytes
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasEmail
public boolean hasEmail().command_alert.EmailAction email = 3;- Specified by:
hasEmailin interfaceAlert.ActionInfoOrBuilder- Returns:
- Whether the email field is set.
-
getEmail
.command_alert.EmailAction email = 3;- Specified by:
getEmailin interfaceAlert.ActionInfoOrBuilder- Returns:
- The email.
-
setEmail
.command_alert.EmailAction email = 3; -
setEmail
.command_alert.EmailAction email = 3; -
mergeEmail
.command_alert.EmailAction email = 3; -
clearEmail
.command_alert.EmailAction email = 3; -
getEmailBuilder
.command_alert.EmailAction email = 3; -
getEmailOrBuilder
.command_alert.EmailAction email = 3;- Specified by:
getEmailOrBuilderin interfaceAlert.ActionInfoOrBuilder
-
hasWebhook
public boolean hasWebhook().command_alert.WebHookAction webhook = 4;- Specified by:
hasWebhookin interfaceAlert.ActionInfoOrBuilder- Returns:
- Whether the webhook field is set.
-
getWebhook
.command_alert.WebHookAction webhook = 4;- Specified by:
getWebhookin interfaceAlert.ActionInfoOrBuilder- Returns:
- The webhook.
-
setWebhook
.command_alert.WebHookAction webhook = 4; -
setWebhook
.command_alert.WebHookAction webhook = 4; -
mergeWebhook
.command_alert.WebHookAction webhook = 4; -
clearWebhook
.command_alert.WebHookAction webhook = 4; -
getWebhookBuilder
.command_alert.WebHookAction webhook = 4; -
getWebhookOrBuilder
.command_alert.WebHookAction webhook = 4;- Specified by:
getWebhookOrBuilderin interfaceAlert.ActionInfoOrBuilder
-