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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DailyMaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DailyMaintenanceWindow build()
Returns
buildPartial()
public DailyMaintenanceWindow buildPartial()
Returns
clear()
public DailyMaintenanceWindow.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public DailyMaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DailyMaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public DailyMaintenanceWindow.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DailyMaintenanceWindow getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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.
Duration will be in RFC3339
format "PTnHnMnS".
string duration = 3;
Returns
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
Type | Description |
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DailyMaintenanceWindow other)
public DailyMaintenanceWindow.Builder mergeFrom(DailyMaintenanceWindow other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DailyMaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DailyMaintenanceWindow.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DailyMaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Name | Description |
value | String
The duration to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for duration to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DailyMaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DailyMaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Name | Description |
value | String
The startTime to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for startTime to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final DailyMaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides