public static final class Protos.DiskStatistics.Builder extends <any> implements Protos.DiskStatisticsOrBuilder
mesos.DiskStatistics
Modifier and Type | Method and Description |
---|---|
Protos.DiskStatistics.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.DiskStatistics |
build() |
Protos.DiskStatistics |
buildPartial() |
Protos.DiskStatistics.Builder |
clear() |
Protos.DiskStatistics.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.DiskStatistics.Builder |
clearLimitBytes()
optional uint64 limit_bytes = 3; |
Protos.DiskStatistics.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.DiskStatistics.Builder |
clearPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 2; |
Protos.DiskStatistics.Builder |
clearSource()
optional .mesos.Resource.DiskInfo.Source source = 1; |
Protos.DiskStatistics.Builder |
clearUsedBytes()
optional uint64 used_bytes = 4; |
Protos.DiskStatistics.Builder |
clone() |
Protos.DiskStatistics |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getLimitBytes()
optional uint64 limit_bytes = 3; |
Protos.Resource.DiskInfo.Persistence |
getPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 2; |
Protos.Resource.DiskInfo.Persistence.Builder |
getPersistenceBuilder()
optional .mesos.Resource.DiskInfo.Persistence persistence = 2; |
Protos.Resource.DiskInfo.PersistenceOrBuilder |
getPersistenceOrBuilder()
optional .mesos.Resource.DiskInfo.Persistence persistence = 2; |
Protos.Resource.DiskInfo.Source |
getSource()
optional .mesos.Resource.DiskInfo.Source source = 1; |
Protos.Resource.DiskInfo.Source.Builder |
getSourceBuilder()
optional .mesos.Resource.DiskInfo.Source source = 1; |
Protos.Resource.DiskInfo.SourceOrBuilder |
getSourceOrBuilder()
optional .mesos.Resource.DiskInfo.Source source = 1; |
long |
getUsedBytes()
optional uint64 used_bytes = 4; |
boolean |
hasLimitBytes()
optional uint64 limit_bytes = 3; |
boolean |
hasPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 2; |
boolean |
hasSource()
optional .mesos.Resource.DiskInfo.Source source = 1; |
boolean |
hasUsedBytes()
optional uint64 used_bytes = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.DiskStatistics.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.DiskStatistics.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.DiskStatistics.Builder |
mergePersistence(Protos.Resource.DiskInfo.Persistence value)
optional .mesos.Resource.DiskInfo.Persistence persistence = 2; |
Protos.DiskStatistics.Builder |
mergeSource(Protos.Resource.DiskInfo.Source value)
optional .mesos.Resource.DiskInfo.Source source = 1; |
Protos.DiskStatistics.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.DiskStatistics.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.DiskStatistics.Builder |
setLimitBytes(long value)
optional uint64 limit_bytes = 3; |
Protos.DiskStatistics.Builder |
setPersistence(Protos.Resource.DiskInfo.Persistence.Builder builderForValue)
optional .mesos.Resource.DiskInfo.Persistence persistence = 2; |
Protos.DiskStatistics.Builder |
setPersistence(Protos.Resource.DiskInfo.Persistence value)
optional .mesos.Resource.DiskInfo.Persistence persistence = 2; |
Protos.DiskStatistics.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.DiskStatistics.Builder |
setSource(Protos.Resource.DiskInfo.Source.Builder builderForValue)
optional .mesos.Resource.DiskInfo.Source source = 1; |
Protos.DiskStatistics.Builder |
setSource(Protos.Resource.DiskInfo.Source value)
optional .mesos.Resource.DiskInfo.Source source = 1; |
Protos.DiskStatistics.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.DiskStatistics.Builder |
setUsedBytes(long value)
optional uint64 used_bytes = 4; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.DiskStatistics.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.DiskStatistics getDefaultInstanceForType()
public Protos.DiskStatistics build()
public Protos.DiskStatistics buildPartial()
public Protos.DiskStatistics.Builder clone()
public Protos.DiskStatistics.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.DiskStatistics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.DiskStatistics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.DiskStatistics.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.DiskStatistics.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.DiskStatistics.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.DiskStatistics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasSource()
optional .mesos.Resource.DiskInfo.Source source = 1;
hasSource
in interface Protos.DiskStatisticsOrBuilder
public Protos.Resource.DiskInfo.Source getSource()
optional .mesos.Resource.DiskInfo.Source source = 1;
getSource
in interface Protos.DiskStatisticsOrBuilder
public Protos.DiskStatistics.Builder setSource(Protos.Resource.DiskInfo.Source value)
optional .mesos.Resource.DiskInfo.Source source = 1;
public Protos.DiskStatistics.Builder setSource(Protos.Resource.DiskInfo.Source.Builder builderForValue)
optional .mesos.Resource.DiskInfo.Source source = 1;
public Protos.DiskStatistics.Builder mergeSource(Protos.Resource.DiskInfo.Source value)
optional .mesos.Resource.DiskInfo.Source source = 1;
public Protos.DiskStatistics.Builder clearSource()
optional .mesos.Resource.DiskInfo.Source source = 1;
public Protos.Resource.DiskInfo.Source.Builder getSourceBuilder()
optional .mesos.Resource.DiskInfo.Source source = 1;
public Protos.Resource.DiskInfo.SourceOrBuilder getSourceOrBuilder()
optional .mesos.Resource.DiskInfo.Source source = 1;
getSourceOrBuilder
in interface Protos.DiskStatisticsOrBuilder
public boolean hasPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 2;
hasPersistence
in interface Protos.DiskStatisticsOrBuilder
public Protos.Resource.DiskInfo.Persistence getPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 2;
getPersistence
in interface Protos.DiskStatisticsOrBuilder
public Protos.DiskStatistics.Builder setPersistence(Protos.Resource.DiskInfo.Persistence value)
optional .mesos.Resource.DiskInfo.Persistence persistence = 2;
public Protos.DiskStatistics.Builder setPersistence(Protos.Resource.DiskInfo.Persistence.Builder builderForValue)
optional .mesos.Resource.DiskInfo.Persistence persistence = 2;
public Protos.DiskStatistics.Builder mergePersistence(Protos.Resource.DiskInfo.Persistence value)
optional .mesos.Resource.DiskInfo.Persistence persistence = 2;
public Protos.DiskStatistics.Builder clearPersistence()
optional .mesos.Resource.DiskInfo.Persistence persistence = 2;
public Protos.Resource.DiskInfo.Persistence.Builder getPersistenceBuilder()
optional .mesos.Resource.DiskInfo.Persistence persistence = 2;
public Protos.Resource.DiskInfo.PersistenceOrBuilder getPersistenceOrBuilder()
optional .mesos.Resource.DiskInfo.Persistence persistence = 2;
getPersistenceOrBuilder
in interface Protos.DiskStatisticsOrBuilder
public boolean hasLimitBytes()
optional uint64 limit_bytes = 3;
hasLimitBytes
in interface Protos.DiskStatisticsOrBuilder
public long getLimitBytes()
optional uint64 limit_bytes = 3;
getLimitBytes
in interface Protos.DiskStatisticsOrBuilder
public Protos.DiskStatistics.Builder setLimitBytes(long value)
optional uint64 limit_bytes = 3;
public Protos.DiskStatistics.Builder clearLimitBytes()
optional uint64 limit_bytes = 3;
public boolean hasUsedBytes()
optional uint64 used_bytes = 4;
hasUsedBytes
in interface Protos.DiskStatisticsOrBuilder
public long getUsedBytes()
optional uint64 used_bytes = 4;
getUsedBytes
in interface Protos.DiskStatisticsOrBuilder
public Protos.DiskStatistics.Builder setUsedBytes(long value)
optional uint64 used_bytes = 4;
public Protos.DiskStatistics.Builder clearUsedBytes()
optional uint64 used_bytes = 4;
public final Protos.DiskStatistics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.DiskStatistics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)