public static final class GoldengateMaintenanceWindow.Builder extends GeneratedMessage.Builder<GoldengateMaintenanceWindow.Builder> implements GoldengateMaintenanceWindowOrBuilderThe maintenance window of the GoldengateDeployment.
Protobuf type google.cloud.oracledatabase.v1.GoldengateMaintenanceWindow
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GoldengateMaintenanceWindow.BuilderImplements
GoldengateMaintenanceWindowOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GoldengateMaintenanceWindow.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GoldengateMaintenanceWindow.Builder |
|
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.DayOfWeekThe 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 |
intThe 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 |
intThe startHour to set. |
| Returns | |
|---|---|
| Type | Description |
GoldengateMaintenanceWindow.Builder |
This builder for chaining. |