Class TimeWindow.Builder (2.20.0)

public static final class TimeWindow.Builder extends GeneratedMessageV3.Builder<TimeWindow.Builder> implements TimeWindowOrBuilder

Represents an arbitrary window of time.

Protobuf type google.container.v1.TimeWindow

Implements

TimeWindowOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimeWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimeWindow.Builder
Overrides

build()

public TimeWindow build()
Returns
TypeDescription
TimeWindow

buildPartial()

public TimeWindow buildPartial()
Returns
TypeDescription
TimeWindow

clear()

public TimeWindow.Builder clear()
Returns
TypeDescription
TimeWindow.Builder
Overrides

clearEndTime()

public TimeWindow.Builder clearEndTime()

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

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimeWindow.Builder

clearField(Descriptors.FieldDescriptor field)

public TimeWindow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TimeWindow.Builder
Overrides

clearMaintenanceExclusionOptions()

public TimeWindow.Builder clearMaintenanceExclusionOptions()

MaintenanceExclusionOptions provides maintenance exclusion related options.

.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;

Returns
TypeDescription
TimeWindow.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TimeWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TimeWindow.Builder
Overrides

clearOptions()

public TimeWindow.Builder clearOptions()
Returns
TypeDescription
TimeWindow.Builder

clearStartTime()

public TimeWindow.Builder clearStartTime()

The time that the window first starts.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimeWindow.Builder

clone()

public TimeWindow.Builder clone()
Returns
TypeDescription
TimeWindow.Builder
Overrides

getDefaultInstanceForType()

public TimeWindow getDefaultInstanceForType()
Returns
TypeDescription
TimeWindow

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

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

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Builder

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
TypeDescription
TimestampOrBuilder

getMaintenanceExclusionOptions()

public MaintenanceExclusionOptions getMaintenanceExclusionOptions()

MaintenanceExclusionOptions provides maintenance exclusion related options.

.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;

Returns
TypeDescription
MaintenanceExclusionOptions

The maintenanceExclusionOptions.

getMaintenanceExclusionOptionsBuilder()

public MaintenanceExclusionOptions.Builder getMaintenanceExclusionOptionsBuilder()

MaintenanceExclusionOptions provides maintenance exclusion related options.

.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;

Returns
TypeDescription
MaintenanceExclusionOptions.Builder

getMaintenanceExclusionOptionsOrBuilder()

public MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder()

MaintenanceExclusionOptions provides maintenance exclusion related options.

.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;

Returns
TypeDescription
MaintenanceExclusionOptionsOrBuilder

getOptionsCase()

public TimeWindow.OptionsCase getOptionsCase()
Returns
TypeDescription
TimeWindow.OptionsCase

getStartTime()

public Timestamp getStartTime()

The time that the window first starts.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time that the window first starts.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time that the window first starts.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

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

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasMaintenanceExclusionOptions()

public boolean hasMaintenanceExclusionOptions()

MaintenanceExclusionOptions provides maintenance exclusion related options.

.google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3;

Returns
TypeDescription
boolean

Whether the maintenanceExclusionOptions field is set.

hasStartTime()

public boolean hasStartTime()

The time that the window first starts.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAcce