Class BuildEventStreamProtos.ConvenienceSymlink.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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,java.lang.Cloneable
- Enclosing class:
- BuildEventStreamProtos.ConvenienceSymlink
public static final class BuildEventStreamProtos.ConvenienceSymlink.Builder extends com.google.protobuf.GeneratedMessageV3.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 typebuild_event_stream.ConvenienceSymlink
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildEventStreamProtos.ConvenienceSymlink.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BuildEventStreamProtos.ConvenienceSymlinkbuild()BuildEventStreamProtos.ConvenienceSymlinkbuildPartial()BuildEventStreamProtos.ConvenienceSymlink.Builderclear()BuildEventStreamProtos.ConvenienceSymlink.BuilderclearAction()The operation we are performing on the symlink.BuildEventStreamProtos.ConvenienceSymlink.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BuildEventStreamProtos.ConvenienceSymlink.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BuildEventStreamProtos.ConvenienceSymlink.BuilderclearPath()The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary.BuildEventStreamProtos.ConvenienceSymlink.BuilderclearTarget()If action is CREATE, this is the target path that the symlink should point to.BuildEventStreamProtos.ConvenienceSymlink.Builderclone()BuildEventStreamProtos.ConvenienceSymlink.ActiongetAction()The operation we are performing on the symlink.intgetActionValue()The operation we are performing on the symlink.BuildEventStreamProtos.ConvenienceSymlinkgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetPath()The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary.com.google.protobuf.ByteStringgetPathBytes()The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary.java.lang.StringgetTarget()If action is CREATE, this is the target path that the symlink should point to.com.google.protobuf.ByteStringgetTargetBytes()If action is CREATE, this is the target path that the symlink should point to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BuildEventStreamProtos.ConvenienceSymlink.BuildermergeFrom(BuildEventStreamProtos.ConvenienceSymlink other)BuildEventStreamProtos.ConvenienceSymlink.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BuildEventStreamProtos.ConvenienceSymlink.BuildermergeFrom(com.google.protobuf.Message other)BuildEventStreamProtos.ConvenienceSymlink.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BuildEventStreamProtos.ConvenienceSymlink.BuildersetAction(BuildEventStreamProtos.ConvenienceSymlink.Action value)The operation we are performing on the symlink.BuildEventStreamProtos.ConvenienceSymlink.BuildersetActionValue(int value)The operation we are performing on the symlink.BuildEventStreamProtos.ConvenienceSymlink.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BuildEventStreamProtos.ConvenienceSymlink.BuildersetPath(java.lang.String value)The path of the symlink to be created or deleted, absolute or relative to the workspace, creating any directories necessary.BuildEventStreamProtos.ConvenienceSymlink.BuildersetPathBytes(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.BuildEventStreamProtos.ConvenienceSymlink.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)BuildEventStreamProtos.ConvenienceSymlink.BuildersetTarget(java.lang.String value)If action is CREATE, this is the target path that the symlink should point to.BuildEventStreamProtos.ConvenienceSymlink.BuildersetTargetBytes(com.google.protobuf.ByteString value)If action is CREATE, this is the target path that the symlink should point to.BuildEventStreamProtos.ConvenienceSymlink.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
-
getDefaultInstanceForType
public BuildEventStreamProtos.ConvenienceSymlink getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BuildEventStreamProtos.ConvenienceSymlink build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BuildEventStreamProtos.ConvenienceSymlink buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BuildEventStreamProtos.ConvenienceSymlink.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
-
setField
public BuildEventStreamProtos.ConvenienceSymlink.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
-
clearField
public BuildEventStreamProtos.ConvenienceSymlink.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
-
clearOneof
public BuildEventStreamProtos.ConvenienceSymlink.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
-
setRepeatedField
public BuildEventStreamProtos.ConvenienceSymlink.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
-
addRepeatedField
public BuildEventStreamProtos.ConvenienceSymlink.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.ConvenienceSymlink.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.GeneratedMessageV3.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
-
mergeFrom
public BuildEventStreamProtos.ConvenienceSymlink.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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:
java.io.IOException
-
getPath
public java.lang.String 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
public BuildEventStreamProtos.ConvenienceSymlink.Builder setPath(java.lang.String 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 path to set.- Returns:
- This builder for chaining.
-
clearPath
public BuildEventStreamProtos.ConvenienceSymlink.Builder 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
public BuildEventStreamProtos.ConvenienceSymlink.Builder setActionValue(int value)
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
public BuildEventStreamProtos.ConvenienceSymlink.Action 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
public BuildEventStreamProtos.ConvenienceSymlink.Builder clearAction()
The operation we are performing on the symlink.
.build_event_stream.ConvenienceSymlink.Action action = 2;- Returns:
- This builder for chaining.
-
getTarget
public java.lang.String getTarget()
If action is CREATE, this is the target path that the symlink should point to. If the path points underneath the output base, it is relative to the output base; otherwise it is absolute. 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 that the symlink should point to. If the path points underneath the output base, it is relative to the output base; otherwise it is absolute. If action is DELETE, this field is not set.
string target = 3;- Specified by:
getTargetBytesin interfaceBuildEventStreamProtos.ConvenienceSymlinkOrBuilder- Returns:
- The bytes for target.
-
setTarget
public BuildEventStreamProtos.ConvenienceSymlink.Builder setTarget(java.lang.String value)
If action is CREATE, this is the target path that the symlink should point to. If the path points underneath the output base, it is relative to the output base; otherwise it is absolute. If action is DELETE, this field is not set.
string target = 3;- Parameters:
value- The target to set.- Returns:
- This builder for chaining.
-
clearTarget
public BuildEventStreamProtos.ConvenienceSymlink.Builder clearTarget()
If action is CREATE, this is the target path that the symlink should point to. If the path points underneath the output base, it is relative to the output base; otherwise it is absolute. 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 that the symlink should point to. If the path points underneath the output base, it is relative to the output base; otherwise it is absolute. 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.
-
setUnknownFields
public final BuildEventStreamProtos.ConvenienceSymlink.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
-
mergeUnknownFields
public final BuildEventStreamProtos.ConvenienceSymlink.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
-
-