Class BuildEventStreamProtos.ConvenienceSymlink.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.ConvenienceSymlink.Builder
- All Implemented Interfaces:
BuildEventStreamProtos.ConvenienceSymlinkOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildEventStreamProtos.ConvenienceSymlink
public static final class BuildEventStreamProtos.ConvenienceSymlink.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
implements BuildEventStreamProtos.ConvenienceSymlinkOrBuilder
The message that contains what type of action to perform on a given path and target of a symlink.Protobuf type
build_event_stream.ConvenienceSymlink-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The operation we are performing on the symlink.The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary.If action is CREATE, this is the target path (relative to the output base) that the symlink should point to.The operation we are performing on the symlink.intThe operation we are performing on the symlink.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPath()The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary.com.google.protobuf.ByteStringThe path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary.If action is CREATE, this is the target path (relative to the output base) that the symlink should point to.com.google.protobuf.ByteStringIf action is CREATE, this is the target path (relative to the output base) that the symlink should point to.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The operation we are performing on the symlink.setActionValue(int value) The operation we are performing on the symlink.The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary.setPathBytes(com.google.protobuf.ByteString value) The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary.If action is CREATE, this is the target path (relative to the output base) that the symlink should point to.setTargetBytes(com.google.protobuf.ByteString value) If action is CREATE, this is the target path (relative to the output base) that the symlink should point to.Methods 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<BuildEventStreamProtos.ConvenienceSymlink.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<BuildEventStreamProtos.ConvenienceSymlink.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<BuildEventStreamProtos.ConvenienceSymlink.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
public BuildEventStreamProtos.ConvenienceSymlink.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
-
mergeFrom
public BuildEventStreamProtos.ConvenienceSymlink.Builder mergeFrom(BuildEventStreamProtos.ConvenienceSymlink other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
-
mergeFrom
public BuildEventStreamProtos.ConvenienceSymlink.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<BuildEventStreamProtos.ConvenienceSymlink.Builder>- Throws:
IOException
-
getPath
The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary. If a symlink already exists at that location, then it should be replaced by a symlink pointing to the new target.
string path = 1;- Specified by:
getPathin interfaceBuildEventStreamProtos.ConvenienceSymlinkOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary. If a symlink already exists at that location, then it should be replaced by a symlink pointing to the new target.
string path = 1;- Specified by:
getPathBytesin interfaceBuildEventStreamProtos.ConvenienceSymlinkOrBuilder- Returns:
- The bytes for path.
-
setPath
The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary. If a symlink already exists at that location, then it should be replaced by a symlink pointing to the new target.
string path = 1;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary. If a symlink already exists at that location, then it should be replaced by a symlink pointing to the new target.
string path = 1;- Returns:
- This builder for chaining.
-
setPathBytes
public BuildEventStreamProtos.ConvenienceSymlink.Builder setPathBytes(com.google.protobuf.ByteString value) The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary. If a symlink already exists at that location, then it should be replaced by a symlink pointing to the new target.
string path = 1;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
getActionValue
public int getActionValue()The operation we are performing on the symlink.
.build_event_stream.ConvenienceSymlink.Action action = 2;- Specified by:
getActionValuein interfaceBuildEventStreamProtos.ConvenienceSymlinkOrBuilder- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
The operation we are performing on the symlink.
.build_event_stream.ConvenienceSymlink.Action action = 2;- Parameters:
value- The enum numeric value on the wire for action to set.- Returns:
- This builder for chaining.
-
getAction
The operation we are performing on the symlink.
.build_event_stream.ConvenienceSymlink.Action action = 2;- Specified by:
getActionin interfaceBuildEventStreamProtos.ConvenienceSymlinkOrBuilder- Returns:
- The action.
-
setAction
public BuildEventStreamProtos.ConvenienceSymlink.Builder setAction(BuildEventStreamProtos.ConvenienceSymlink.Action value) The operation we are performing on the symlink.
.build_event_stream.ConvenienceSymlink.Action action = 2;- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
clearAction
The operation we are performing on the symlink.
.build_event_stream.ConvenienceSymlink.Action action = 2;- Returns:
- This builder for chaining.
-
getTarget
If action is CREATE, this is the target path (relative to the output base) that the symlink should point to. If action is DELETE, this field is not set.
string target = 3;- Specified by:
getTargetin interfaceBuildEventStreamProtos.ConvenienceSymlinkOrBuilder- Returns:
- The target.
-
getTargetBytes
public com.google.protobuf.ByteString getTargetBytes()If action is CREATE, this is the target path (relative to the output base) that the symlink should point to. If action is DELETE, this field is not set.
string target = 3;- Specified by:
getTargetBytesin interfaceBuildEventStreamProtos.ConvenienceSymlinkOrBuilder- Returns:
- The bytes for target.
-
setTarget
If action is CREATE, this is the target path (relative to the output base) that the symlink should point to. If action is DELETE, this field is not set.
string target = 3;- Parameters:
value- The target to set.- Returns:
- This builder for chaining.
-
clearTarget
If action is CREATE, this is the target path (relative to the output base) that the symlink should point to. If action is DELETE, this field is not set.
string target = 3;- Returns:
- This builder for chaining.
-
setTargetBytes
public BuildEventStreamProtos.ConvenienceSymlink.Builder setTargetBytes(com.google.protobuf.ByteString value) If action is CREATE, this is the target path (relative to the output base) that the symlink should point to. If action is DELETE, this field is not set.
string target = 3;- Parameters:
value- The bytes for target to set.- Returns:
- This builder for chaining.
-