public static final class Protos.TimeInfo.Builder extends <any> implements Protos.TimeInfoOrBuilder
Represents time since the epoch, in nanoseconds.Protobuf type
mesos.TimeInfo
Modifier and Type | Method and Description |
---|---|
Protos.TimeInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TimeInfo |
build() |
Protos.TimeInfo |
buildPartial() |
Protos.TimeInfo.Builder |
clear() |
Protos.TimeInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.TimeInfo.Builder |
clearNanoseconds()
required int64 nanoseconds = 1; |
Protos.TimeInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.TimeInfo.Builder |
clone() |
Protos.TimeInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getNanoseconds()
required int64 nanoseconds = 1; |
boolean |
hasNanoseconds()
required int64 nanoseconds = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.TimeInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.TimeInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.TimeInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.TimeInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TimeInfo.Builder |
setNanoseconds(long value)
required int64 nanoseconds = 1; |
Protos.TimeInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.TimeInfo.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.TimeInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.TimeInfo getDefaultInstanceForType()
public Protos.TimeInfo build()
public Protos.TimeInfo buildPartial()
public Protos.TimeInfo.Builder clone()
public Protos.TimeInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.TimeInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.TimeInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.TimeInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.TimeInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.TimeInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.TimeInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasNanoseconds()
required int64 nanoseconds = 1;
hasNanoseconds
in interface Protos.TimeInfoOrBuilder
public long getNanoseconds()
required int64 nanoseconds = 1;
getNanoseconds
in interface Protos.TimeInfoOrBuilder
public Protos.TimeInfo.Builder setNanoseconds(long value)
required int64 nanoseconds = 1;
public Protos.TimeInfo.Builder clearNanoseconds()
required int64 nanoseconds = 1;
public final Protos.TimeInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.TimeInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)