Class Messages.ExecutionArg.Builder

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

public static final class Messages.ExecutionArg.Builder extends com.google.protobuf.GeneratedMessage.Builder<Messages.ExecutionArg.Builder> implements Messages.ExecutionArgOrBuilder
 / Contains command line arguments which passed by user during execution.
 
Protobuf type gauge.messages.ExecutionArg
  • 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<Messages.ExecutionArg.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<Messages.ExecutionArg.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<Messages.ExecutionArg.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Messages.ExecutionArg.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<Messages.ExecutionArg.Builder>
      Throws:
      IOException
    • getFlagName

      public String getFlagName()
       / Holds the flag name passed from command line.
       
      string flagName = 1;
      Specified by:
      getFlagName in interface Messages.ExecutionArgOrBuilder
      Returns:
      The flagName.
    • getFlagNameBytes

      public com.google.protobuf.ByteString getFlagNameBytes()
       / Holds the flag name passed from command line.
       
      string flagName = 1;
      Specified by:
      getFlagNameBytes in interface Messages.ExecutionArgOrBuilder
      Returns:
      The bytes for flagName.
    • setFlagName

      public Messages.ExecutionArg.Builder setFlagName(String value)
       / Holds the flag name passed from command line.
       
      string flagName = 1;
      Parameters:
      value - The flagName to set.
      Returns:
      This builder for chaining.
    • clearFlagName

      public Messages.ExecutionArg.Builder clearFlagName()
       / Holds the flag name passed from command line.
       
      string flagName = 1;
      Returns:
      This builder for chaining.
    • setFlagNameBytes

      public Messages.ExecutionArg.Builder setFlagNameBytes(com.google.protobuf.ByteString value)
       / Holds the flag name passed from command line.
       
      string flagName = 1;
      Parameters:
      value - The bytes for flagName to set.
      Returns:
      This builder for chaining.
    • getFlagValueList

      public com.google.protobuf.ProtocolStringList getFlagValueList()
       / Holds the flag value passed from command line.
       
      repeated string flagValue = 2;
      Specified by:
      getFlagValueList in interface Messages.ExecutionArgOrBuilder
      Returns:
      A list containing the flagValue.
    • getFlagValueCount

      public int getFlagValueCount()
       / Holds the flag value passed from command line.
       
      repeated string flagValue = 2;
      Specified by:
      getFlagValueCount in interface Messages.ExecutionArgOrBuilder
      Returns:
      The count of flagValue.
    • getFlagValue

      public String getFlagValue(int index)
       / Holds the flag value passed from command line.
       
      repeated string flagValue = 2;
      Specified by:
      getFlagValue in interface Messages.ExecutionArgOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The flagValue at the given index.
    • getFlagValueBytes

      public com.google.protobuf.ByteString getFlagValueBytes(int index)
       / Holds the flag value passed from command line.
       
      repeated string flagValue = 2;
      Specified by:
      getFlagValueBytes in interface Messages.ExecutionArgOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the flagValue at the given index.
    • setFlagValue

      public Messages.ExecutionArg.Builder setFlagValue(int index, String value)
       / Holds the flag value passed from command line.
       
      repeated string flagValue = 2;
      Parameters:
      index - The index to set the value at.
      value - The flagValue to set.
      Returns:
      This builder for chaining.
    • addFlagValue

      public Messages.ExecutionArg.Builder addFlagValue(String value)
       / Holds the flag value passed from command line.
       
      repeated string flagValue = 2;
      Parameters:
      value - The flagValue to add.
      Returns:
      This builder for chaining.
    • addAllFlagValue

      public Messages.ExecutionArg.Builder addAllFlagValue(Iterable<String> values)
       / Holds the flag value passed from command line.
       
      repeated string flagValue = 2;
      Parameters:
      values - The flagValue to add.
      Returns:
      This builder for chaining.
    • clearFlagValue

      public Messages.ExecutionArg.Builder clearFlagValue()
       / Holds the flag value passed from command line.
       
      repeated string flagValue = 2;
      Returns:
      This builder for chaining.
    • addFlagValueBytes

      public Messages.ExecutionArg.Builder addFlagValueBytes(com.google.protobuf.ByteString value)
       / Holds the flag value passed from command line.
       
      repeated string flagValue = 2;
      Parameters:
      value - The bytes of the flagValue to add.
      Returns:
      This builder for chaining.