public static final class Protos.Unavailability extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
Protos.Unavailability.Builder
Represents an interval, from a given start time over a given duration.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DURATION_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
START_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Unavailability |
getDefaultInstance() |
Protos.Unavailability |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.DurationInfo |
getDuration()
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.
|
<any> |
getParserForType() |
int |
getSerializedSize() |
Protos.TimeInfo |
getStart()
required .mesos.TimeInfo start = 1; |
Protos.TimeInfoOrBuilder |
getStartOrBuilder()
required .mesos.TimeInfo start = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDuration()
When added to `start`, this represents the end of the interval.
|
int |
hashCode() |
boolean |
hasStart()
required .mesos.TimeInfo start = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Unavailability.Builder |
newBuilder() |
static Protos.Unavailability.Builder |
newBuilder(Protos.Unavailability prototype) |
Protos.Unavailability.Builder |
newBuilderForType() |
protected Protos.Unavailability.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Unavailability |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Unavailability |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Unavailability |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Unavailability |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Unavailability |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Unavailability |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Unavailability |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Unavailability |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Unavailability |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Unavailability |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Unavailability.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int START_FIELD_NUMBER
public static final int DURATION_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 hasStart()
required .mesos.TimeInfo start = 1;hasStart in interface Protos.UnavailabilityOrBuilderpublic Protos.TimeInfo getStart()
required .mesos.TimeInfo start = 1;getStart in interface Protos.UnavailabilityOrBuilderpublic Protos.TimeInfoOrBuilder getStartOrBuilder()
required .mesos.TimeInfo start = 1;getStartOrBuilder in interface Protos.UnavailabilityOrBuilderpublic 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.UnavailabilityOrBuilderpublic 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.UnavailabilityOrBuilderpublic 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.UnavailabilityOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.Unavailability parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Unavailability parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Unavailability parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Unavailability parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Unavailability parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Unavailability parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Unavailability parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Unavailability parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Unavailability parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Unavailability parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.Unavailability.Builder newBuilderForType()
public static Protos.Unavailability.Builder newBuilder()
public static Protos.Unavailability.Builder newBuilder(Protos.Unavailability prototype)
public Protos.Unavailability.Builder toBuilder()
protected Protos.Unavailability.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Unavailability getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Unavailability getDefaultInstanceForType()