Class Spec.ProtoStepValue.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoStepValue.Builder>
gauge.messages.Spec.ProtoStepValue.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Spec.ProtoStepValueOrBuilder, Cloneable
Enclosing class:
Spec.ProtoStepValue

public static final class Spec.ProtoStepValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoStepValue.Builder> implements Spec.ProtoStepValueOrBuilder
 / A proto object representing a Step value.
 
Protobuf type gauge.messages.ProtoStepValue
  • 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<Spec.ProtoStepValue.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<Spec.ProtoStepValue.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<Spec.ProtoStepValue.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Spec.ProtoStepValue.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<Spec.ProtoStepValue.Builder>
      Throws:
      IOException
    • getStepValue

      public String getStepValue()
       / The actual string value describing he Step
       
      string stepValue = 1;
      Specified by:
      getStepValue in interface Spec.ProtoStepValueOrBuilder
      Returns:
      The stepValue.
    • getStepValueBytes

      public com.google.protobuf.ByteString getStepValueBytes()
       / The actual string value describing he Step
       
      string stepValue = 1;
      Specified by:
      getStepValueBytes in interface Spec.ProtoStepValueOrBuilder
      Returns:
      The bytes for stepValue.
    • setStepValue

      public Spec.ProtoStepValue.Builder setStepValue(String value)
       / The actual string value describing he Step
       
      string stepValue = 1;
      Parameters:
      value - The stepValue to set.
      Returns:
      This builder for chaining.
    • clearStepValue

      public Spec.ProtoStepValue.Builder clearStepValue()
       / The actual string value describing he Step
       
      string stepValue = 1;
      Returns:
      This builder for chaining.
    • setStepValueBytes

      public Spec.ProtoStepValue.Builder setStepValueBytes(com.google.protobuf.ByteString value)
       / The actual string value describing he Step
       
      string stepValue = 1;
      Parameters:
      value - The bytes for stepValue to set.
      Returns:
      This builder for chaining.
    • getParameterizedStepValue

      public String getParameterizedStepValue()
       / The parameterized string value describing he Step. The parameters are replaced with placeholders.
       
      string parameterizedStepValue = 2;
      Specified by:
      getParameterizedStepValue in interface Spec.ProtoStepValueOrBuilder
      Returns:
      The parameterizedStepValue.
    • getParameterizedStepValueBytes

      public com.google.protobuf.ByteString getParameterizedStepValueBytes()
       / The parameterized string value describing he Step. The parameters are replaced with placeholders.
       
      string parameterizedStepValue = 2;
      Specified by:
      getParameterizedStepValueBytes in interface Spec.ProtoStepValueOrBuilder
      Returns:
      The bytes for parameterizedStepValue.
    • setParameterizedStepValue

      public Spec.ProtoStepValue.Builder setParameterizedStepValue(String value)
       / The parameterized string value describing he Step. The parameters are replaced with placeholders.
       
      string parameterizedStepValue = 2;
      Parameters:
      value - The parameterizedStepValue to set.
      Returns:
      This builder for chaining.
    • clearParameterizedStepValue

      public Spec.ProtoStepValue.Builder clearParameterizedStepValue()
       / The parameterized string value describing he Step. The parameters are replaced with placeholders.
       
      string parameterizedStepValue = 2;
      Returns:
      This builder for chaining.
    • setParameterizedStepValueBytes

      public Spec.ProtoStepValue.Builder setParameterizedStepValueBytes(com.google.protobuf.ByteString value)
       / The parameterized string value describing he Step. The parameters are replaced with placeholders.
       
      string parameterizedStepValue = 2;
      Parameters:
      value - The bytes for parameterizedStepValue to set.
      Returns:
      This builder for chaining.
    • getParametersList

      public com.google.protobuf.ProtocolStringList getParametersList()
       / A collection of strings representing the parameters.
       
      repeated string parameters = 3;
      Specified by:
      getParametersList in interface Spec.ProtoStepValueOrBuilder
      Returns:
      A list containing the parameters.
    • getParametersCount

      public int getParametersCount()
       / A collection of strings representing the parameters.
       
      repeated string parameters = 3;
      Specified by:
      getParametersCount in interface Spec.ProtoStepValueOrBuilder
      Returns:
      The count of parameters.
    • getParameters

      public String getParameters(int index)
       / A collection of strings representing the parameters.
       
      repeated string parameters = 3;
      Specified by:
      getParameters in interface Spec.ProtoStepValueOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The parameters at the given index.
    • getParametersBytes

      public com.google.protobuf.ByteString getParametersBytes(int index)
       / A collection of strings representing the parameters.
       
      repeated string parameters = 3;
      Specified by:
      getParametersBytes in interface Spec.ProtoStepValueOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the parameters at the given index.
    • setParameters

      public Spec.ProtoStepValue.Builder setParameters(int index, String value)
       / A collection of strings representing the parameters.
       
      repeated string parameters = 3;
      Parameters:
      index - The index to set the value at.
      value - The parameters to set.
      Returns:
      This builder for chaining.
    • addParameters

      public Spec.ProtoStepValue.Builder addParameters(String value)
       / A collection of strings representing the parameters.
       
      repeated string parameters = 3;
      Parameters:
      value - The parameters to add.
      Returns:
      This builder for chaining.
    • addAllParameters

      public Spec.ProtoStepValue.Builder addAllParameters(Iterable<String> values)
       / A collection of strings representing the parameters.
       
      repeated string parameters = 3;
      Parameters:
      values - The parameters to add.
      Returns:
      This builder for chaining.
    • clearParameters

      public Spec.ProtoStepValue.Builder clearParameters()
       / A collection of strings representing the parameters.
       
      repeated string parameters = 3;
      Returns:
      This builder for chaining.
    • addParametersBytes

      public Spec.ProtoStepValue.Builder addParametersBytes(com.google.protobuf.ByteString value)
       / A collection of strings representing the parameters.
       
      repeated string parameters = 3;
      Parameters:
      value - The bytes of the parameters to add.
      Returns:
      This builder for chaining.