public static final class Protos.FileInfo.Builder extends <any> implements Protos.FileInfoOrBuilder
Describes a File.Protobuf type
mesos.FileInfo
Modifier and Type | Method and Description |
---|---|
Protos.FileInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.FileInfo |
build() |
Protos.FileInfo |
buildPartial() |
Protos.FileInfo.Builder |
clear() |
Protos.FileInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.FileInfo.Builder |
clearGid()
Group ID of owner.
|
Protos.FileInfo.Builder |
clearMode()
Represents a file's mode and permission bits.
|
Protos.FileInfo.Builder |
clearMtime()
Last modification time.
|
Protos.FileInfo.Builder |
clearNlink()
Number of hard links.
|
Protos.FileInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.FileInfo.Builder |
clearPath()
Absolute path to the file.
|
Protos.FileInfo.Builder |
clearSize()
Total size in bytes.
|
Protos.FileInfo.Builder |
clearUid()
User ID of owner.
|
Protos.FileInfo.Builder |
clone() |
Protos.FileInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getGid()
Group ID of owner.
|
com.google.protobuf.ByteString |
getGidBytes()
Group ID of owner.
|
int |
getMode()
Represents a file's mode and permission bits.
|
Protos.TimeInfo |
getMtime()
Last modification time.
|
Protos.TimeInfo.Builder |
getMtimeBuilder()
Last modification time.
|
Protos.TimeInfoOrBuilder |
getMtimeOrBuilder()
Last modification time.
|
int |
getNlink()
Number of hard links.
|
java.lang.String |
getPath()
Absolute path to the file.
|
com.google.protobuf.ByteString |
getPathBytes()
Absolute path to the file.
|
long |
getSize()
Total size in bytes.
|
java.lang.String |
getUid()
User ID of owner.
|
com.google.protobuf.ByteString |
getUidBytes()
User ID of owner.
|
boolean |
hasGid()
Group ID of owner.
|
boolean |
hasMode()
Represents a file's mode and permission bits.
|
boolean |
hasMtime()
Last modification time.
|
boolean |
hasNlink()
Number of hard links.
|
boolean |
hasPath()
Absolute path to the file.
|
boolean |
hasSize()
Total size in bytes.
|
boolean |
hasUid()
User ID of owner.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.FileInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.FileInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.FileInfo.Builder |
mergeMtime(Protos.TimeInfo value)
Last modification time.
|
Protos.FileInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.FileInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.FileInfo.Builder |
setGid(java.lang.String value)
Group ID of owner.
|
Protos.FileInfo.Builder |
setGidBytes(com.google.protobuf.ByteString value)
Group ID of owner.
|
Protos.FileInfo.Builder |
setMode(int value)
Represents a file's mode and permission bits.
|
Protos.FileInfo.Builder |
setMtime(Protos.TimeInfo.Builder builderForValue)
Last modification time.
|
Protos.FileInfo.Builder |
setMtime(Protos.TimeInfo value)
Last modification time.
|
Protos.FileInfo.Builder |
setNlink(int value)
Number of hard links.
|
Protos.FileInfo.Builder |
setPath(java.lang.String value)
Absolute path to the file.
|
Protos.FileInfo.Builder |
setPathBytes(com.google.protobuf.ByteString value)
Absolute path to the file.
|
Protos.FileInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.FileInfo.Builder |
setSize(long value)
Total size in bytes.
|
Protos.FileInfo.Builder |
setUid(java.lang.String value)
User ID of owner.
|
Protos.FileInfo.Builder |
setUidBytes(com.google.protobuf.ByteString value)
User ID of owner.
|
Protos.FileInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.FileInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.FileInfo getDefaultInstanceForType()
public Protos.FileInfo build()
public Protos.FileInfo buildPartial()
public Protos.FileInfo.Builder clone()
public Protos.FileInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.FileInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.FileInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.FileInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.FileInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.FileInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.FileInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasPath()
Absolute path to the file.
required string path = 1;
hasPath
in interface Protos.FileInfoOrBuilder
public java.lang.String getPath()
Absolute path to the file.
required string path = 1;
getPath
in interface Protos.FileInfoOrBuilder
public com.google.protobuf.ByteString getPathBytes()
Absolute path to the file.
required string path = 1;
getPathBytes
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setPath(java.lang.String value)
Absolute path to the file.
required string path = 1;
public Protos.FileInfo.Builder clearPath()
Absolute path to the file.
required string path = 1;
public Protos.FileInfo.Builder setPathBytes(com.google.protobuf.ByteString value)
Absolute path to the file.
required string path = 1;
public boolean hasNlink()
Number of hard links.
optional int32 nlink = 2;
hasNlink
in interface Protos.FileInfoOrBuilder
public int getNlink()
Number of hard links.
optional int32 nlink = 2;
getNlink
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setNlink(int value)
Number of hard links.
optional int32 nlink = 2;
public Protos.FileInfo.Builder clearNlink()
Number of hard links.
optional int32 nlink = 2;
public boolean hasSize()
Total size in bytes.
optional uint64 size = 3;
hasSize
in interface Protos.FileInfoOrBuilder
public long getSize()
Total size in bytes.
optional uint64 size = 3;
getSize
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setSize(long value)
Total size in bytes.
optional uint64 size = 3;
public Protos.FileInfo.Builder clearSize()
Total size in bytes.
optional uint64 size = 3;
public boolean hasMtime()
Last modification time.
optional .mesos.TimeInfo mtime = 4;
hasMtime
in interface Protos.FileInfoOrBuilder
public Protos.TimeInfo getMtime()
Last modification time.
optional .mesos.TimeInfo mtime = 4;
getMtime
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setMtime(Protos.TimeInfo value)
Last modification time.
optional .mesos.TimeInfo mtime = 4;
public Protos.FileInfo.Builder setMtime(Protos.TimeInfo.Builder builderForValue)
Last modification time.
optional .mesos.TimeInfo mtime = 4;
public Protos.FileInfo.Builder mergeMtime(Protos.TimeInfo value)
Last modification time.
optional .mesos.TimeInfo mtime = 4;
public Protos.FileInfo.Builder clearMtime()
Last modification time.
optional .mesos.TimeInfo mtime = 4;
public Protos.TimeInfo.Builder getMtimeBuilder()
Last modification time.
optional .mesos.TimeInfo mtime = 4;
public Protos.TimeInfoOrBuilder getMtimeOrBuilder()
Last modification time.
optional .mesos.TimeInfo mtime = 4;
getMtimeOrBuilder
in interface Protos.FileInfoOrBuilder
public boolean hasMode()
Represents a file's mode and permission bits. The bits have the same definition on all systems and is portable.
optional uint32 mode = 5;
hasMode
in interface Protos.FileInfoOrBuilder
public int getMode()
Represents a file's mode and permission bits. The bits have the same definition on all systems and is portable.
optional uint32 mode = 5;
getMode
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setMode(int value)
Represents a file's mode and permission bits. The bits have the same definition on all systems and is portable.
optional uint32 mode = 5;
public Protos.FileInfo.Builder clearMode()
Represents a file's mode and permission bits. The bits have the same definition on all systems and is portable.
optional uint32 mode = 5;
public boolean hasUid()
User ID of owner.
optional string uid = 6;
hasUid
in interface Protos.FileInfoOrBuilder
public java.lang.String getUid()
User ID of owner.
optional string uid = 6;
getUid
in interface Protos.FileInfoOrBuilder
public com.google.protobuf.ByteString getUidBytes()
User ID of owner.
optional string uid = 6;
getUidBytes
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setUid(java.lang.String value)
User ID of owner.
optional string uid = 6;
public Protos.FileInfo.Builder clearUid()
User ID of owner.
optional string uid = 6;
public Protos.FileInfo.Builder setUidBytes(com.google.protobuf.ByteString value)
User ID of owner.
optional string uid = 6;
public boolean hasGid()
Group ID of owner.
optional string gid = 7;
hasGid
in interface Protos.FileInfoOrBuilder
public java.lang.String getGid()
Group ID of owner.
optional string gid = 7;
getGid
in interface Protos.FileInfoOrBuilder
public com.google.protobuf.ByteString getGidBytes()
Group ID of owner.
optional string gid = 7;
getGidBytes
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setGid(java.lang.String value)
Group ID of owner.
optional string gid = 7;
public Protos.FileInfo.Builder clearGid()
Group ID of owner.
optional string gid = 7;
public Protos.FileInfo.Builder setGidBytes(com.google.protobuf.ByteString value)
Group ID of owner.
optional string gid = 7;
public final Protos.FileInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.FileInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)