public static final class Protos.FileInfo extends com.google.protobuf.GeneratedMessageV3 implements Protos.FileInfoOrBuilder
Describes a File.Protobuf type
mesos.FileInfo
Modifier and Type | Class and Description |
---|---|
static class |
Protos.FileInfo.Builder
Describes a File.
|
Modifier and Type | Field and Description |
---|---|
static int |
GID_FIELD_NUMBER |
static int |
MODE_FIELD_NUMBER |
static int |
MTIME_FIELD_NUMBER |
static int |
NLINK_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
PATH_FIELD_NUMBER |
static int |
SIZE_FIELD_NUMBER |
static int |
UID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.FileInfo |
getDefaultInstance() |
Protos.FileInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.TimeInfoOrBuilder |
getMtimeOrBuilder()
Last modification time.
|
int |
getNlink()
Number of hard links.
|
<any> |
getParserForType() |
java.lang.String |
getPath()
Absolute path to the file.
|
com.google.protobuf.ByteString |
getPathBytes()
Absolute path to the file.
|
int |
getSerializedSize() |
long |
getSize()
Total size in bytes.
|
java.lang.String |
getUid()
User ID of owner.
|
com.google.protobuf.ByteString |
getUidBytes()
User ID of owner.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGid()
Group ID of owner.
|
int |
hashCode() |
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() |
static Protos.FileInfo.Builder |
newBuilder() |
static Protos.FileInfo.Builder |
newBuilder(Protos.FileInfo prototype) |
Protos.FileInfo.Builder |
newBuilderForType() |
protected Protos.FileInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.FileInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.FileInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.FileInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.FileInfo |
parseFrom(java.nio.ByteBuffer data) |
static Protos.FileInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.FileInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.FileInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.FileInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.FileInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.FileInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.FileInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int PATH_FIELD_NUMBER
public static final int NLINK_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER
public static final int MTIME_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
public static final int GID_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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 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 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 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.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 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 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 final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.FileInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.FileInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.FileInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.FileInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.FileInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.FileInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.FileInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.FileInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.FileInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.FileInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.FileInfo.Builder newBuilderForType()
public static Protos.FileInfo.Builder newBuilder()
public static Protos.FileInfo.Builder newBuilder(Protos.FileInfo prototype)
public Protos.FileInfo.Builder toBuilder()
protected Protos.FileInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.FileInfo getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.FileInfo getDefaultInstanceForType()