Class Ops.FileActionSymlink.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Ops.FileActionSymlink.Builder>
com.google.protobuf.GeneratedMessage.Builder<Ops.FileActionSymlink.Builder>
pb.Ops.FileActionSymlink.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Ops.FileActionSymlinkOrBuilder
- Enclosing class:
Ops.FileActionSymlink
public static final class Ops.FileActionSymlink.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Ops.FileActionSymlink.Builder>
implements Ops.FileActionSymlinkOrBuilder
Protobuf type
pb.FileActionSymlink
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
source path for the linkdestination path for the new file representing the linkoptional owner for the new fileoptional created time overridestatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
source path for the linkcom.google.protobuf.ByteString
source path for the linkdestination path for the new file representing the linkcom.google.protobuf.ByteString
destination path for the new file representing the linkgetOwner()
optional owner for the new fileoptional owner for the new fileoptional owner for the new filelong
optional created time overrideboolean
hasOwner()
optional owner for the new fileprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Ops.FileActionSymlink other) mergeOwner
(Ops.ChownOpt value) optional owner for the new filesetNewpath
(String value) source path for the linksetNewpathBytes
(com.google.protobuf.ByteString value) source path for the linksetOldpath
(String value) destination path for the new file representing the linksetOldpathBytes
(com.google.protobuf.ByteString value) destination path for the new file representing the linksetOwner
(Ops.ChownOpt value) optional owner for the new filesetOwner
(Ops.ChownOpt.Builder builderForValue) optional owner for the new filesetTimestamp
(long value) optional created time overrideMethods 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, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.FileActionSymlink.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.FileActionSymlink.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.FileActionSymlink.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Ops.FileActionSymlink.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.FileActionSymlink.Builder>
-
mergeFrom
public Ops.FileActionSymlink.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Ops.FileActionSymlink.Builder>
- Throws:
IOException
-
getOldpath
destination path for the new file representing the link
string oldpath = 1;
- Specified by:
getOldpath
in interfaceOps.FileActionSymlinkOrBuilder
- Returns:
- The oldpath.
-
getOldpathBytes
public com.google.protobuf.ByteString getOldpathBytes()destination path for the new file representing the link
string oldpath = 1;
- Specified by:
getOldpathBytes
in interfaceOps.FileActionSymlinkOrBuilder
- Returns:
- The bytes for oldpath.
-
setOldpath
destination path for the new file representing the link
string oldpath = 1;
- Parameters:
value
- The oldpath to set.- Returns:
- This builder for chaining.
-
clearOldpath
destination path for the new file representing the link
string oldpath = 1;
- Returns:
- This builder for chaining.
-
setOldpathBytes
destination path for the new file representing the link
string oldpath = 1;
- Parameters:
value
- The bytes for oldpath to set.- Returns:
- This builder for chaining.
-
getNewpath
source path for the link
string newpath = 2;
- Specified by:
getNewpath
in interfaceOps.FileActionSymlinkOrBuilder
- Returns:
- The newpath.
-
getNewpathBytes
public com.google.protobuf.ByteString getNewpathBytes()source path for the link
string newpath = 2;
- Specified by:
getNewpathBytes
in interfaceOps.FileActionSymlinkOrBuilder
- Returns:
- The bytes for newpath.
-
setNewpath
source path for the link
string newpath = 2;
- Parameters:
value
- The newpath to set.- Returns:
- This builder for chaining.
-
clearNewpath
source path for the link
string newpath = 2;
- Returns:
- This builder for chaining.
-
setNewpathBytes
source path for the link
string newpath = 2;
- Parameters:
value
- The bytes for newpath to set.- Returns:
- This builder for chaining.
-
hasOwner
public boolean hasOwner()optional owner for the new file
.pb.ChownOpt owner = 3;
- Specified by:
hasOwner
in interfaceOps.FileActionSymlinkOrBuilder
- Returns:
- Whether the owner field is set.
-
getOwner
optional owner for the new file
.pb.ChownOpt owner = 3;
- Specified by:
getOwner
in interfaceOps.FileActionSymlinkOrBuilder
- Returns:
- The owner.
-
setOwner
optional owner for the new file
.pb.ChownOpt owner = 3;
-
setOwner
optional owner for the new file
.pb.ChownOpt owner = 3;
-
mergeOwner
optional owner for the new file
.pb.ChownOpt owner = 3;
-
clearOwner
optional owner for the new file
.pb.ChownOpt owner = 3;
-
getOwnerBuilder
optional owner for the new file
.pb.ChownOpt owner = 3;
-
getOwnerOrBuilder
optional owner for the new file
.pb.ChownOpt owner = 3;
- Specified by:
getOwnerOrBuilder
in interfaceOps.FileActionSymlinkOrBuilder
-
getTimestamp
public long getTimestamp()optional created time override
int64 timestamp = 4;
- Specified by:
getTimestamp
in interfaceOps.FileActionSymlinkOrBuilder
- Returns:
- The timestamp.
-
setTimestamp
optional created time override
int64 timestamp = 4;
- Parameters:
value
- The timestamp to set.- Returns:
- This builder for chaining.
-
clearTimestamp
optional created time override
int64 timestamp = 4;
- Returns:
- This builder for chaining.
-