Class PagerDutyEventV2.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>
ai.chalk.protos.chalk.server.v1.PagerDutyEventV2.Builder
All Implemented Interfaces:
PagerDutyEventV2OrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PagerDutyEventV2

public static final class PagerDutyEventV2.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder> implements PagerDutyEventV2OrBuilder
Protobuf type chalk.server.v1.PagerDutyEventV2
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>
    • clear

      public PagerDutyEventV2.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>
    • getDefaultInstanceForType

      public PagerDutyEventV2 getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PagerDutyEventV2 build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PagerDutyEventV2 buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public PagerDutyEventV2.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>
    • setField

      public PagerDutyEventV2.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>
    • clearField

      public PagerDutyEventV2.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>
    • clearOneof

      public PagerDutyEventV2.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>
    • setRepeatedField

      public PagerDutyEventV2.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>
    • addRepeatedField

      public PagerDutyEventV2.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>
    • mergeFrom

      public PagerDutyEventV2.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PagerDutyEventV2.Builder>
    • mergeFrom

      public PagerDutyEventV2.Builder mergeFrom(PagerDutyEventV2 other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>
    • mergeFrom

      public PagerDutyEventV2.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PagerDutyEventV2.Builder>
      Throws:
      IOException
    • hasPayload

      public boolean hasPayload()
      .chalk.server.v1.PagerDutyEventV2Payload payload = 1 [json_name = "payload"];
      Specified by:
      hasPayload in interface PagerDutyEventV2OrBuilder
      Returns:
      Whether the payload field is set.
    • getPayload

      public PagerDutyEventV2Payload getPayload()
      .chalk.server.v1.PagerDutyEventV2Payload payload = 1 [json_name = "payload"];
      Specified by:
      getPayload in interface PagerDutyEventV2OrBuilder
      Returns:
      The payload.
    • setPayload

      .chalk.server.v1.PagerDutyEventV2Payload payload = 1 [json_name = "payload"];
    • setPayload

      public PagerDutyEventV2.Builder setPayload(PagerDutyEventV2Payload.Builder builderForValue)
      .chalk.server.v1.PagerDutyEventV2Payload payload = 1 [json_name = "payload"];
    • mergePayload

      .chalk.server.v1.PagerDutyEventV2Payload payload = 1 [json_name = "payload"];
    • clearPayload

      public PagerDutyEventV2.Builder clearPayload()
      .chalk.server.v1.PagerDutyEventV2Payload payload = 1 [json_name = "payload"];
    • getPayloadBuilder

      public PagerDutyEventV2Payload.Builder getPayloadBuilder()
      .chalk.server.v1.PagerDutyEventV2Payload payload = 1 [json_name = "payload"];
    • getPayloadOrBuilder

      public PagerDutyEventV2PayloadOrBuilder getPayloadOrBuilder()
      .chalk.server.v1.PagerDutyEventV2Payload payload = 1 [json_name = "payload"];
      Specified by:
      getPayloadOrBuilder in interface PagerDutyEventV2OrBuilder
    • getRoutingKey

      public String getRoutingKey()
      string routing_key = 2 [json_name = "routingKey"];
      Specified by:
      getRoutingKey in interface PagerDutyEventV2OrBuilder
      Returns:
      The routingKey.
    • getRoutingKeyBytes

      public com.google.protobuf.ByteString getRoutingKeyBytes()
      string routing_key = 2 [json_name = "routingKey"];
      Specified by:
      getRoutingKeyBytes in interface PagerDutyEventV2OrBuilder
      Returns:
      The bytes for routingKey.
    • setRoutingKey

      public PagerDutyEventV2.Builder setRoutingKey(String value)
      string routing_key = 2 [json_name = "routingKey"];
      Parameters:
      value - The routingKey to set.
      Returns:
      This builder for chaining.
    • clearRoutingKey

      public PagerDutyEventV2.Builder clearRoutingKey()
      string routing_key = 2 [json_name = "routingKey"];
      Returns:
      This builder for chaining.
    • setRoutingKeyBytes

      public PagerDutyEventV2.Builder setRoutingKeyBytes(com.google.protobuf.ByteString value)
      string routing_key = 2 [json_name = "routingKey"];
      Parameters:
      value - The bytes for routingKey to set.
      Returns:
      This builder for chaining.
    • getEventActionValue

      public int getEventActionValue()
      .chalk.server.v1.PagerDutyEventAction event_action = 3 [json_name = "eventAction"];
      Specified by:
      getEventActionValue in interface PagerDutyEventV2OrBuilder
      Returns:
      The enum numeric value on the wire for eventAction.
    • setEventActionValue

      public PagerDutyEventV2.Builder setEventActionValue(int value)
      .chalk.server.v1.PagerDutyEventAction event_action = 3 [json_name = "eventAction"];
      Parameters:
      value - The enum numeric value on the wire for eventAction to set.
      Returns:
      This builder for chaining.
    • getEventAction

      public PagerDutyEventAction getEventAction()
      .chalk.server.v1.PagerDutyEventAction event_action = 3 [json_name = "eventAction"];
      Specified by:
      getEventAction in interface PagerDutyEventV2OrBuilder
      Returns:
      The eventAction.
    • setEventAction

      public PagerDutyEventV2.Builder setEventAction(PagerDutyEventAction value)
      .chalk.server.v1.PagerDutyEventAction event_action = 3 [json_name = "eventAction"];
      Parameters:
      value - The eventAction to set.
      Returns:
      This builder for chaining.
    • clearEventAction

      public PagerDutyEventV2.Builder clearEventAction()
      .chalk.server.v1.PagerDutyEventAction event_action = 3 [json_name = "eventAction"];
      Returns:
      This builder for chaining.
    • hasDedupKey

      public boolean hasDedupKey()
      optional string dedup_key = 4 [json_name = "dedupKey"];
      Specified by:
      hasDedupKey in interface PagerDutyEventV2OrBuilder
      Returns:
      Whether the dedupKey field is set.
    • getDedupKey

      public String getDedupKey()
      optional string dedup_key = 4 [json_name = "dedupKey"];
      Specified by:
      getDedupKey in interface PagerDutyEventV2OrBuilder
      Returns:
      The dedupKey.
    • getDedupKeyBytes

      public com.google.protobuf.ByteString getDedupKeyBytes()
      optional string dedup_key = 4 [json_name = "dedupKey"];
      Specified by:
      getDedupKeyBytes in interface PagerDutyEventV2OrBuilder
      Returns:
      The bytes for dedupKey.
    • setDedupKey

      public PagerDutyEventV2.Builder setDedupKey(String value)
      optional string dedup_key = 4 [json_name = "dedupKey"];
      Parameters:
      value - The dedupKey to set.
      Returns:
      This builder for chaining.
    • clearDedupKey

      public PagerDutyEventV2.Builder clearDedupKey()
      optional string dedup_key = 4 [json_name = "dedupKey"];
      Returns:
      This builder for chaining.
    • setDedupKeyBytes

      public PagerDutyEventV2.Builder setDedupKeyBytes(com.google.protobuf.ByteString value)
      optional string dedup_key = 4 [json_name = "dedupKey"];
      Parameters:
      value - The bytes for dedupKey to set.
      Returns:
      This builder for chaining.
    • hasClient

      public boolean hasClient()
      optional string client = 5 [json_name = "client"];
      Specified by:
      hasClient in interface PagerDutyEventV2OrBuilder
      Returns:
      Whether the client field is set.
    • getClient

      public String getClient()
      optional string client = 5 [json_name = "client"];
      Specified by:
      getClient in interface PagerDutyEventV2OrBuilder
      Returns:
      The client.
    • getClientBytes

      public com.google.protobuf.ByteString getClientBytes()
      optional string client = 5 [json_name = "client"];
      Specified by:
      getClientBytes in interface PagerDutyEventV2OrBuilder
      Returns:
      The bytes for client.
    • setClient

      public PagerDutyEventV2.Builder setClient(String value)
      optional string client = 5 [json_name = "client"];
      Parameters:
      value - The client to set.
      Returns:
      This builder for chaining.
    • clearClient

      public PagerDutyEventV2.Builder clearClient()
      optional string client = 5 [json_name = "client"];
      Returns:
      This builder for chaining.
    • setClientBytes

      public PagerDutyEventV2.Builder setClientBytes(com.google.protobuf.ByteString value)
      optional string client = 5 [json_name = "client"];
      Parameters:
      value - The bytes for client to set.
      Returns:
      This builder for chaining.
    • hasClientUrl

      public boolean hasClientUrl()
      optional string client_url = 6 [json_name = "clientUrl"];
      Specified by:
      hasClientUrl in interface PagerDutyEventV2OrBuilder
      Returns:
      Whether the clientUrl field is set.
    • getClientUrl

      public String getClientUrl()
      optional string client_url = 6 [json_name = "clientUrl"];
      Specified by:
      getClientUrl in interface PagerDutyEventV2OrBuilder
      Returns:
      The clientUrl.
    • getClientUrlBytes

      public com.google.protobuf.ByteString getClientUrlBytes()
      optional string client_url = 6 [json_name = "clientUrl"];
      Specified by:
      getClientUrlBytes in interface PagerDutyEventV2OrBuilder
      Returns:
      The bytes for clientUrl.
    • setClientUrl

      public PagerDutyEventV2.Builder setClientUrl(String value)
      optional string client_url = 6 [json_name = "clientUrl"];
      Parameters:
      value - The clientUrl to set.
      Returns:
      This builder for chaining.
    • clearClientUrl

      public PagerDutyEventV2.Builder clearClientUrl()
      optional string client_url = 6 [json_name = "clientUrl"];
      Returns:
      This builder for chaining.
    • setClientUrlBytes

      public PagerDutyEventV2.Builder setClientUrlBytes(com.google.protobuf.ByteString value)
      optional string client_url = 6 [json_name = "clientUrl"];
      Parameters:
      value - The bytes for clientUrl to set.
      Returns:
      This builder for chaining.
    • getLinksList

      public List<PagerDutyEventV2Link> getLinksList()
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
      Specified by:
      getLinksList in interface PagerDutyEventV2OrBuilder
    • getLinksCount

      public int getLinksCount()
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
      Specified by:
      getLinksCount in interface PagerDutyEventV2OrBuilder
    • getLinks

      public PagerDutyEventV2Link getLinks(int index)
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
      Specified by:
      getLinks in interface PagerDutyEventV2OrBuilder
    • setLinks

      public PagerDutyEventV2.Builder setLinks(int index, PagerDutyEventV2Link value)
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • setLinks

      public PagerDutyEventV2.Builder setLinks(int index, PagerDutyEventV2Link.Builder builderForValue)
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • addLinks

      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • addLinks

      public PagerDutyEventV2.Builder addLinks(int index, PagerDutyEventV2Link value)
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • addLinks

      public PagerDutyEventV2.Builder addLinks(PagerDutyEventV2Link.Builder builderForValue)
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • addLinks

      public PagerDutyEventV2.Builder addLinks(int index, PagerDutyEventV2Link.Builder builderForValue)
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • addAllLinks

      public PagerDutyEventV2.Builder addAllLinks(Iterable<? extends PagerDutyEventV2Link> values)
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • clearLinks

      public PagerDutyEventV2.Builder clearLinks()
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • removeLinks

      public PagerDutyEventV2.Builder removeLinks(int index)
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • getLinksBuilder

      public PagerDutyEventV2Link.Builder getLinksBuilder(int index)
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • getLinksOrBuilder

      public PagerDutyEventV2LinkOrBuilder getLinksOrBuilder(int index)
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
      Specified by:
      getLinksOrBuilder in interface PagerDutyEventV2OrBuilder
    • getLinksOrBuilderList

      public List<? extends PagerDutyEventV2LinkOrBuilder> getLinksOrBuilderList()
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
      Specified by:
      getLinksOrBuilderList in interface PagerDutyEventV2OrBuilder
    • addLinksBuilder

      public PagerDutyEventV2Link.Builder addLinksBuilder()
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • addLinksBuilder

      public PagerDutyEventV2Link.Builder addLinksBuilder(int index)
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • getLinksBuilderList

      public List<PagerDutyEventV2Link.Builder> getLinksBuilderList()
      repeated .chalk.server.v1.PagerDutyEventV2Link links = 7 [json_name = "links"];
    • getImagesList

      public List<PagerDutyEventV2Image> getImagesList()
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
      Specified by:
      getImagesList in interface PagerDutyEventV2OrBuilder
    • getImagesCount

      public int getImagesCount()
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
      Specified by:
      getImagesCount in interface PagerDutyEventV2OrBuilder
    • getImages

      public PagerDutyEventV2Image getImages(int index)
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
      Specified by:
      getImages in interface PagerDutyEventV2OrBuilder
    • setImages

      public PagerDutyEventV2.Builder setImages(int index, PagerDutyEventV2Image value)
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • setImages

      public PagerDutyEventV2.Builder setImages(int index, PagerDutyEventV2Image.Builder builderForValue)
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • addImages

      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • addImages

      public PagerDutyEventV2.Builder addImages(int index, PagerDutyEventV2Image value)
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • addImages

      public PagerDutyEventV2.Builder addImages(PagerDutyEventV2Image.Builder builderForValue)
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • addImages

      public PagerDutyEventV2.Builder addImages(int index, PagerDutyEventV2Image.Builder builderForValue)
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • addAllImages

      public PagerDutyEventV2.Builder addAllImages(Iterable<? extends PagerDutyEventV2Image> values)
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • clearImages

      public PagerDutyEventV2.Builder clearImages()
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • removeImages

      public PagerDutyEventV2.Builder removeImages(int index)
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • getImagesBuilder

      public PagerDutyEventV2Image.Builder getImagesBuilder(int index)
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • getImagesOrBuilder

      public PagerDutyEventV2ImageOrBuilder getImagesOrBuilder(int index)
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
      Specified by:
      getImagesOrBuilder in interface PagerDutyEventV2OrBuilder
    • getImagesOrBuilderList

      public List<? extends PagerDutyEventV2ImageOrBuilder> getImagesOrBuilderList()
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
      Specified by:
      getImagesOrBuilderList in interface PagerDutyEventV2OrBuilder
    • addImagesBuilder

      public PagerDutyEventV2Image.Builder addImagesBuilder()
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • addImagesBuilder

      public PagerDutyEventV2Image.Builder addImagesBuilder(int index)
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • getImagesBuilderList

      public List<PagerDutyEventV2Image.Builder> getImagesBuilderList()
      repeated .chalk.server.v1.PagerDutyEventV2Image images = 8 [json_name = "images"];
    • setUnknownFields

      public final PagerDutyEventV2.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>
    • mergeUnknownFields

      public final PagerDutyEventV2.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PagerDutyEventV2.Builder>