Package gauge.messages
Class Messages.FileDiff.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Messages.FileDiff.Builder>
gauge.messages.Messages.FileDiff.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Messages.FileDiffOrBuilder,Cloneable
- Enclosing class:
- Messages.FileDiff
public static final class Messages.FileDiff.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Messages.FileDiff.Builder>
implements Messages.FileDiffOrBuilder
/ Diffs to be applied to a fileProtobuf type
gauge.messages.FileDiff-
Method Summary
Modifier and TypeMethodDescriptionaddAllTextDiffs(Iterable<? extends Messages.TextDiff> values) / The diffs which need to be applied to this fileaddTextDiffs(int index, Messages.TextDiff value) / The diffs which need to be applied to this fileaddTextDiffs(int index, Messages.TextDiff.Builder builderForValue) / The diffs which need to be applied to this fileaddTextDiffs(Messages.TextDiff value) / The diffs which need to be applied to this fileaddTextDiffs(Messages.TextDiff.Builder builderForValue) / The diffs which need to be applied to this file/ The diffs which need to be applied to this fileaddTextDiffsBuilder(int index) / The diffs which need to be applied to this filebuild()clear()/ File Path where the new content needs to be put in/ The diffs which need to be applied to this filestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor/ File Path where the new content needs to be put incom.google.protobuf.ByteString/ File Path where the new content needs to be put ingetTextDiffs(int index) / The diffs which need to be applied to this filegetTextDiffsBuilder(int index) / The diffs which need to be applied to this file/ The diffs which need to be applied to this fileint/ The diffs which need to be applied to this file/ The diffs which need to be applied to this filegetTextDiffsOrBuilder(int index) / The diffs which need to be applied to this fileList<? extends Messages.TextDiffOrBuilder>/ The diffs which need to be applied to this fileprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Messages.FileDiff other) removeTextDiffs(int index) / The diffs which need to be applied to this filesetFilePath(String value) / File Path where the new content needs to be put insetFilePathBytes(com.google.protobuf.ByteString value) / File Path where the new content needs to be put insetTextDiffs(int index, Messages.TextDiff value) / The diffs which need to be applied to this filesetTextDiffs(int index, Messages.TextDiff.Builder builderForValue) / The diffs which need to be applied to this fileMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<Messages.FileDiff.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Messages.FileDiff.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Messages.FileDiff.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Messages.FileDiff.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Messages.FileDiff.Builder>
-
mergeFrom
public Messages.FileDiff.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Messages.FileDiff.Builder>- Throws:
IOException
-
getFilePath
/ File Path where the new content needs to be put in
string filePath = 1;- Specified by:
getFilePathin interfaceMessages.FileDiffOrBuilder- Returns:
- The filePath.
-
getFilePathBytes
public com.google.protobuf.ByteString getFilePathBytes()/ File Path where the new content needs to be put in
string filePath = 1;- Specified by:
getFilePathBytesin interfaceMessages.FileDiffOrBuilder- Returns:
- The bytes for filePath.
-
setFilePath
/ File Path where the new content needs to be put in
string filePath = 1;- Parameters:
value- The filePath to set.- Returns:
- This builder for chaining.
-
clearFilePath
/ File Path where the new content needs to be put in
string filePath = 1;- Returns:
- This builder for chaining.
-
setFilePathBytes
/ File Path where the new content needs to be put in
string filePath = 1;- Parameters:
value- The bytes for filePath to set.- Returns:
- This builder for chaining.
-
getTextDiffsList
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2;- Specified by:
getTextDiffsListin interfaceMessages.FileDiffOrBuilder
-
getTextDiffsCount
public int getTextDiffsCount()/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2;- Specified by:
getTextDiffsCountin interfaceMessages.FileDiffOrBuilder
-
getTextDiffs
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2;- Specified by:
getTextDiffsin interfaceMessages.FileDiffOrBuilder
-
setTextDiffs
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2; -
setTextDiffs
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2; -
addTextDiffs
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2; -
addTextDiffs
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2; -
addTextDiffs
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2; -
addTextDiffs
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2; -
addAllTextDiffs
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2; -
clearTextDiffs
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2; -
removeTextDiffs
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2; -
getTextDiffsBuilder
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2; -
getTextDiffsOrBuilder
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2;- Specified by:
getTextDiffsOrBuilderin interfaceMessages.FileDiffOrBuilder
-
getTextDiffsOrBuilderList
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2;- Specified by:
getTextDiffsOrBuilderListin interfaceMessages.FileDiffOrBuilder
-
addTextDiffsBuilder
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2; -
addTextDiffsBuilder
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2; -
getTextDiffsBuilderList
/ The diffs which need to be applied to this file
repeated .gauge.messages.TextDiff textDiffs = 2;
-