public static final class Protos.FileInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.FileInfo.Builder> implements Protos.FileInfoOrBuilder
mesos.v1.FileInfo
Describes a File.
Modifier and Type | Method and Description |
---|---|
Protos.FileInfo |
build() |
Protos.FileInfo |
buildPartial() |
Protos.FileInfo.Builder |
clear() |
Protos.FileInfo.Builder |
clearGid()
optional string gid = 7; |
Protos.FileInfo.Builder |
clearMode()
optional uint32 mode = 5; |
Protos.FileInfo.Builder |
clearMtime()
optional .mesos.v1.TimeInfo mtime = 4; |
Protos.FileInfo.Builder |
clearNlink()
optional int32 nlink = 2; |
Protos.FileInfo.Builder |
clearPath()
required string path = 1; |
Protos.FileInfo.Builder |
clearSize()
optional uint64 size = 3; |
Protos.FileInfo.Builder |
clearUid()
optional string uid = 6; |
Protos.FileInfo.Builder |
clone() |
Protos.FileInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGid()
optional string gid = 7; |
com.google.protobuf.ByteString |
getGidBytes()
optional string gid = 7; |
int |
getMode()
optional uint32 mode = 5; |
Protos.TimeInfo |
getMtime()
optional .mesos.v1.TimeInfo mtime = 4; |
Protos.TimeInfo.Builder |
getMtimeBuilder()
optional .mesos.v1.TimeInfo mtime = 4; |
Protos.TimeInfoOrBuilder |
getMtimeOrBuilder()
optional .mesos.v1.TimeInfo mtime = 4; |
int |
getNlink()
optional int32 nlink = 2; |
String |
getPath()
required string path = 1; |
com.google.protobuf.ByteString |
getPathBytes()
required string path = 1; |
long |
getSize()
optional uint64 size = 3; |
String |
getUid()
optional string uid = 6; |
com.google.protobuf.ByteString |
getUidBytes()
optional string uid = 6; |
boolean |
hasGid()
optional string gid = 7; |
boolean |
hasMode()
optional uint32 mode = 5; |
boolean |
hasMtime()
optional .mesos.v1.TimeInfo mtime = 4; |
boolean |
hasNlink()
optional int32 nlink = 2; |
boolean |
hasPath()
required string path = 1; |
boolean |
hasSize()
optional uint64 size = 3; |
boolean |
hasUid()
optional string uid = 6; |
protected com.google.protobuf.GeneratedMessage.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 |
mergeFrom(Protos.FileInfo other) |
Protos.FileInfo.Builder |
mergeMtime(Protos.TimeInfo value)
optional .mesos.v1.TimeInfo mtime = 4; |
Protos.FileInfo.Builder |
setGid(String value)
optional string gid = 7; |
Protos.FileInfo.Builder |
setGidBytes(com.google.protobuf.ByteString value)
optional string gid = 7; |
Protos.FileInfo.Builder |
setMode(int value)
optional uint32 mode = 5; |
Protos.FileInfo.Builder |
setMtime(Protos.TimeInfo.Builder builderForValue)
optional .mesos.v1.TimeInfo mtime = 4; |
Protos.FileInfo.Builder |
setMtime(Protos.TimeInfo value)
optional .mesos.v1.TimeInfo mtime = 4; |
Protos.FileInfo.Builder |
setNlink(int value)
optional int32 nlink = 2; |
Protos.FileInfo.Builder |
setPath(String value)
required string path = 1; |
Protos.FileInfo.Builder |
setPathBytes(com.google.protobuf.ByteString value)
required string path = 1; |
Protos.FileInfo.Builder |
setSize(long value)
optional uint64 size = 3; |
Protos.FileInfo.Builder |
setUid(String value)
optional string uid = 6; |
Protos.FileInfo.Builder |
setUidBytes(com.google.protobuf.ByteString value)
optional string uid = 6; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Protos.FileInfo.Builder>
public Protos.FileInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Protos.FileInfo.Builder>
public Protos.FileInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Protos.FileInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Protos.FileInfo.Builder>
public Protos.FileInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.FileInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.FileInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.FileInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.FileInfo.Builder>
public Protos.FileInfo.Builder mergeFrom(Protos.FileInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.FileInfo.Builder>
public Protos.FileInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.FileInfo.Builder>
IOException
public boolean hasPath()
required string path = 1;
Absolute path to the file.
hasPath
in interface Protos.FileInfoOrBuilder
public String getPath()
required string path = 1;
Absolute path to the file.
getPath
in interface Protos.FileInfoOrBuilder
public com.google.protobuf.ByteString getPathBytes()
required string path = 1;
Absolute path to the file.
getPathBytes
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setPath(String value)
required string path = 1;
Absolute path to the file.
public Protos.FileInfo.Builder clearPath()
required string path = 1;
Absolute path to the file.
public Protos.FileInfo.Builder setPathBytes(com.google.protobuf.ByteString value)
required string path = 1;
Absolute path to the file.
public boolean hasNlink()
optional int32 nlink = 2;
Number of hard links.
hasNlink
in interface Protos.FileInfoOrBuilder
public int getNlink()
optional int32 nlink = 2;
Number of hard links.
getNlink
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setNlink(int value)
optional int32 nlink = 2;
Number of hard links.
public Protos.FileInfo.Builder clearNlink()
optional int32 nlink = 2;
Number of hard links.
public boolean hasSize()
optional uint64 size = 3;
Total size in bytes.
hasSize
in interface Protos.FileInfoOrBuilder
public long getSize()
optional uint64 size = 3;
Total size in bytes.
getSize
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setSize(long value)
optional uint64 size = 3;
Total size in bytes.
public Protos.FileInfo.Builder clearSize()
optional uint64 size = 3;
Total size in bytes.
public boolean hasMtime()
optional .mesos.v1.TimeInfo mtime = 4;
Last modification time.
hasMtime
in interface Protos.FileInfoOrBuilder
public Protos.TimeInfo getMtime()
optional .mesos.v1.TimeInfo mtime = 4;
Last modification time.
getMtime
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setMtime(Protos.TimeInfo value)
optional .mesos.v1.TimeInfo mtime = 4;
Last modification time.
public Protos.FileInfo.Builder setMtime(Protos.TimeInfo.Builder builderForValue)
optional .mesos.v1.TimeInfo mtime = 4;
Last modification time.
public Protos.FileInfo.Builder mergeMtime(Protos.TimeInfo value)
optional .mesos.v1.TimeInfo mtime = 4;
Last modification time.
public Protos.FileInfo.Builder clearMtime()
optional .mesos.v1.TimeInfo mtime = 4;
Last modification time.
public Protos.TimeInfo.Builder getMtimeBuilder()
optional .mesos.v1.TimeInfo mtime = 4;
Last modification time.
public Protos.TimeInfoOrBuilder getMtimeOrBuilder()
optional .mesos.v1.TimeInfo mtime = 4;
Last modification time.
getMtimeOrBuilder
in interface Protos.FileInfoOrBuilder
public boolean hasMode()
optional uint32 mode = 5;
Represents a file's mode and permission bits. The bits have the same definition on all systems and is portable.
hasMode
in interface Protos.FileInfoOrBuilder
public int getMode()
optional uint32 mode = 5;
Represents a file's mode and permission bits. The bits have the same definition on all systems and is portable.
getMode
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setMode(int value)
optional uint32 mode = 5;
Represents a file's mode and permission bits. The bits have the same definition on all systems and is portable.
public Protos.FileInfo.Builder clearMode()
optional uint32 mode = 5;
Represents a file's mode and permission bits. The bits have the same definition on all systems and is portable.
public boolean hasUid()
optional string uid = 6;
User ID of owner.
hasUid
in interface Protos.FileInfoOrBuilder
public String getUid()
optional string uid = 6;
User ID of owner.
getUid
in interface Protos.FileInfoOrBuilder
public com.google.protobuf.ByteString getUidBytes()
optional string uid = 6;
User ID of owner.
getUidBytes
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setUid(String value)
optional string uid = 6;
User ID of owner.
public Protos.FileInfo.Builder clearUid()
optional string uid = 6;
User ID of owner.
public Protos.FileInfo.Builder setUidBytes(com.google.protobuf.ByteString value)
optional string uid = 6;
User ID of owner.
public boolean hasGid()
optional string gid = 7;
Group ID of owner.
hasGid
in interface Protos.FileInfoOrBuilder
public String getGid()
optional string gid = 7;
Group ID of owner.
getGid
in interface Protos.FileInfoOrBuilder
public com.google.protobuf.ByteString getGidBytes()
optional string gid = 7;
Group ID of owner.
getGidBytes
in interface Protos.FileInfoOrBuilder
public Protos.FileInfo.Builder setGid(String value)
optional string gid = 7;
Group ID of owner.
public Protos.FileInfo.Builder clearGid()
optional string gid = 7;
Group ID of owner.
public Protos.FileInfo.Builder setGidBytes(com.google.protobuf.ByteString value)
optional string gid = 7;
Group ID of owner.
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.