Class MaintenanceWindow.Builder (0.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MaintenanceWindow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MaintenanceWindow.Builder
Overrides

build()

public MaintenanceWindow build()
Returns
TypeDescription
MaintenanceWindow

buildPartial()

public MaintenanceWindow buildPartial()
Returns
TypeDescription
MaintenanceWindow

clear()

public MaintenanceWindow.Builder clear()
Returns
TypeDescription
MaintenanceWindow.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MaintenanceWindow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MaintenanceWindow.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MaintenanceWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MaintenanceWindow.Builder
Overrides

clearRecurringWindow()

public MaintenanceWindow.Builder clearRecurringWindow()

Configuration of a recurring maintenance window.

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

Returns
TypeDescription
MaintenanceWindow.Builder

clone()

public MaintenanceWindow.Builder clone()
Returns
TypeDescription
MaintenanceWindow.Builder
Overrides

getDefaultInstanceForType()

public MaintenanceWindow getDefaultInstanceForType()
Returns
TypeDescription
MaintenanceWindow

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRecurringWindow()

public RecurringTimeWindow getRecurringWindow()

Configuration of a recurring maintenance window.

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

Returns
TypeDescription
RecurringTimeWindow

The recurringWindow.

getRecurringWindowBuilder()

public RecurringTimeWindow.Builder getRecurringWindowBuilder()

Configuration of a recurring maintenance window.

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

Returns
TypeDescription
RecurringTimeWindow.Builder

getRecurringWindowOrBuilder()

public RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder()

Configuration of a recurring maintenance window.

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

Returns
TypeDescription
RecurringTimeWindowOrBuilder

hasRecurringWindow()

public boolean hasRecurringWindow()

Configuration of a recurring maintenance window.

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

Returns
TypeDescription
boolean

Whether the recurringWindow field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MaintenanceWindow other)

public MaintenanceWindow.Builder mergeFrom(MaintenanceWindow other)
Parameter
NameDescription
otherMaintenanceWindow
Returns
TypeDescription
MaintenanceWindow.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MaintenanceWindow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MaintenanceWindow.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MaintenanceWindow.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRecurringTimeWindow
Returns
TypeDescription
MaintenanceWindow.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MaintenanceWindow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MaintenanceWindow.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MaintenanceWindow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRecurringTimeWindow
Returns
TypeDescription
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
NameDescription
builderForValueRecurringTimeWindow.Builder
Returns
TypeDescription
MaintenanceWindow.Builder

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

public MaintenanceWindow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MaintenanceWindow.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MaintenanceWindow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MaintenanceWindow.Builder
Overrides