public static final class WeeklyMaintenanceWindow.Builder extends GeneratedMessage.Builder<WeeklyMaintenanceWindow.Builder> implements WeeklyMaintenanceWindowOrBuilderTime window specified for weekly operations.
Protobuf type google.cloud.memorystore.v1.WeeklyMaintenanceWindow
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WeeklyMaintenanceWindow.BuilderImplements
WeeklyMaintenanceWindowOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public WeeklyMaintenanceWindow build()| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow |
|
buildPartial()
public WeeklyMaintenanceWindow buildPartial()| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow |
|
clear()
public WeeklyMaintenanceWindow.Builder clear()| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow.Builder |
|
clearDay()
public WeeklyMaintenanceWindow.Builder clearDay()Optional. Allows to define schedule that runs specified day of the week.
.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow.Builder |
This builder for chaining. |
clearStartTime()
public WeeklyMaintenanceWindow.Builder clearStartTime()Optional. Start time of the window in UTC.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow.Builder |
|
getDay()
public DayOfWeek getDay()Optional. Allows to define schedule that runs specified day of the week.
.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.DayOfWeek |
The day. |
getDayValue()
public int getDayValue()Optional. Allows to define schedule that runs specified day of the week.
.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for day. |
getDefaultInstanceForType()
public WeeklyMaintenanceWindow getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getStartTime()
public TimeOfDay getStartTime()Optional. Start time of the window in UTC.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDay |
The startTime. |
getStartTimeBuilder()
public TimeOfDay.Builder getStartTimeBuilder()Optional. Start time of the window in UTC.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDay.Builder |
|
getStartTimeOrBuilder()
public TimeOfDayOrBuilder getStartTimeOrBuilder()Optional. Start time of the window in UTC.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.TimeOfDayOrBuilder |
|
hasStartTime()
public boolean hasStartTime()Optional. Start time of the window in UTC.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(WeeklyMaintenanceWindow other)
public WeeklyMaintenanceWindow.Builder mergeFrom(WeeklyMaintenanceWindow other)| Parameter | |
|---|---|
| Name | Description |
other |
WeeklyMaintenanceWindow |
| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WeeklyMaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WeeklyMaintenanceWindow.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow.Builder |
|
mergeStartTime(TimeOfDay value)
public WeeklyMaintenanceWindow.Builder mergeStartTime(TimeOfDay value)Optional. Start time of the window in UTC.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.TimeOfDay |
| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow.Builder |
|
setDay(DayOfWeek value)
public WeeklyMaintenanceWindow.Builder setDay(DayOfWeek value)Optional. Allows to define schedule that runs specified day of the week.
.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.DayOfWeekThe day to set. |
| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow.Builder |
This builder for chaining. |
setDayValue(int value)
public WeeklyMaintenanceWindow.Builder setDayValue(int value)Optional. Allows to define schedule that runs specified day of the week.
.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for day to set. |
| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow.Builder |
This builder for chaining. |
setStartTime(TimeOfDay value)
public WeeklyMaintenanceWindow.Builder setStartTime(TimeOfDay value)Optional. Start time of the window in UTC.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.TimeOfDay |
| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow.Builder |
|
setStartTime(TimeOfDay.Builder builderForValue)
public WeeklyMaintenanceWindow.Builder setStartTime(TimeOfDay.Builder builderForValue)Optional. Start time of the window in UTC.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.TimeOfDay.Builder |
| Returns | |
|---|---|
| Type | Description |
WeeklyMaintenanceWindow.Builder |
|