Class DailyMaintenanceWindow.Builder (2.46.0)

public static final class DailyMaintenanceWindow.Builder extends GeneratedMessageV3.Builder<DailyMaintenanceWindow.Builder> implements DailyMaintenanceWindowOrBuilder

Time window specified for daily maintenance operations.

Protobuf type google.container.v1beta1.DailyMaintenanceWindow

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DailyMaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DailyMaintenanceWindow.Builder
Overrides

build()

public DailyMaintenanceWindow build()
Returns
Type Description
DailyMaintenanceWindow

buildPartial()

public DailyMaintenanceWindow buildPartial()
Returns
Type Description
DailyMaintenanceWindow

clear()

public DailyMaintenanceWindow.Builder clear()
Returns
Type Description
DailyMaintenanceWindow.Builder
Overrides

clearDuration()

public DailyMaintenanceWindow.Builder clearDuration()

[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.

string duration = 3;

Returns
Type Description
DailyMaintenanceWindow.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DailyMaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DailyMaintenanceWindow.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DailyMaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DailyMaintenanceWindow.Builder
Overrides

clearStartTime()

public DailyMaintenanceWindow.Builder clearStartTime()

Time within the maintenance window to start the maintenance operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.

string start_time = 2;

Returns
Type Description
DailyMaintenanceWindow.Builder

This builder for chaining.

clone()

public DailyMaintenanceWindow.Builder clone()
Returns
Type Description
DailyMaintenanceWindow.Builder
Overrides

getDefaultInstanceForType()

public DailyMaintenanceWindow getDefaultInstanceForType()
Returns
Type Description
DailyMaintenanceWindow

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDuration()

public String getDuration()

[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.

string duration = 3;

Returns
Type Description
String

The duration.

getDurationBytes()

public ByteString getDurationBytes()

[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.

string duration = 3;

Returns
Type Description
ByteString

The bytes for duration.

getStartTime()

public String getStartTime()

Time within the maintenance window to start the maintenance operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.

string start_time = 2;

Returns
Type Description
String

The startTime.

getStartTimeBytes()

public ByteString getStartTimeBytes()

Time within the maintenance window to start the maintenance operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.

string start_time = 2;

Returns
Type Description
ByteString

The bytes for startTime.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DailyMaintenanceWindow other)

public DailyMaintenanceWindow.Builder mergeFrom(DailyMaintenanceWindow other)
Parameter
Name Description
other DailyMaintenanceWindow
Returns
Type Description
DailyMaintenanceWindow.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DailyMaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DailyMaintenanceWindow.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DailyMaintenanceWindow.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DailyMaintenanceWindow.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DailyMaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DailyMaintenanceWindow.Builder
Overrides

setDuration(String value)

public DailyMaintenanceWindow.Builder setDuration(String value)

[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.

string duration = 3;

Parameter
Name Description
value String

The duration to set.

Returns
Type Description
DailyMaintenanceWindow.Builder

This builder for chaining.

setDurationBytes(ByteString value)

public DailyMaintenanceWindow.Builder setDurationBytes(ByteString value)

[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.

string duration = 3;

Parameter
Name Description
value ByteString

The bytes for duration to set.

Returns
Type Description
DailyMaintenanceWindow.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DailyMaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DailyMaintenanceWindow.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DailyMaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DailyMaintenanceWindow.Builder
Overrides

setStartTime(String value)

public DailyMaintenanceWindow.Builder setStartTime(String value)

Time within the maintenance window to start the maintenance operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.

string start_time = 2;

Parameter
Name Description
value String

The startTime to set.

Returns
Type Description
DailyMaintenanceWindow.Builder

This builder for chaining.

setStartTimeBytes(ByteString value)

public DailyMaintenanceWindow.Builder setStartTimeBytes(ByteString value)

Time within the maintenance window to start the maintenance operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.

string start_time = 2;

Parameter
Name Description
value ByteString

The bytes for startTime to set.

Returns
Type Description
DailyMaintenanceWindow.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DailyMaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DailyMaintenanceWindow.Builder
Overrides