Class TimeWindow (2.17.0)

public final class TimeWindow extends GeneratedMessageV3 implements TimeWindowOrBuilder

Represents an arbitrary window of time.

Protobuf type google.container.v1beta1.TimeWindow

Implements

TimeWindowOrBuilder

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

MAINTENANCE_EXCLUSION_OPTIONS_FIELD_NUMBER

public static final int MAINTENANCE_EXCLUSION_OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TimeWindow getDefaultInstance()
Returns
TypeDescription
TimeWindow

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TimeWindow.Builder newBuilder()
Returns
TypeDescription
TimeWindow.Builder

newBuilder(TimeWindow prototype)

public static TimeWindow.Builder newBuilder(TimeWindow prototype)
Parameter
NameDescription
prototypeTimeWindow
Returns
TypeDescription
TimeWindow.Builder

parseDelimitedFrom(InputStream input)

public static TimeWindow parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TimeWindow
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeWindow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeWindow
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TimeWindow parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TimeWindow
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TimeWindow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeWindow
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TimeWindow parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TimeWindow
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TimeWindow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeWindow
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TimeWindow parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TimeWindow
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeWindow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeWindow
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TimeWindow parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TimeWindow
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeWindow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeWindow
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TimeWindow parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TimeWindow
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TimeWindow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeWindow
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TimeWindow> parser()
Returns
TypeDescription
Parser<TimeWindow>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TimeWindow getDefaultInstanceForType()
Returns
TypeDescription
TimeWindow

getEndTime()

public Timestamp getEndTime()

The time that the window ends. The end time should take place after the start time.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time that the window ends. The end time should take place after the start time.

.google.protobuf.Timestamp end_time = 2;

Returns
Type