Package gauge.messages
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class/ Tells the runner to refactor the specified Step.Nested 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.RefactorRequeststatic final com.google.protobuf.Descriptors.Descriptor/ New value, the to-be value of Step being refactored./ New value, the to-be value of Step being refactored./ Old value, used to lookup Step to refactor/ Old value, used to lookup Step to refactorgetParamPositions(int index) / Holds parameter positions of all parameters.int/ Holds parameter positions of all parameters./ Holds parameter positions of all parameters.getParamPositionsOrBuilder(int index) / Holds parameter positions of all parameters.List<? extends Messages.ParameterPositionOrBuilder>/ Holds parameter positions of all parameters.com.google.protobuf.Parser<Messages.RefactorRequest>boolean/ If set to true, the refactored files should be saved to the file system before returning the response.intinthashCode()boolean/ New value, the to-be value of Step being refactored.boolean/ Old value, used to lookup Step to refactorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Messages.RefactorRequest prototype) protected Messages.RefactorRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Messages.RefactorRequestparseDelimitedFrom(InputStream input) static Messages.RefactorRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Messages.RefactorRequestparseFrom(byte[] data) static Messages.RefactorRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Messages.RefactorRequestparseFrom(com.google.protobuf.ByteString data) static Messages.RefactorRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Messages.RefactorRequestparseFrom(com.google.protobuf.CodedInputStream input) static Messages.RefactorRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Messages.RefactorRequestparseFrom(InputStream input) static Messages.RefactorRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Messages.RefactorRequestparseFrom(ByteBuffer data) static Messages.RefactorRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Messages.RefactorRequest>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
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasOldStepValue
public boolean hasOldStepValue()/ Old value, used to lookup Step to refactor
.gauge.messages.ProtoStepValue oldStepValue = 1;- Specified by:
hasOldStepValuein interfaceMessages.RefactorRequestOrBuilder- Returns:
- Whether the oldStepValue field is set.
-
getOldStepValue
/ Old value, used to lookup Step to refactor
.gauge.messages.ProtoStepValue oldStepValue = 1;- Specified by:
getOldStepValuein interfaceMessages.RefactorRequestOrBuilder- Returns:
- The oldStepValue.
-
getOldStepValueOrBuilder
/ Old value, used to lookup Step to refactor
.gauge.messages.ProtoStepValue oldStepValue = 1;- Specified by:
getOldStepValueOrBuilderin interfaceMessages.RefactorRequestOrBuilder
-
hasNewStepValue
public boolean hasNewStepValue()/ New value, the to-be value of Step being refactored.
.gauge.messages.ProtoStepValue newStepValue = 2;- Specified by:
hasNewStepValuein interfaceMessages.RefactorRequestOrBuilder- Returns:
- Whether the newStepValue field is set.
-
getNewStepValue
/ New value, the to-be value of Step being refactored.
.gauge.messages.ProtoStepValue newStepValue = 2;- Specified by:
getNewStepValuein interfaceMessages.RefactorRequestOrBuilder- Returns:
- The newStepValue.
-
getNewStepValueOrBuilder
/ New value, the to-be value of Step being refactored.
.gauge.messages.ProtoStepValue newStepValue = 2;- Specified by:
getNewStepValueOrBuilderin interfaceMessages.RefactorRequestOrBuilder
-
getParamPositionsList
/ Holds parameter positions of all parameters. Contains old and new parameter positions.
repeated .gauge.messages.ParameterPosition paramPositions = 3;- Specified by:
getParamPositionsListin interfaceMessages.RefactorRequestOrBuilder
-
getParamPositionsOrBuilderList
/ Holds parameter positions of all parameters. Contains old and new parameter positions.
repeated .gauge.messages.ParameterPosition paramPositions = 3;- Specified by:
getParamPositionsOrBuilderListin interfaceMessages.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:
getParamPositionsCountin interfaceMessages.RefactorRequestOrBuilder
-
getParamPositions
/ Holds parameter positions of all parameters. Contains old and new parameter positions.
repeated .gauge.messages.ParameterPosition paramPositions = 3;- Specified by:
getParamPositionsin interfaceMessages.RefactorRequestOrBuilder
-
getParamPositionsOrBuilder
/ Holds parameter positions of all parameters. Contains old and new parameter positions.
repeated .gauge.messages.ParameterPosition paramPositions = 3;- Specified by:
getParamPositionsOrBuilderin interfaceMessages.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:
getSaveChangesin interfaceMessages.RefactorRequestOrBuilder- Returns:
- The saveChanges.
-
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.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
- Throws:
IOException
-
parseFrom
public static Messages.RefactorRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- 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.RefactorRequest.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
-