Class CommandAlert.PagerDuty.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CommandAlert.PagerDuty.Builder>
com.google.protobuf.GeneratedMessage.Builder<CommandAlert.PagerDuty.Builder>
io.confluent.command.record.alert.CommandAlert.PagerDuty.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CommandAlert.PagerDutyOrBuilder,Cloneable
- Enclosing class:
CommandAlert.PagerDuty
public static final class CommandAlert.PagerDuty.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CommandAlert.PagerDuty.Builder>
implements CommandAlert.PagerDutyOrBuilder
Protobuf type
command_alert.PagerDuty-
Method Summary
Modifier and TypeMethodDescriptionaddAllLinks(Iterable<? extends CommandAlert.PagerDutyLink> values) repeated .command_alert.PagerDutyLink links = 4;addLinks(int index, CommandAlert.PagerDutyLink value) repeated .command_alert.PagerDutyLink links = 4;addLinks(int index, CommandAlert.PagerDutyLink.Builder builderForValue) repeated .command_alert.PagerDutyLink links = 4;repeated .command_alert.PagerDutyLink links = 4;addLinks(CommandAlert.PagerDutyLink.Builder builderForValue) repeated .command_alert.PagerDutyLink links = 4;repeated .command_alert.PagerDutyLink links = 4;addLinksBuilder(int index) repeated .command_alert.PagerDutyLink links = 4;build()clear()string event_action = 2;repeated .command_alert.PagerDutyLink links = 4;.command_alert.PagerDutyPayload payload = 3;string routing_key = 1;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorstring event_action = 2;com.google.protobuf.ByteStringstring event_action = 2;getLinks(int index) repeated .command_alert.PagerDutyLink links = 4;getLinksBuilder(int index) repeated .command_alert.PagerDutyLink links = 4;repeated .command_alert.PagerDutyLink links = 4;intrepeated .command_alert.PagerDutyLink links = 4;repeated .command_alert.PagerDutyLink links = 4;getLinksOrBuilder(int index) repeated .command_alert.PagerDutyLink links = 4;List<? extends CommandAlert.PagerDutyLinkOrBuilder> repeated .command_alert.PagerDutyLink links = 4;.command_alert.PagerDutyPayload payload = 3;.command_alert.PagerDutyPayload payload = 3;.command_alert.PagerDutyPayload payload = 3;string routing_key = 1;com.google.protobuf.ByteStringstring routing_key = 1;boolean.command_alert.PagerDutyPayload payload = 3;final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CommandAlert.PagerDuty other) .command_alert.PagerDutyPayload payload = 3;removeLinks(int index) repeated .command_alert.PagerDutyLink links = 4;setEventAction(String value) string event_action = 2;setEventActionBytes(com.google.protobuf.ByteString value) string event_action = 2;setLinks(int index, CommandAlert.PagerDutyLink value) repeated .command_alert.PagerDutyLink links = 4;setLinks(int index, CommandAlert.PagerDutyLink.Builder builderForValue) repeated .command_alert.PagerDutyLink links = 4;.command_alert.PagerDutyPayload payload = 3;setPayload(CommandAlert.PagerDutyPayload.Builder builderForValue) .command_alert.PagerDutyPayload payload = 3;setRoutingKey(String value) string routing_key = 1;setRoutingKeyBytes(com.google.protobuf.ByteString value) string routing_key = 1;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<CommandAlert.PagerDuty.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<CommandAlert.PagerDuty.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<CommandAlert.PagerDuty.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CommandAlert.PagerDuty.Builder>
-
mergeFrom
public CommandAlert.PagerDuty.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<CommandAlert.PagerDuty.Builder>- Throws:
IOException
-
getRoutingKey
string routing_key = 1;- Specified by:
getRoutingKeyin interfaceCommandAlert.PagerDutyOrBuilder- Returns:
- The routingKey.
-
getRoutingKeyBytes
public com.google.protobuf.ByteString getRoutingKeyBytes()string routing_key = 1;- Specified by:
getRoutingKeyBytesin interfaceCommandAlert.PagerDutyOrBuilder- Returns:
- The bytes for routingKey.
-
setRoutingKey
string routing_key = 1;- Parameters:
value- The routingKey to set.- Returns:
- This builder for chaining.
-
clearRoutingKey
string routing_key = 1;- Returns:
- This builder for chaining.
-
setRoutingKeyBytes
string routing_key = 1;- Parameters:
value- The bytes for routingKey to set.- Returns:
- This builder for chaining.
-
getEventAction
string event_action = 2;- Specified by:
getEventActionin interfaceCommandAlert.PagerDutyOrBuilder- Returns:
- The eventAction.
-
getEventActionBytes
public com.google.protobuf.ByteString getEventActionBytes()string event_action = 2;- Specified by:
getEventActionBytesin interfaceCommandAlert.PagerDutyOrBuilder- Returns:
- The bytes for eventAction.
-
setEventAction
string event_action = 2;- Parameters:
value- The eventAction to set.- Returns:
- This builder for chaining.
-
clearEventAction
string event_action = 2;- Returns:
- This builder for chaining.
-
setEventActionBytes
string event_action = 2;- Parameters:
value- The bytes for eventAction to set.- Returns:
- This builder for chaining.
-
hasPayload
public boolean hasPayload().command_alert.PagerDutyPayload payload = 3;- Specified by:
hasPayloadin interfaceCommandAlert.PagerDutyOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
.command_alert.PagerDutyPayload payload = 3;- Specified by:
getPayloadin interfaceCommandAlert.PagerDutyOrBuilder- Returns:
- The payload.
-
setPayload
.command_alert.PagerDutyPayload payload = 3; -
setPayload
public CommandAlert.PagerDuty.Builder setPayload(CommandAlert.PagerDutyPayload.Builder builderForValue) .command_alert.PagerDutyPayload payload = 3; -
mergePayload
.command_alert.PagerDutyPayload payload = 3; -
clearPayload
.command_alert.PagerDutyPayload payload = 3; -
getPayloadBuilder
.command_alert.PagerDutyPayload payload = 3; -
getPayloadOrBuilder
.command_alert.PagerDutyPayload payload = 3;- Specified by:
getPayloadOrBuilderin interfaceCommandAlert.PagerDutyOrBuilder
-
getLinksList
repeated .command_alert.PagerDutyLink links = 4;- Specified by:
getLinksListin interfaceCommandAlert.PagerDutyOrBuilder
-
getLinksCount
public int getLinksCount()repeated .command_alert.PagerDutyLink links = 4;- Specified by:
getLinksCountin interfaceCommandAlert.PagerDutyOrBuilder
-
getLinks
repeated .command_alert.PagerDutyLink links = 4;- Specified by:
getLinksin interfaceCommandAlert.PagerDutyOrBuilder
-
setLinks
repeated .command_alert.PagerDutyLink links = 4; -
setLinks
public CommandAlert.PagerDuty.Builder setLinks(int index, CommandAlert.PagerDutyLink.Builder builderForValue) repeated .command_alert.PagerDutyLink links = 4; -
addLinks
repeated .command_alert.PagerDutyLink links = 4; -
addLinks
repeated .command_alert.PagerDutyLink links = 4; -
addLinks
repeated .command_alert.PagerDutyLink links = 4; -
addLinks
public CommandAlert.PagerDuty.Builder addLinks(int index, CommandAlert.PagerDutyLink.Builder builderForValue) repeated .command_alert.PagerDutyLink links = 4; -
addAllLinks
public CommandAlert.PagerDuty.Builder addAllLinks(Iterable<? extends CommandAlert.PagerDutyLink> values) repeated .command_alert.PagerDutyLink links = 4; -
clearLinks
repeated .command_alert.PagerDutyLink links = 4; -
removeLinks
repeated .command_alert.PagerDutyLink links = 4; -
getLinksBuilder
repeated .command_alert.PagerDutyLink links = 4; -
getLinksOrBuilder
repeated .command_alert.PagerDutyLink links = 4;- Specified by:
getLinksOrBuilderin interfaceCommandAlert.PagerDutyOrBuilder
-
getLinksOrBuilderList
repeated .command_alert.PagerDutyLink links = 4;- Specified by:
getLinksOrBuilderListin interfaceCommandAlert.PagerDutyOrBuilder
-
addLinksBuilder
repeated .command_alert.PagerDutyLink links = 4; -
addLinksBuilder
repeated .command_alert.PagerDutyLink links = 4; -
getLinksBuilderList
repeated .command_alert.PagerDutyLink links = 4;
-