Package gauge.messages
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 RefactorRequestProtobuf type
gauge.messages.RefactorResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class/ Response of a RefactorRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Messages.RefactorResponsestatic final com.google.protobuf.Descriptors.DescriptorgetError()/ Error message, valid only if Refactor wasn't successfulcom.google.protobuf.ByteString/ Error message, valid only if Refactor wasn't successfulgetFileChanges(int index) / List of file changes to be made to successfully achieve refactoring.int/ List of file changes to be made to successfully achieve refactoring./ List of file changes to be made to successfully achieve refactoring.getFileChangesOrBuilder(int index) / List of file changes to be made to successfully achieve refactoring.List<? extends Messages.FileChangesOrBuilder>/ List of file changes to be made to successfully achieve refactoring.getFilesChanged(int index) / List of files that were affected because of the refactoring.com.google.protobuf.ByteStringgetFilesChangedBytes(int index) / List of files that were affected because of the refactoring.int/ List of files that were affected because of the refactoring.com.google.protobuf.ProtocolStringList/ List of files that were affected because of the refactoring.com.google.protobuf.Parser<Messages.RefactorResponse>intboolean/ Flag indicating the success of Refactor operation.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Messages.RefactorResponse prototype) protected Messages.RefactorResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Messages.RefactorResponseparseDelimitedFrom(InputStream input) static Messages.RefactorResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Messages.RefactorResponseparseFrom(byte[] data) static Messages.RefactorResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Messages.RefactorResponseparseFrom(com.google.protobuf.ByteString data) static Messages.RefactorResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Messages.RefactorResponseparseFrom(com.google.protobuf.CodedInputStream input) static Messages.RefactorResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Messages.RefactorResponseparseFrom(InputStream input) static Messages.RefactorResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Messages.RefactorResponseparseFrom(ByteBuffer data) static Messages.RefactorResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Messages.RefactorResponse>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SUCCESS_FIELD_NUMBER
public static final int SUCCESS_FIELD_NUMBER- See Also:
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER- See Also:
-
FILESCHANGED_FIELD_NUMBER
public static final int FILESCHANGED_FIELD_NUMBER- See Also:
-
FILECHANGES_FIELD_NUMBER
public static final int FILECHANGES_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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getSuccess
public boolean getSuccess()/ Flag indicating the success of Refactor operation.
bool success = 1;- Specified by:
getSuccessin interfaceMessages.RefactorResponseOrBuilder- Returns:
- The success.
-
getError
/ Error message, valid only if Refactor wasn't successful
string error = 2;- Specified by:
getErrorin interfaceMessages.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:
getErrorBytesin interfaceMessages.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:
getFilesChangedListin interfaceMessages.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:
getFilesChangedCountin interfaceMessages.RefactorResponseOrBuilder- Returns:
- The count of filesChanged.
-
getFilesChanged
/ List of files that were affected because of the refactoring.
repeated string filesChanged = 3;- Specified by:
getFilesChangedin interfaceMessages.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:
getFilesChangedBytesin interfaceMessages.RefactorResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the filesChanged at the given index.
-
getFileChangesList
/ List of file changes to be made to successfully achieve refactoring.
repeated .gauge.messages.FileChanges fileChanges = 4;- Specified by:
getFileChangesListin interfaceMessages.RefactorResponseOrBuilder
-
getFileChangesOrBuilderList
/ List of file changes to be made to successfully achieve refactoring.
repeated .gauge.messages.FileChanges fileChanges = 4;- Specified by:
getFileChangesOrBuilderListin interfaceMessages.RefactorResponseOrBuilder
-
getFileChangesCount
public int getFileChangesCount()/ List of file changes to be made to successfully achieve refactoring.
repeated .gauge.messages.FileChanges fileChanges = 4;- Specified by:
getFileChangesCountin interfaceMessages.RefactorResponseOrBuilder
-
getFileChanges
/ List of file changes to be made to successfully achieve refactoring.
repeated .gauge.messages.FileChanges fileChanges = 4;- Specified by:
getFileChangesin interfaceMessages.RefactorResponseOrBuilder
-
getFileChangesOrBuilder
/ List of file changes to be made to successfully achieve refactoring.
repeated .gauge.messages.FileChanges fileChanges = 4;- Specified by:
getFileChangesOrBuilderin interfaceMessages.RefactorResponseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Messages.RefactorResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Messages.RefactorResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-