Class GoldengateMaintenanceWindow.Builder (0.42.0)

public static final class GoldengateMaintenanceWindow.Builder extends GeneratedMessage.Builder<GoldengateMaintenanceWindow.Builder> implements GoldengateMaintenanceWindowOrBuilder

The maintenance window of the GoldengateDeployment.

Protobuf type google.cloud.oracledatabase.v1.GoldengateMaintenanceWindow

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateMaintenanceWindow build()
Returns
Type Description
GoldengateMaintenanceWindow

buildPartial()

public GoldengateMaintenanceWindow buildPartial()
Returns
Type Description
GoldengateMaintenanceWindow

clear()

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

clearDay()

public GoldengateMaintenanceWindow.Builder clearDay()

Required. Days of the week.

.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoldengateMaintenanceWindow.Builder

This builder for chaining.

clearStartHour()

public GoldengateMaintenanceWindow.Builder clearStartHour()

Required. Start hour for maintenance period. Hour is in UTC.

int32 start_hour = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoldengateMaintenanceWindow.Builder

This builder for chaining.

getDay()

public DayOfWeek getDay()

Required. Days of the week.

.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.DayOfWeek

The day.

getDayValue()

public int getDayValue()

Required. Days of the week.

.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for day.

getDefaultInstanceForType()

public GoldengateMaintenanceWindow getDefaultInstanceForType()
Returns
Type Description
GoldengateMaintenanceWindow

getDescriptorForType()

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

getStartHour()

public int getStartHour()

Required. Start hour for maintenance period. Hour is in UTC.

int32 start_hour = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The startHour.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoldengateMaintenanceWindow other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDay(DayOfWeek value)

public GoldengateMaintenanceWindow.Builder setDay(DayOfWeek value)

Required. Days of the week.

.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value com.google.type.DayOfWeek

The day to set.

Returns
Type Description
GoldengateMaintenanceWindow.Builder

This builder for chaining.

setDayValue(int value)

public GoldengateMaintenanceWindow.Builder setDayValue(int value)

Required. Days of the week.

.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for day to set.

Returns
Type Description
GoldengateMaintenanceWindow.Builder

This builder for chaining.

setStartHour(int value)

public GoldengateMaintenanceWindow.Builder setStartHour(int value)

Required. Start hour for maintenance period. Hour is in UTC.

int32 start_hour = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The startHour to set.

Returns
Type Description
GoldengateMaintenanceWindow.Builder

This builder for chaining.