Class DailyMaintenanceWindow.Builder (2.9.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.v1.DailyMaintenanceWindow

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DailyMaintenanceWindow build()
Returns
TypeDescription
DailyMaintenanceWindow

buildPartial()

public DailyMaintenanceWindow buildPartial()
Returns
TypeDescription
DailyMaintenanceWindow

clear()

public DailyMaintenanceWindow.Builder clear()
Returns
TypeDescription
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. Duration will be in RFC3339 format "PTnHnMnS".

string duration = 3;

Returns
TypeDescription
DailyMaintenanceWindow.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public DailyMaintenanceWindow.Builder clearStartTime()

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

string start_time = 2;

Returns
TypeDescription
DailyMaintenanceWindow.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DailyMaintenanceWindow getDefaultInstanceForType()
Returns
TypeDescription
DailyMaintenanceWindow

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDuration()

public String getDuration()

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

string duration = 3;

Returns
TypeDescription
String

The duration.

getDurationBytes()

public ByteString getDurationBytes()

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

string duration = 3;

Returns
TypeDescription
ByteString

The bytes for duration.

getStartTime()

public String getStartTime()

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

string start_time = 2;

Returns
TypeDescription
String

The startTime.

getStartTimeBytes()

public ByteString getStartTimeBytes()

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

string start_time = 2;

Returns
TypeDescription
ByteString

The bytes for startTime.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DailyMaintenanceWindow other)

public DailyMaintenanceWindow.Builder mergeFrom(DailyMaintenanceWindow other)
Parameter
NameDescription
otherDailyMaintenanceWindow
Returns
TypeDescription
DailyMaintenanceWindow.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DailyMaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DailyMaintenanceWindow.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DailyMaintenanceWindow.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DailyMaintenanceWindow.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DailyMaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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. Duration will be in RFC3339 format "PTnHnMnS".

string duration = 3;

Parameter
NameDescription
valueString

The duration to set.

Returns
TypeDescription
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. Duration will be in RFC3339 format "PTnHnMnS".

string duration = 3;

Parameter
NameDescription
valueByteString

The bytes for duration to set.

Returns
TypeDescription
DailyMaintenanceWindow.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DailyMaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DailyMaintenanceWindow.Builder
Overrides

setStartTime(String value)

public DailyMaintenanceWindow.Builder setStartTime(String value)

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

string start_time = 2;

Parameter
NameDescription
valueString

The startTime to set.

Returns
TypeDescription
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. Time format should be in RFC3339 format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.

string start_time = 2;

Parameter
NameDescription
valueByteString

The bytes for startTime to set.

Returns
TypeDescription
DailyMaintenanceWindow.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DailyMaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DailyMaintenanceWindow.Builder
Overrides