Class StatOuterClass.Stat.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StatOuterClass.Stat.Builder>
com.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder>
fsutil.types.StatOuterClass.Stat.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,StatOuterClass.StatOrBuilder
,Cloneable
- Enclosing class:
StatOuterClass.Stat
public static final class StatOuterClass.Stat.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder>
implements StatOuterClass.StatOrBuilder
Protobuf type
fsutil.types.Stat
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
int64 devmajor = 8;
int64 devminor = 9;
clearGid()
uint32 gid = 4;
int32 typeflag = 7;uint32 mode = 2;
int64 modTime = 6;
string path = 1;
int64 size = 5;
clearUid()
uint32 uid = 3;
boolean
containsXattrs
(String key) map<string, bytes> xattrs = 10;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
int64 devmajor = 8;
long
int64 devminor = 9;
int
getGid()
uint32 gid = 4;
int32 typeflag = 7;com.google.protobuf.ByteString
int32 typeflag = 7;int
getMode()
uint32 mode = 2;
long
int64 modTime = 6;
Deprecated.getPath()
string path = 1;
com.google.protobuf.ByteString
string path = 1;
long
getSize()
int64 size = 5;
int
getUid()
uint32 uid = 3;
Deprecated.int
map<string, bytes> xattrs = 10;
map<string, bytes> xattrs = 10;
com.google.protobuf.ByteString
getXattrsOrDefault
(String key, com.google.protobuf.ByteString defaultValue) map<string, bytes> xattrs = 10;
com.google.protobuf.ByteString
getXattrsOrThrow
(String key) map<string, bytes> xattrs = 10;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(StatOuterClass.Stat other) putAllXattrs
(Map<String, com.google.protobuf.ByteString> values) map<string, bytes> xattrs = 10;
map<string, bytes> xattrs = 10;
removeXattrs
(String key) map<string, bytes> xattrs = 10;
setDevmajor
(long value) int64 devmajor = 8;
setDevminor
(long value) int64 devminor = 9;
setGid
(int value) uint32 gid = 4;
setLinkname
(String value) int32 typeflag = 7;setLinknameBytes
(com.google.protobuf.ByteString value) int32 typeflag = 7;setMode
(int value) uint32 mode = 2;
setModTime
(long value) int64 modTime = 6;
string path = 1;
setPathBytes
(com.google.protobuf.ByteString value) string path = 1;
setSize
(long value) int64 size = 5;
setUid
(int value) uint32 uid = 3;
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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.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<StatOuterClass.Stat.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<StatOuterClass.Stat.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<StatOuterClass.Stat.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder>
-
mergeFrom
public StatOuterClass.Stat.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<StatOuterClass.Stat.Builder>
- Throws:
IOException
-
getPath
string path = 1;
- Specified by:
getPath
in interfaceStatOuterClass.StatOrBuilder
- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()string path = 1;
- Specified by:
getPathBytes
in interfaceStatOuterClass.StatOrBuilder
- Returns:
- The bytes for path.
-
setPath
string path = 1;
- Parameters:
value
- The path to set.- Returns:
- This builder for chaining.
-
clearPath
-
setPathBytes
string path = 1;
- Parameters:
value
- The bytes for path to set.- Returns:
- This builder for chaining.
-
getMode
public int getMode()uint32 mode = 2;
- Specified by:
getMode
in interfaceStatOuterClass.StatOrBuilder
- Returns:
- The mode.
-
setMode
uint32 mode = 2;
- Parameters:
value
- The mode to set.- Returns:
- This builder for chaining.
-
clearMode
-
getUid
public int getUid()uint32 uid = 3;
- Specified by:
getUid
in interfaceStatOuterClass.StatOrBuilder
- Returns:
- The uid.
-
setUid
uint32 uid = 3;
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
-
getGid
public int getGid()uint32 gid = 4;
- Specified by:
getGid
in interfaceStatOuterClass.StatOrBuilder
- Returns:
- The gid.
-
setGid
uint32 gid = 4;
- Parameters:
value
- The gid to set.- Returns:
- This builder for chaining.
-
clearGid
-
getSize
public long getSize()int64 size = 5;
- Specified by:
getSize
in interfaceStatOuterClass.StatOrBuilder
- Returns:
- The size.
-
setSize
int64 size = 5;
- Parameters:
value
- The size to set.- Returns:
- This builder for chaining.
-
clearSize
-
getModTime
public long getModTime()int64 modTime = 6;
- Specified by:
getModTime
in interfaceStatOuterClass.StatOrBuilder
- Returns:
- The modTime.
-
setModTime
int64 modTime = 6;
- Parameters:
value
- The modTime to set.- Returns:
- This builder for chaining.
-
clearModTime
int64 modTime = 6;
- Returns:
- This builder for chaining.
-
getLinkname
int32 typeflag = 7;
string linkname = 7;
- Specified by:
getLinkname
in interfaceStatOuterClass.StatOrBuilder
- Returns:
- The linkname.
-
getLinknameBytes
public com.google.protobuf.ByteString getLinknameBytes()int32 typeflag = 7;
string linkname = 7;
- Specified by:
getLinknameBytes
in interfaceStatOuterClass.StatOrBuilder
- Returns:
- The bytes for linkname.
-
setLinkname
int32 typeflag = 7;
string linkname = 7;
- Parameters:
value
- The linkname to set.- Returns:
- This builder for chaining.
-
clearLinkname
int32 typeflag = 7;
string linkname = 7;
- Returns:
- This builder for chaining.
-
setLinknameBytes
int32 typeflag = 7;
string linkname = 7;
- Parameters:
value
- The bytes for linkname to set.- Returns:
- This builder for chaining.
-
getDevmajor
public long getDevmajor()int64 devmajor = 8;
- Specified by:
getDevmajor
in interfaceStatOuterClass.StatOrBuilder
- Returns:
- The devmajor.
-
setDevmajor
int64 devmajor = 8;
- Parameters:
value
- The devmajor to set.- Returns:
- This builder for chaining.
-
clearDevmajor
int64 devmajor = 8;
- Returns:
- This builder for chaining.
-
getDevminor
public long getDevminor()int64 devminor = 9;
- Specified by:
getDevminor
in interfaceStatOuterClass.StatOrBuilder
- Returns:
- The devminor.
-
setDevminor
int64 devminor = 9;
- Parameters:
value
- The devminor to set.- Returns:
- This builder for chaining.
-
clearDevminor
int64 devminor = 9;
- Returns:
- This builder for chaining.
-
getXattrsCount
public int getXattrsCount()Description copied from interface:StatOuterClass.StatOrBuilder
map<string, bytes> xattrs = 10;
- Specified by:
getXattrsCount
in interfaceStatOuterClass.StatOrBuilder
-
containsXattrs
map<string, bytes> xattrs = 10;
- Specified by:
containsXattrs
in interfaceStatOuterClass.StatOrBuilder
-
getXattrs
Deprecated.UsegetXattrsMap()
instead.- Specified by:
getXattrs
in interfaceStatOuterClass.StatOrBuilder
-
getXattrsMap
map<string, bytes> xattrs = 10;
- Specified by:
getXattrsMap
in interfaceStatOuterClass.StatOrBuilder
-
getXattrsOrDefault
public com.google.protobuf.ByteString getXattrsOrDefault(String key, com.google.protobuf.ByteString defaultValue) map<string, bytes> xattrs = 10;
- Specified by:
getXattrsOrDefault
in interfaceStatOuterClass.StatOrBuilder
-
getXattrsOrThrow
map<string, bytes> xattrs = 10;
- Specified by:
getXattrsOrThrow
in interfaceStatOuterClass.StatOrBuilder
-
clearXattrs
-
removeXattrs
map<string, bytes> xattrs = 10;
-
getMutableXattrs
Deprecated.Use alternate mutation accessors instead. -
putXattrs
map<string, bytes> xattrs = 10;
-
putAllXattrs
map<string, bytes> xattrs = 10;
-