Class Messages.SpecInfo.Builder

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

public static final class Messages.SpecInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<Messages.SpecInfo.Builder> implements Messages.SpecInfoOrBuilder
 / Contains details of the Spec execution.
 
Protobuf type gauge.messages.SpecInfo
  • 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.SpecInfo.Builder>
    • clear

      public Messages.SpecInfo.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.SpecInfo.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.SpecInfo.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Messages.SpecInfo.Builder mergeFrom(Messages.SpecInfo other)
    • isInitialized

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

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

      public String getName()
       / Name of the current Spec being executed.
       
      string name = 1;
      Specified by:
      getName in interface Messages.SpecInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       / Name of the current Spec being executed.
       
      string name = 1;
      Specified by:
      getNameBytes in interface Messages.SpecInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Messages.SpecInfo.Builder setName(String value)
       / Name of the current Spec being executed.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Messages.SpecInfo.Builder clearName()
       / Name of the current Spec being executed.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Messages.SpecInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       / Name of the current Spec being executed.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getFileName

      public String getFileName()
       / Full File path containing the current Spec being executed.
       
      string fileName = 2;
      Specified by:
      getFileName in interface Messages.SpecInfoOrBuilder
      Returns:
      The fileName.
    • getFileNameBytes

      public com.google.protobuf.ByteString getFileNameBytes()
       / Full File path containing the current Spec being executed.
       
      string fileName = 2;
      Specified by:
      getFileNameBytes in interface Messages.SpecInfoOrBuilder
      Returns:
      The bytes for fileName.
    • setFileName

      public Messages.SpecInfo.Builder setFileName(String value)
       / Full File path containing the current Spec being executed.
       
      string fileName = 2;
      Parameters:
      value - The fileName to set.
      Returns:
      This builder for chaining.
    • clearFileName

      public Messages.SpecInfo.Builder clearFileName()
       / Full File path containing the current Spec being executed.
       
      string fileName = 2;
      Returns:
      This builder for chaining.
    • setFileNameBytes

      public Messages.SpecInfo.Builder setFileNameBytes(com.google.protobuf.ByteString value)
       / Full File path containing the current Spec being executed.
       
      string fileName = 2;
      Parameters:
      value - The bytes for fileName to set.
      Returns:
      This builder for chaining.
    • getIsFailed

      public boolean getIsFailed()
       / Flag to indicate if the current Spec execution failed.
       
      bool isFailed = 3;
      Specified by:
      getIsFailed in interface Messages.SpecInfoOrBuilder
      Returns:
      The isFailed.
    • setIsFailed

      public Messages.SpecInfo.Builder setIsFailed(boolean value)
       / Flag to indicate if the current Spec execution failed.
       
      bool isFailed = 3;
      Parameters:
      value - The isFailed to set.
      Returns:
      This builder for chaining.
    • clearIsFailed

      public Messages.SpecInfo.Builder clearIsFailed()
       / Flag to indicate if the current Spec execution failed.
       
      bool isFailed = 3;
      Returns:
      This builder for chaining.
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
       / Tags relevant to the current Spec execution.
       
      repeated string tags = 4;
      Specified by:
      getTagsList in interface Messages.SpecInfoOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
       / Tags relevant to the current Spec execution.
       
      repeated string tags = 4;
      Specified by:
      getTagsCount in interface Messages.SpecInfoOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
       / Tags relevant to the current Spec execution.
       
      repeated string tags = 4;
      Specified by:
      getTags in interface Messages.SpecInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes(int index)
       / Tags relevant to the current Spec execution.
       
      repeated string tags = 4;
      Specified by:
      getTagsBytes in interface Messages.SpecInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public Messages.SpecInfo.Builder setTags(int index, String value)
       / Tags relevant to the current Spec execution.
       
      repeated string tags = 4;
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

      public Messages.SpecInfo.Builder addTags(String value)
       / Tags relevant to the current Spec execution.
       
      repeated string tags = 4;
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

      public Messages.SpecInfo.Builder addAllTags(Iterable<String> values)
       / Tags relevant to the current Spec execution.
       
      repeated string tags = 4;
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

      public Messages.SpecInfo.Builder clearTags()
       / Tags relevant to the current Spec execution.
       
      repeated string tags = 4;
      Returns:
      This builder for chaining.
    • addTagsBytes

      public Messages.SpecInfo.Builder addTagsBytes(com.google.protobuf.ByteString value)
       / Tags relevant to the current Spec execution.
       
      repeated string tags = 4;
      Parameters:
      value - The bytes of the tags to add.
      Returns:
      This builder for chaining.