Class Spec.Parameter.Builder

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

public static final class Spec.Parameter.Builder extends com.google.protobuf.GeneratedMessage.Builder<Spec.Parameter.Builder> implements Spec.ParameterOrBuilder
 / A proto object representing Fragment.
 
Protobuf type gauge.messages.Parameter
  • 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.Parameter.Builder>
    • clear

      public Spec.Parameter.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.Parameter.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.Parameter.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Spec.Parameter.Builder mergeFrom(Spec.Parameter other)
    • isInitialized

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

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

      public int getParameterTypeValue()
       / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
       
      .gauge.messages.Parameter.ParameterType parameterType = 1;
      Specified by:
      getParameterTypeValue in interface Spec.ParameterOrBuilder
      Returns:
      The enum numeric value on the wire for parameterType.
    • setParameterTypeValue

      public Spec.Parameter.Builder setParameterTypeValue(int value)
       / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
       
      .gauge.messages.Parameter.ParameterType parameterType = 1;
      Parameters:
      value - The enum numeric value on the wire for parameterType to set.
      Returns:
      This builder for chaining.
    • getParameterType

      public Spec.Parameter.ParameterType getParameterType()
       / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
       
      .gauge.messages.Parameter.ParameterType parameterType = 1;
      Specified by:
      getParameterType in interface Spec.ParameterOrBuilder
      Returns:
      The parameterType.
    • setParameterType

      public Spec.Parameter.Builder setParameterType(Spec.Parameter.ParameterType value)
       / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
       
      .gauge.messages.Parameter.ParameterType parameterType = 1;
      Parameters:
      value - The parameterType to set.
      Returns:
      This builder for chaining.
    • clearParameterType

      public Spec.Parameter.Builder clearParameterType()
       / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
       
      .gauge.messages.Parameter.ParameterType parameterType = 1;
      Returns:
      This builder for chaining.
    • getValue

      public String getValue()
       / Holds the value of the parameter
       
      string value = 2;
      Specified by:
      getValue in interface Spec.ParameterOrBuilder
      Returns:
      The value.
    • getValueBytes

      public com.google.protobuf.ByteString getValueBytes()
       / Holds the value of the parameter
       
      string value = 2;
      Specified by:
      getValueBytes in interface Spec.ParameterOrBuilder
      Returns:
      The bytes for value.
    • setValue

      public Spec.Parameter.Builder setValue(String value)
       / Holds the value of the parameter
       
      string value = 2;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public Spec.Parameter.Builder clearValue()
       / Holds the value of the parameter
       
      string value = 2;
      Returns:
      This builder for chaining.
    • setValueBytes

      public Spec.Parameter.Builder setValueBytes(com.google.protobuf.ByteString value)
       / Holds the value of the parameter
       
      string value = 2;
      Parameters:
      value - The bytes for value to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       / Holds the name of the parameter, used as Key to lookup the value.
       
      string name = 3;
      Specified by:
      getName in interface Spec.ParameterOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       / Holds the name of the parameter, used as Key to lookup the value.
       
      string name = 3;
      Specified by:
      getNameBytes in interface Spec.ParameterOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Spec.Parameter.Builder setName(String value)
       / Holds the name of the parameter, used as Key to lookup the value.
       
      string name = 3;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Spec.Parameter.Builder clearName()
       / Holds the name of the parameter, used as Key to lookup the value.
       
      string name = 3;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Spec.Parameter.Builder setNameBytes(com.google.protobuf.ByteString value)
       / Holds the name of the parameter, used as Key to lookup the value.
       
      string name = 3;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasTable

      public boolean hasTable()
       / Holds the table value, if parameterType=Table or Special_Table
       
      .gauge.messages.ProtoTable table = 4;
      Specified by:
      hasTable in interface Spec.ParameterOrBuilder
      Returns:
      Whether the table field is set.
    • getTable

      public Spec.ProtoTable getTable()
       / Holds the table value, if parameterType=Table or Special_Table
       
      .gauge.messages.ProtoTable table = 4;
      Specified by:
      getTable in interface Spec.ParameterOrBuilder
      Returns:
      The table.
    • setTable

      public Spec.Parameter.Builder setTable(Spec.ProtoTable value)
       / Holds the table value, if parameterType=Table or Special_Table
       
      .gauge.messages.ProtoTable table = 4;
    • setTable

      public Spec.Parameter.Builder setTable(Spec.ProtoTable.Builder builderForValue)
       / Holds the table value, if parameterType=Table or Special_Table
       
      .gauge.messages.ProtoTable table = 4;
    • mergeTable

      public Spec.Parameter.Builder mergeTable(Spec.ProtoTable value)
       / Holds the table value, if parameterType=Table or Special_Table
       
      .gauge.messages.ProtoTable table = 4;
    • clearTable

      public Spec.Parameter.Builder clearTable()
       / Holds the table value, if parameterType=Table or Special_Table
       
      .gauge.messages.ProtoTable table = 4;
    • getTableBuilder

      public Spec.ProtoTable.Builder getTableBuilder()
       / Holds the table value, if parameterType=Table or Special_Table
       
      .gauge.messages.ProtoTable table = 4;
    • getTableOrBuilder

      public Spec.ProtoTableOrBuilder getTableOrBuilder()
       / Holds the table value, if parameterType=Table or Special_Table
       
      .gauge.messages.ProtoTable table = 4;
      Specified by:
      getTableOrBuilder in interface Spec.ParameterOrBuilder