Class Ops.FileActionMkFile.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Ops.FileActionMkFile.Builder>
com.google.protobuf.GeneratedMessage.Builder<Ops.FileActionMkFile.Builder>
pb.Ops.FileActionMkFile.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Ops.FileActionMkFileOrBuilder
- Enclosing class:
Ops.FileActionMkFile
public static final class Ops.FileActionMkFile.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Ops.FileActionMkFile.Builder>
implements Ops.FileActionMkFileOrBuilder
Protobuf type
pb.FileActionMkFile
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
data is the new file contentspermission bitsoptional owner for the new filepath for the new fileoptional created time overridecom.google.protobuf.ByteString
getData()
data is the new file contentsstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
getMode()
permission bitsgetOwner()
optional owner for the new fileoptional owner for the new fileoptional owner for the new filegetPath()
path for the new filecom.google.protobuf.ByteString
path 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.FileActionMkFile other) mergeOwner
(Ops.ChownOpt value) optional owner for the new filesetData
(com.google.protobuf.ByteString value) data is the new file contentssetMode
(int value) permission bitssetOwner
(Ops.ChownOpt value) optional owner for the new filesetOwner
(Ops.ChownOpt.Builder builderForValue) optional owner for the new filepath for the new filesetPathBytes
(com.google.protobuf.ByteString value) path 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.FileActionMkFile.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.FileActionMkFile.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.FileActionMkFile.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.FileActionMkFile.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Ops.FileActionMkFile.Builder>
-
mergeFrom
public Ops.FileActionMkFile.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.FileActionMkFile.Builder>
- Throws:
IOException
-
getPath
path for the new file
string path = 1;
- Specified by:
getPath
in interfaceOps.FileActionMkFileOrBuilder
- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()path for the new file
string path = 1;
- Specified by:
getPathBytes
in interfaceOps.FileActionMkFileOrBuilder
- Returns:
- The bytes for path.
-
setPath
path for the new file
string path = 1;
- Parameters:
value
- The path to set.- Returns:
- This builder for chaining.
-
clearPath
path for the new file
string path = 1;
- Returns:
- This builder for chaining.
-
setPathBytes
path for the new file
string path = 1;
- Parameters:
value
- The bytes for path to set.- Returns:
- This builder for chaining.
-
getMode
public int getMode()permission bits
int32 mode = 2;
- Specified by:
getMode
in interfaceOps.FileActionMkFileOrBuilder
- Returns:
- The mode.
-
setMode
permission bits
int32 mode = 2;
- Parameters:
value
- The mode to set.- Returns:
- This builder for chaining.
-
clearMode
permission bits
int32 mode = 2;
- Returns:
- This builder for chaining.
-
getData
public com.google.protobuf.ByteString getData()data is the new file contents
bytes data = 3;
- Specified by:
getData
in interfaceOps.FileActionMkFileOrBuilder
- Returns:
- The data.
-
setData
data is the new file contents
bytes data = 3;
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
data is the new file contents
bytes data = 3;
- Returns:
- This builder for chaining.
-
hasOwner
public boolean hasOwner()optional owner for the new file
.pb.ChownOpt owner = 4;
- Specified by:
hasOwner
in interfaceOps.FileActionMkFileOrBuilder
- Returns:
- Whether the owner field is set.
-
getOwner
optional owner for the new file
.pb.ChownOpt owner = 4;
- Specified by:
getOwner
in interfaceOps.FileActionMkFileOrBuilder
- Returns:
- The owner.
-
setOwner
optional owner for the new file
.pb.ChownOpt owner = 4;
-
setOwner
optional owner for the new file
.pb.ChownOpt owner = 4;
-
mergeOwner
optional owner for the new file
.pb.ChownOpt owner = 4;
-
clearOwner
optional owner for the new file
.pb.ChownOpt owner = 4;
-
getOwnerBuilder
optional owner for the new file
.pb.ChownOpt owner = 4;
-
getOwnerOrBuilder
optional owner for the new file
.pb.ChownOpt owner = 4;
- Specified by:
getOwnerOrBuilder
in interfaceOps.FileActionMkFileOrBuilder
-
getTimestamp
public long getTimestamp()optional created time override
int64 timestamp = 5;
- Specified by:
getTimestamp
in interfaceOps.FileActionMkFileOrBuilder
- Returns:
- The timestamp.
-
setTimestamp
optional created time override
int64 timestamp = 5;
- Parameters:
value
- The timestamp to set.- Returns:
- This builder for chaining.
-
clearTimestamp
optional created time override
int64 timestamp = 5;
- Returns:
- This builder for chaining.
-