public static final class Protos.Unavailability.Builder extends <any> implements Protos.UnavailabilityOrBuilder
Represents an interval, from a given start time over a given duration. This interval pertains to an unavailability event, such as maintenance, and is not a generic interval.Protobuf type
mesos.Unavailability
Modifier and Type | Method and Description |
---|---|
Protos.Unavailability.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Unavailability |
build() |
Protos.Unavailability |
buildPartial() |
Protos.Unavailability.Builder |
clear() |
Protos.Unavailability.Builder |
clearDuration()
When added to `start`, this represents the end of the interval.
|
Protos.Unavailability.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Unavailability.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Unavailability.Builder |
clearStart()
required .mesos.TimeInfo start = 1; |
Protos.Unavailability.Builder |
clone() |
Protos.Unavailability |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.DurationInfo |
getDuration()
When added to `start`, this represents the end of the interval.
|
Protos.DurationInfo.Builder |
getDurationBuilder()
When added to `start`, this represents the end of the interval.
|
Protos.DurationInfoOrBuilder |
getDurationOrBuilder()
When added to `start`, this represents the end of the interval.
|
Protos.TimeInfo |
getStart()
required .mesos.TimeInfo start = 1; |
Protos.TimeInfo.Builder |
getStartBuilder()
required .mesos.TimeInfo start = 1; |
Protos.TimeInfoOrBuilder |
getStartOrBuilder()
required .mesos.TimeInfo start = 1; |
boolean |
hasDuration()
When added to `start`, this represents the end of the interval.
|
boolean |
hasStart()
required .mesos.TimeInfo start = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Unavailability.Builder |
mergeDuration(Protos.DurationInfo value)
When added to `start`, this represents the end of the interval.
|
Protos.Unavailability.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Unavailability.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Unavailability.Builder |
mergeStart(Protos.TimeInfo value)
required .mesos.TimeInfo start = 1; |
Protos.Unavailability.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Unavailability.Builder |
setDuration(Protos.DurationInfo.Builder builderForValue)
When added to `start`, this represents the end of the interval.
|
Protos.Unavailability.Builder |
setDuration(Protos.DurationInfo value)
When added to `start`, this represents the end of the interval.
|
Protos.Unavailability.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Unavailability.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Unavailability.Builder |
setStart(Protos.TimeInfo.Builder builderForValue)
required .mesos.TimeInfo start = 1; |
Protos.Unavailability.Builder |
setStart(Protos.TimeInfo value)
required .mesos.TimeInfo start = 1; |
Protos.Unavailability.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.Unavailability.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Unavailability getDefaultInstanceForType()
public Protos.Unavailability build()
public Protos.Unavailability buildPartial()
public Protos.Unavailability.Builder clone()
public Protos.Unavailability.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Unavailability.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Unavailability.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Unavailability.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Unavailability.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Unavailability.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Unavailability.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasStart()
required .mesos.TimeInfo start = 1;
hasStart
in interface Protos.UnavailabilityOrBuilder
public Protos.TimeInfo getStart()
required .mesos.TimeInfo start = 1;
getStart
in interface Protos.UnavailabilityOrBuilder
public Protos.Unavailability.Builder setStart(Protos.TimeInfo value)
required .mesos.TimeInfo start = 1;
public Protos.Unavailability.Builder setStart(Protos.TimeInfo.Builder builderForValue)
required .mesos.TimeInfo start = 1;
public Protos.Unavailability.Builder mergeStart(Protos.TimeInfo value)
required .mesos.TimeInfo start = 1;
public Protos.Unavailability.Builder clearStart()
required .mesos.TimeInfo start = 1;
public Protos.TimeInfo.Builder getStartBuilder()
required .mesos.TimeInfo start = 1;
public Protos.TimeInfoOrBuilder getStartOrBuilder()
required .mesos.TimeInfo start = 1;
getStartOrBuilder
in interface Protos.UnavailabilityOrBuilder
public boolean hasDuration()
When added to `start`, this represents the end of the interval. If unspecified, the duration is assumed to be infinite.
optional .mesos.DurationInfo duration = 2;
hasDuration
in interface Protos.UnavailabilityOrBuilder
public Protos.DurationInfo getDuration()
When added to `start`, this represents the end of the interval. If unspecified, the duration is assumed to be infinite.
optional .mesos.DurationInfo duration = 2;
getDuration
in interface Protos.UnavailabilityOrBuilder
public Protos.Unavailability.Builder setDuration(Protos.DurationInfo value)
When added to `start`, this represents the end of the interval. If unspecified, the duration is assumed to be infinite.
optional .mesos.DurationInfo duration = 2;
public Protos.Unavailability.Builder setDuration(Protos.DurationInfo.Builder builderForValue)
When added to `start`, this represents the end of the interval. If unspecified, the duration is assumed to be infinite.
optional .mesos.DurationInfo duration = 2;
public Protos.Unavailability.Builder mergeDuration(Protos.DurationInfo value)
When added to `start`, this represents the end of the interval. If unspecified, the duration is assumed to be infinite.
optional .mesos.DurationInfo duration = 2;
public Protos.Unavailability.Builder clearDuration()
When added to `start`, this represents the end of the interval. If unspecified, the duration is assumed to be infinite.
optional .mesos.DurationInfo duration = 2;
public Protos.DurationInfo.Builder getDurationBuilder()
When added to `start`, this represents the end of the interval. If unspecified, the duration is assumed to be infinite.
optional .mesos.DurationInfo duration = 2;
public Protos.DurationInfoOrBuilder getDurationOrBuilder()
When added to `start`, this represents the end of the interval. If unspecified, the duration is assumed to be infinite.
optional .mesos.DurationInfo duration = 2;
getDurationOrBuilder
in interface Protos.UnavailabilityOrBuilder
public final Protos.Unavailability.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Unavailability.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)