Class Messages.RefactorRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
gauge.messages.Messages.RefactorRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Messages.RefactorRequestOrBuilder, Serializable
Enclosing class:
Messages

public static final class Messages.RefactorRequest extends com.google.protobuf.GeneratedMessage implements Messages.RefactorRequestOrBuilder
 / Tells the runner to refactor the specified Step.
 
Protobuf type gauge.messages.RefactorRequest
See Also:
  • Field Details

    • OLDSTEPVALUE_FIELD_NUMBER

      public static final int OLDSTEPVALUE_FIELD_NUMBER
      See Also:
    • NEWSTEPVALUE_FIELD_NUMBER

      public static final int NEWSTEPVALUE_FIELD_NUMBER
      See Also:
    • PARAMPOSITIONS_FIELD_NUMBER

      public static final int PARAMPOSITIONS_FIELD_NUMBER
      See Also:
    • SAVECHANGES_FIELD_NUMBER

      public static final int SAVECHANGES_FIELD_NUMBER
      See Also:
  • 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
    • hasOldStepValue

      public boolean hasOldStepValue()
       / Old value, used to lookup Step to refactor
       
      .gauge.messages.ProtoStepValue oldStepValue = 1;
      Specified by:
      hasOldStepValue in interface Messages.RefactorRequestOrBuilder
      Returns:
      Whether the oldStepValue field is set.
    • getOldStepValue

      public Spec.ProtoStepValue getOldStepValue()
       / Old value, used to lookup Step to refactor
       
      .gauge.messages.ProtoStepValue oldStepValue = 1;
      Specified by:
      getOldStepValue in interface Messages.RefactorRequestOrBuilder
      Returns:
      The oldStepValue.
    • getOldStepValueOrBuilder

      public Spec.ProtoStepValueOrBuilder getOldStepValueOrBuilder()
       / Old value, used to lookup Step to refactor
       
      .gauge.messages.ProtoStepValue oldStepValue = 1;
      Specified by:
      getOldStepValueOrBuilder in interface Messages.RefactorRequestOrBuilder
    • hasNewStepValue

      public boolean hasNewStepValue()
       / New value, the to-be value of Step being refactored.
       
      .gauge.messages.ProtoStepValue newStepValue = 2;
      Specified by:
      hasNewStepValue in interface Messages.RefactorRequestOrBuilder
      Returns:
      Whether the newStepValue field is set.
    • getNewStepValue

      public Spec.ProtoStepValue getNewStepValue()
       / New value, the to-be value of Step being refactored.
       
      .gauge.messages.ProtoStepValue newStepValue = 2;
      Specified by:
      getNewStepValue in interface Messages.RefactorRequestOrBuilder
      Returns:
      The newStepValue.
    • getNewStepValueOrBuilder

      public Spec.ProtoStepValueOrBuilder getNewStepValueOrBuilder()
       / New value, the to-be value of Step being refactored.
       
      .gauge.messages.ProtoStepValue newStepValue = 2;
      Specified by:
      getNewStepValueOrBuilder in interface Messages.RefactorRequestOrBuilder
    • getParamPositionsList

      public List<Messages.ParameterPosition> getParamPositionsList()
       / Holds parameter positions of all parameters. Contains old and new parameter positions.
       
      repeated .gauge.messages.ParameterPosition paramPositions = 3;
      Specified by:
      getParamPositionsList in interface Messages.RefactorRequestOrBuilder
    • getParamPositionsOrBuilderList

      public List<? extends Messages.ParameterPositionOrBuilder> getParamPositionsOrBuilderList()
       / Holds parameter positions of all parameters. Contains old and new parameter positions.
       
      repeated .gauge.messages.ParameterPosition paramPositions = 3;
      Specified by:
      getParamPositionsOrBuilderList in interface Messages.RefactorRequestOrBuilder
    • getParamPositionsCount

      public int getParamPositionsCount()
       / Holds parameter positions of all parameters. Contains old and new parameter positions.
       
      repeated .gauge.messages.ParameterPosition paramPositions = 3;
      Specified by:
      getParamPositionsCount in interface Messages.RefactorRequestOrBuilder
    • getParamPositions

      public Messages.ParameterPosition getParamPositions(int index)
       / Holds parameter positions of all parameters. Contains old and new parameter positions.
       
      repeated .gauge.messages.ParameterPosition paramPositions = 3;
      Specified by:
      getParamPositions in interface Messages.RefactorRequestOrBuilder
    • getParamPositionsOrBuilder

      public Messages.ParameterPositionOrBuilder getParamPositionsOrBuilder(int index)
       / Holds parameter positions of all parameters. Contains old and new parameter positions.
       
      repeated .gauge.messages.ParameterPosition paramPositions = 3;
      Specified by:
      getParamPositionsOrBuilder in interface Messages.RefactorRequestOrBuilder
    • getSaveChanges

      public boolean getSaveChanges()
       / If set to true, the refactored files should be saved to the file system before returning the response.
       
      bool saveChanges = 4;
      Specified by:
      getSaveChanges in interface Messages.RefactorRequestOrBuilder
      Returns:
      The saveChanges.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Messages.RefactorRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Messages.RefactorRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Messages.RefactorRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Messages.RefactorRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Messages.RefactorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Messages.RefactorRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Messages.RefactorRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Messages.RefactorRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Messages.RefactorRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Messages.RefactorRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Messages.RefactorRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Messages.RefactorRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Messages.RefactorRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Messages.RefactorRequest.Builder newBuilder()
    • newBuilder

      public static Messages.RefactorRequest.Builder newBuilder(Messages.RefactorRequest prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Messages.RefactorRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Messages.RefactorRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Messages.RefactorRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<Messages.RefactorRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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