Class GatewayOuterClass.StringList.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.StringList.Builder>
com.google.protobuf.GeneratedMessage.Builder<GatewayOuterClass.StringList.Builder>
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.StringList.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GatewayOuterClass.StringListOrBuilder, Cloneable
Enclosing class:
GatewayOuterClass.StringList

public static final class GatewayOuterClass.StringList.Builder extends com.google.protobuf.GeneratedMessage.Builder<GatewayOuterClass.StringList.Builder> implements GatewayOuterClass.StringListOrBuilder
Protobuf type gateway_protocol.StringList
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GatewayOuterClass.StringList.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.GeneratedMessage.Builder<GatewayOuterClass.StringList.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<GatewayOuterClass.StringList.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GatewayOuterClass.StringList buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

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

      public GatewayOuterClass.StringList.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<GatewayOuterClass.StringList.Builder>
      Throws:
      IOException
    • getValuesList

      public com.google.protobuf.ProtocolStringList getValuesList()
      repeated string values = 1;
      Specified by:
      getValuesList in interface GatewayOuterClass.StringListOrBuilder
      Returns:
      A list containing the values.
    • getValuesCount

      public int getValuesCount()
      repeated string values = 1;
      Specified by:
      getValuesCount in interface GatewayOuterClass.StringListOrBuilder
      Returns:
      The count of values.
    • getValues

      public String getValues(int index)
      repeated string values = 1;
      Specified by:
      getValues in interface GatewayOuterClass.StringListOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The values at the given index.
    • getValuesBytes

      public com.google.protobuf.ByteString getValuesBytes(int index)
      repeated string values = 1;
      Specified by:
      getValuesBytes in interface GatewayOuterClass.StringListOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the values at the given index.
    • setValues

      public GatewayOuterClass.StringList.Builder setValues(int index, String value)
      repeated string values = 1;
      Parameters:
      index - The index to set the value at.
      value - The values to set.
      Returns:
      This builder for chaining.
    • addValues

      public GatewayOuterClass.StringList.Builder addValues(String value)
      repeated string values = 1;
      Parameters:
      value - The values to add.
      Returns:
      This builder for chaining.
    • addAllValues

      public GatewayOuterClass.StringList.Builder addAllValues(Iterable<String> values)
      repeated string values = 1;
      Parameters:
      values - The values to add.
      Returns:
      This builder for chaining.
    • clearValues

      repeated string values = 1;
      Returns:
      This builder for chaining.
    • addValuesBytes

      public GatewayOuterClass.StringList.Builder addValuesBytes(com.google.protobuf.ByteString value)
      repeated string values = 1;
      Parameters:
      value - The bytes of the values to add.
      Returns:
      This builder for chaining.