Class MaintenanceWindow.Builder (0.50.0)

public static final class MaintenanceWindow.Builder extends GeneratedMessageV3.Builder<MaintenanceWindow.Builder> implements MaintenanceWindowOrBuilder

Maintenance window configuration

Protobuf type google.cloud.edgecontainer.v1.MaintenanceWindow

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MaintenanceWindow.Builder
Overrides

build()

public MaintenanceWindow build()
Returns
Type Description
MaintenanceWindow

buildPartial()

public MaintenanceWindow buildPartial()
Returns
Type Description
MaintenanceWindow

clear()

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

clearField(Descriptors.FieldDescriptor field)

public MaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MaintenanceWindow.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MaintenanceWindow.Builder
Overrides

clearRecurringWindow()

public MaintenanceWindow.Builder clearRecurringWindow()

Configuration of a recurring maintenance window.

.google.cloud.edgecontainer.v1.RecurringTimeWindow recurring_window = 1;

Returns
Type Description
MaintenanceWindow.Builder

clone()

public MaintenanceWindow.Builder clone()
Returns
Type Description
MaintenanceWindow.Builder
Overrides

getDefaultInstanceForType()

public MaintenanceWindow getDefaultInstanceForType()
Returns
Type Description
MaintenanceWindow

getDescriptorForType()

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

getRecurringWindow()

public RecurringTimeWindow getRecurringWindow()

Configuration of a recurring maintenance window.

.google.cloud.edgecontainer.v1.RecurringTimeWindow recurring_window = 1;

Returns
Type Description
RecurringTimeWindow

The recurringWindow.

getRecurringWindowBuilder()

public RecurringTimeWindow.Builder getRecurringWindowBuilder()

Configuration of a recurring maintenance window.

.google.cloud.edgecontainer.v1.RecurringTimeWindow recurring_window = 1;

Returns
Type Description
RecurringTimeWindow.Builder

getRecurringWindowOrBuilder()

public RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder()

Configuration of a recurring maintenance window.

.google.cloud.edgecontainer.v1.RecurringTimeWindow recurring_window = 1;

Returns
Type Description
RecurringTimeWindowOrBuilder

hasRecurringWindow()

public boolean hasRecurringWindow()

Configuration of a recurring maintenance window.

.google.cloud.edgecontainer.v1.RecurringTimeWindow recurring_window = 1;

Returns
Type Description
boolean

Whether the recurringWindow field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MaintenanceWindow other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRecurringWindow(RecurringTimeWindow value)

public MaintenanceWindow.Builder mergeRecurringWindow(RecurringTimeWindow value)

Configuration of a recurring maintenance window.

.google.cloud.edgecontainer.v1.RecurringTimeWindow recurring_window = 1;

Parameter
Name Description
value RecurringTimeWindow
Returns
Type Description
MaintenanceWindow.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MaintenanceWindow.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MaintenanceWindow.Builder
Overrides

setRecurringWindow(RecurringTimeWindow value)

public MaintenanceWindow.Builder setRecurringWindow(RecurringTimeWindow value)

Configuration of a recurring maintenance window.

.google.cloud.edgecontainer.v1.RecurringTimeWindow recurring_window = 1;

Parameter
Name Description
value RecurringTimeWindow
Returns
Type Description
MaintenanceWindow.Builder

setRecurringWindow(RecurringTimeWindow.Builder builderForValue)

public MaintenanceWindow.Builder setRecurringWindow(RecurringTimeWindow.Builder builderForValue)

Configuration of a recurring maintenance window.

.google.cloud.edgecontainer.v1.RecurringTimeWindow recurring_window = 1;

Parameter
Name Description
builderForValue RecurringTimeWindow.Builder
Returns
Type Description
MaintenanceWindow.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MaintenanceWindow.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MaintenanceWindow.Builder
Overrides