public static final class DailyMaintenanceWindow.Builder extends GeneratedMessage.Builder<DailyMaintenanceWindow.Builder> implements DailyMaintenanceWindowOrBuilderTime window specified for daily maintenance operations.
Protobuf type google.container.v1beta1.DailyMaintenanceWindow
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DailyMaintenanceWindow.BuilderImplements
DailyMaintenanceWindowOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DailyMaintenanceWindow.Builder |
This builder for chaining. |
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. |
getDefaultInstanceForType()
public DailyMaintenanceWindow getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DailyMaintenanceWindow |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDuration()
public String getDuration()Output only. Duration of the time window, automatically chosen to be smallest possible in the given scenario.
string duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DailyMaintenanceWindow.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DailyMaintenanceWindow.Builder |
|
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for duration to set. |
| Returns | |
|---|---|
| Type | Description |
DailyMaintenanceWindow.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for startTime to set. |
| Returns | |
|---|---|
| Type | Description |
DailyMaintenanceWindow.Builder |
This builder for chaining. |