Package gauge.messages
Class Messages.CacheFileRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Messages.CacheFileRequest.Builder>
gauge.messages.Messages.CacheFileRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Messages.CacheFileRequestOrBuilder,Cloneable
- Enclosing class:
- Messages.CacheFileRequest
public static final class Messages.CacheFileRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Messages.CacheFileRequest.Builder>
implements Messages.CacheFileRequestOrBuilder
/ Request for caching a file. / Gauge sends this request when running in LSP mode, / so runner can cache file contents present on the client(an editor).Protobuf type
gauge.messages.CacheFileRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()/ File content of the file to be cached/ File path of the file to be cached/ Specifies if the file is closed/ Specifies the status of the file/ File content of the file to be cachedcom.google.protobuf.ByteString/ File content of the file to be cachedstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor/ File path of the file to be cachedcom.google.protobuf.ByteString/ File path of the file to be cachedboolean/ Specifies if the file is closed/ Specifies the status of the fileint/ Specifies the status of the fileprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setContent(String value) / File content of the file to be cachedsetContentBytes(com.google.protobuf.ByteString value) / File content of the file to be cachedsetFilePath(String value) / File path of the file to be cachedsetFilePathBytes(com.google.protobuf.ByteString value) / File path of the file to be cachedsetIsClosed(boolean value) / Specifies if the file is closed/ Specifies the status of the filesetStatusValue(int value) / Specifies the status of the 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.CacheFileRequest.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.CacheFileRequest.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.CacheFileRequest.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.CacheFileRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Messages.CacheFileRequest.Builder>
-
mergeFrom
public Messages.CacheFileRequest.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.CacheFileRequest.Builder>- Throws:
IOException
-
getContent
/ File content of the file to be cached
string content = 1;- Specified by:
getContentin interfaceMessages.CacheFileRequestOrBuilder- Returns:
- The content.
-
getContentBytes
public com.google.protobuf.ByteString getContentBytes()/ File content of the file to be cached
string content = 1;- Specified by:
getContentBytesin interfaceMessages.CacheFileRequestOrBuilder- Returns:
- The bytes for content.
-
setContent
/ File content of the file to be cached
string content = 1;- Parameters:
value- The content to set.- Returns:
- This builder for chaining.
-
clearContent
/ File content of the file to be cached
string content = 1;- Returns:
- This builder for chaining.
-
setContentBytes
/ File content of the file to be cached
string content = 1;- Parameters:
value- The bytes for content to set.- Returns:
- This builder for chaining.
-
getFilePath
/ File path of the file to be cached
string filePath = 2;- Specified by:
getFilePathin interfaceMessages.CacheFileRequestOrBuilder- Returns:
- The filePath.
-
getFilePathBytes
public com.google.protobuf.ByteString getFilePathBytes()/ File path of the file to be cached
string filePath = 2;- Specified by:
getFilePathBytesin interfaceMessages.CacheFileRequestOrBuilder- Returns:
- The bytes for filePath.
-
setFilePath
/ File path of the file to be cached
string filePath = 2;- Parameters:
value- The filePath to set.- Returns:
- This builder for chaining.
-
clearFilePath
/ File path of the file to be cached
string filePath = 2;- Returns:
- This builder for chaining.
-
setFilePathBytes
/ File path of the file to be cached
string filePath = 2;- Parameters:
value- The bytes for filePath to set.- Returns:
- This builder for chaining.
-
getIsClosed
public boolean getIsClosed()/ Specifies if the file is closed
bool isClosed = 3;- Specified by:
getIsClosedin interfaceMessages.CacheFileRequestOrBuilder- Returns:
- The isClosed.
-
setIsClosed
/ Specifies if the file is closed
bool isClosed = 3;- Parameters:
value- The isClosed to set.- Returns:
- This builder for chaining.
-
clearIsClosed
/ Specifies if the file is closed
bool isClosed = 3;- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()/ Specifies the status of the file
.gauge.messages.CacheFileRequest.FileStatus status = 4;- Specified by:
getStatusValuein interfaceMessages.CacheFileRequestOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
/ Specifies the status of the file
.gauge.messages.CacheFileRequest.FileStatus status = 4;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
/ Specifies the status of the file
.gauge.messages.CacheFileRequest.FileStatus status = 4;- Specified by:
getStatusin interfaceMessages.CacheFileRequestOrBuilder- Returns:
- The status.
-
setStatus
/ Specifies the status of the file
.gauge.messages.CacheFileRequest.FileStatus status = 4;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
/ Specifies the status of the file
.gauge.messages.CacheFileRequest.FileStatus status = 4;- Returns:
- This builder for chaining.
-