Class Messages.RefactorResponse

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

public static final class Messages.RefactorResponse extends com.google.protobuf.GeneratedMessage implements Messages.RefactorResponseOrBuilder
 / Response of a RefactorRequest
 
Protobuf type gauge.messages.RefactorResponse
See Also:
  • Field Details

  • 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
    • getSuccess

      public boolean getSuccess()
       / Flag indicating the success of Refactor operation.
       
      bool success = 1;
      Specified by:
      getSuccess in interface Messages.RefactorResponseOrBuilder
      Returns:
      The success.
    • getError

      public String getError()
       / Error message, valid only if Refactor wasn't successful
       
      string error = 2;
      Specified by:
      getError in interface Messages.RefactorResponseOrBuilder
      Returns:
      The error.
    • getErrorBytes

      public com.google.protobuf.ByteString getErrorBytes()
       / Error message, valid only if Refactor wasn't successful
       
      string error = 2;
      Specified by:
      getErrorBytes in interface Messages.RefactorResponseOrBuilder
      Returns:
      The bytes for error.
    • getFilesChangedList

      public com.google.protobuf.ProtocolStringList getFilesChangedList()
       / List of files that were affected because of the refactoring.
       
      repeated string filesChanged = 3;
      Specified by:
      getFilesChangedList in interface Messages.RefactorResponseOrBuilder
      Returns:
      A list containing the filesChanged.
    • getFilesChangedCount

      public int getFilesChangedCount()
       / List of files that were affected because of the refactoring.
       
      repeated string filesChanged = 3;
      Specified by:
      getFilesChangedCount in interface Messages.RefactorResponseOrBuilder
      Returns:
      The count of filesChanged.
    • getFilesChanged

      public String getFilesChanged(int index)
       / List of files that were affected because of the refactoring.
       
      repeated string filesChanged = 3;
      Specified by:
      getFilesChanged in interface Messages.RefactorResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The filesChanged at the given index.
    • getFilesChangedBytes

      public com.google.protobuf.ByteString getFilesChangedBytes(int index)
       / List of files that were affected because of the refactoring.
       
      repeated string filesChanged = 3;
      Specified by:
      getFilesChangedBytes in interface Messages.RefactorResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the filesChanged at the given index.
    • getFileChangesList

      public List<Messages.FileChanges> getFileChangesList()
       / List of file changes to be made to successfully achieve refactoring.
       
      repeated .gauge.messages.FileChanges fileChanges = 4;
      Specified by:
      getFileChangesList in interface Messages.RefactorResponseOrBuilder
    • getFileChangesOrBuilderList

      public List<? extends Messages.FileChangesOrBuilder> getFileChangesOrBuilderList()
       / List of file changes to be made to successfully achieve refactoring.
       
      repeated .gauge.messages.FileChanges fileChanges = 4;
      Specified by:
      getFileChangesOrBuilderList in interface Messages.RefactorResponseOrBuilder
    • getFileChangesCount

      public int getFileChangesCount()
       / List of file changes to be made to successfully achieve refactoring.
       
      repeated .gauge.messages.FileChanges fileChanges = 4;
      Specified by:
      getFileChangesCount in interface Messages.RefactorResponseOrBuilder
    • getFileChanges

      public Messages.FileChanges getFileChanges(int index)
       / List of file changes to be made to successfully achieve refactoring.
       
      repeated .gauge.messages.FileChanges fileChanges = 4;
      Specified by:
      getFileChanges in interface Messages.RefactorResponseOrBuilder
    • getFileChangesOrBuilder

      public Messages.FileChangesOrBuilder getFileChangesOrBuilder(int index)
       / List of file changes to be made to successfully achieve refactoring.
       
      repeated .gauge.messages.FileChanges fileChanges = 4;
      Specified by:
      getFileChangesOrBuilder in interface Messages.RefactorResponseOrBuilder
    • 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.RefactorResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Messages.RefactorResponse 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.RefactorResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Messages.RefactorResponse getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Messages.RefactorResponse> 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.RefactorResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder