Class Matchers.StringMatcher.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Matchers.StringMatcher.Builder>
com.google.protobuf.GeneratedMessage.Builder<Matchers.StringMatcher.Builder>
namespace.stdlib.Matchers.StringMatcher.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Matchers.StringMatcherOrBuilder
Enclosing class:
Matchers.StringMatcher

public static final class Matchers.StringMatcher.Builder extends com.google.protobuf.GeneratedMessage.Builder<Matchers.StringMatcher.Builder> implements Matchers.StringMatcherOrBuilder
Protobuf type namespace.stdlib.StringMatcher
  • 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<Matchers.StringMatcher.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<Matchers.StringMatcher.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<Matchers.StringMatcher.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

      public String getValues(int index)
      repeated string values = 1;
      Specified by:
      getValues in interface Matchers.StringMatcherOrBuilder
      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 Matchers.StringMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the values at the given index.
    • setValues

      public Matchers.StringMatcher.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 Matchers.StringMatcher.Builder addValues(String value)
      repeated string values = 1;
      Parameters:
      value - The values to add.
      Returns:
      This builder for chaining.
    • addAllValues

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

      public Matchers.StringMatcher.Builder clearValues()
      repeated string values = 1;
      Returns:
      This builder for chaining.
    • addValuesBytes

      public Matchers.StringMatcher.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.
    • getOpValue

      public int getOpValue()
      .namespace.stdlib.StringMatcher.Operator op = 2;
      Specified by:
      getOpValue in interface Matchers.StringMatcherOrBuilder
      Returns:
      The enum numeric value on the wire for op.
    • setOpValue

      public Matchers.StringMatcher.Builder setOpValue(int value)
      .namespace.stdlib.StringMatcher.Operator op = 2;
      Parameters:
      value - The enum numeric value on the wire for op to set.
      Returns:
      This builder for chaining.
    • getOp

      .namespace.stdlib.StringMatcher.Operator op = 2;
      Specified by:
      getOp in interface Matchers.StringMatcherOrBuilder
      Returns:
      The op.
    • setOp

      .namespace.stdlib.StringMatcher.Operator op = 2;
      Parameters:
      value - The op to set.
      Returns:
      This builder for chaining.
    • clearOp

      .namespace.stdlib.StringMatcher.Operator op = 2;
      Returns:
      This builder for chaining.