Class EventSubscriptionUpdate.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<EventSubscriptionUpdate.Builder>
com.google.protobuf.GeneratedMessage.Builder<EventSubscriptionUpdate.Builder>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,EventSubscriptionUpdate.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<EventSubscriptionUpdate.Builder>
studio.o7.octopus.sdk.gen.api.v1.EventSubscriptionUpdate.Builder
All Implemented Interfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, EventSubscriptionUpdateOrBuilder
Enclosing class:
EventSubscriptionUpdate

public static final class EventSubscriptionUpdate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventSubscriptionUpdate.Builder> implements EventSubscriptionUpdateOrBuilder

 Request to subscribe to this list of event keys.
 
Protobuf type api.v1.EventSubscriptionUpdate
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EventSubscriptionUpdate.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<EventSubscriptionUpdate.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.GeneratedMessage.Builder<EventSubscriptionUpdate.Builder>
    • getDefaultInstanceForType

      public EventSubscriptionUpdate getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

      public EventSubscriptionUpdate buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<EventSubscriptionUpdate.Builder>
    • setField

      public EventSubscriptionUpdate.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<EventSubscriptionUpdate.Builder>
    • clearField

      public EventSubscriptionUpdate.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<EventSubscriptionUpdate.Builder>
    • clearOneof

      public EventSubscriptionUpdate.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<EventSubscriptionUpdate.Builder>
    • setRepeatedField

      public EventSubscriptionUpdate.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<EventSubscriptionUpdate.Builder>
    • addRepeatedField

      public EventSubscriptionUpdate.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<EventSubscriptionUpdate.Builder>
    • mergeFrom

      public EventSubscriptionUpdate.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<EventSubscriptionUpdate.Builder>
    • mergeFrom

    • isInitialized

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

      public EventSubscriptionUpdate.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<EventSubscriptionUpdate.Builder>
      Throws:
      IOException
    • getIdentifier

      public String getIdentifier()
       Identifier of the service (e.g. service-name)
       
      string identifier = 1 [json_name = "identifier"];
      Specified by:
      getIdentifier in interface EventSubscriptionUpdateOrBuilder
      Returns:
      The identifier.
    • getIdentifierBytes

      public com.google.protobuf.ByteString getIdentifierBytes()
       Identifier of the service (e.g. service-name)
       
      string identifier = 1 [json_name = "identifier"];
      Specified by:
      getIdentifierBytes in interface EventSubscriptionUpdateOrBuilder
      Returns:
      The bytes for identifier.
    • setIdentifier

      public EventSubscriptionUpdate.Builder setIdentifier(String value)
       Identifier of the service (e.g. service-name)
       
      string identifier = 1 [json_name = "identifier"];
      Parameters:
      value - The identifier to set.
      Returns:
      This builder for chaining.
    • clearIdentifier

      public EventSubscriptionUpdate.Builder clearIdentifier()
       Identifier of the service (e.g. service-name)
       
      string identifier = 1 [json_name = "identifier"];
      Returns:
      This builder for chaining.
    • setIdentifierBytes

      public EventSubscriptionUpdate.Builder setIdentifierBytes(com.google.protobuf.ByteString value)
       Identifier of the service (e.g. service-name)
       
      string identifier = 1 [json_name = "identifier"];
      Parameters:
      value - The bytes for identifier to set.
      Returns:
      This builder for chaining.
    • getKeysList

      public com.google.protobuf.ProtocolStringList getKeysList()
       List of keys to subscribe to
       
      repeated string keys = 2 [json_name = "keys"];
      Specified by:
      getKeysList in interface EventSubscriptionUpdateOrBuilder
      Returns:
      A list containing the keys.
    • getKeysCount

      public int getKeysCount()
       List of keys to subscribe to
       
      repeated string keys = 2 [json_name = "keys"];
      Specified by:
      getKeysCount in interface EventSubscriptionUpdateOrBuilder
      Returns:
      The count of keys.
    • getKeys

      public String getKeys(int index)
       List of keys to subscribe to
       
      repeated string keys = 2 [json_name = "keys"];
      Specified by:
      getKeys in interface EventSubscriptionUpdateOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The keys at the given index.
    • getKeysBytes

      public com.google.protobuf.ByteString getKeysBytes(int index)
       List of keys to subscribe to
       
      repeated string keys = 2 [json_name = "keys"];
      Specified by:
      getKeysBytes in interface EventSubscriptionUpdateOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the keys at the given index.
    • setKeys

      public EventSubscriptionUpdate.Builder setKeys(int index, String value)
       List of keys to subscribe to
       
      repeated string keys = 2 [json_name = "keys"];
      Parameters:
      index - The index to set the value at.
      value - The keys to set.
      Returns:
      This builder for chaining.
    • addKeys

      public EventSubscriptionUpdate.Builder addKeys(String value)
       List of keys to subscribe to
       
      repeated string keys = 2 [json_name = "keys"];
      Parameters:
      value - The keys to add.
      Returns:
      This builder for chaining.
    • addAllKeys

      public EventSubscriptionUpdate.Builder addAllKeys(Iterable<String> values)
       List of keys to subscribe to
       
      repeated string keys = 2 [json_name = "keys"];
      Parameters:
      values - The keys to add.
      Returns:
      This builder for chaining.
    • clearKeys

      public EventSubscriptionUpdate.Builder clearKeys()
       List of keys to subscribe to
       
      repeated string keys = 2 [json_name = "keys"];
      Returns:
      This builder for chaining.
    • addKeysBytes

      public EventSubscriptionUpdate.Builder addKeysBytes(com.google.protobuf.ByteString value)
       List of keys to subscribe to
       
      repeated string keys = 2 [json_name = "keys"];
      Parameters:
      value - The bytes of the keys to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final EventSubscriptionUpdate.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<EventSubscriptionUpdate.Builder>
    • mergeUnknownFields

      public final EventSubscriptionUpdate.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<EventSubscriptionUpdate.Builder>