Class MaintenanceExclusionOptions.Builder (2.47.0)

public static final class MaintenanceExclusionOptions.Builder extends GeneratedMessageV3.Builder<MaintenanceExclusionOptions.Builder> implements MaintenanceExclusionOptionsOrBuilder

Represents the Maintenance exclusion option.

Protobuf type google.container.v1beta1.MaintenanceExclusionOptions

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MaintenanceExclusionOptions build()
Returns
Type Description
MaintenanceExclusionOptions

buildPartial()

public MaintenanceExclusionOptions buildPartial()
Returns
Type Description
MaintenanceExclusionOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScope()

public MaintenanceExclusionOptions.Builder clearScope()

Scope specifies the upgrade scope which upgrades are blocked by the exclusion.

.google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1;

Returns
Type Description
MaintenanceExclusionOptions.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public MaintenanceExclusionOptions getDefaultInstanceForType()
Returns
Type Description
MaintenanceExclusionOptions

getDescriptorForType()

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

getScope()

public MaintenanceExclusionOptions.Scope getScope()

Scope specifies the upgrade scope which upgrades are blocked by the exclusion.

.google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1;

Returns
Type Description
MaintenanceExclusionOptions.Scope

The scope.

getScopeValue()

public int getScopeValue()

Scope specifies the upgrade scope which upgrades are blocked by the exclusion.

.google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1;

Returns
Type Description
int

The enum numeric value on the wire for scope.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MaintenanceExclusionOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setScope(MaintenanceExclusionOptions.Scope value)

public MaintenanceExclusionOptions.Builder setScope(MaintenanceExclusionOptions.Scope value)

Scope specifies the upgrade scope which upgrades are blocked by the exclusion.

.google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1;

Parameter
Name Description
value MaintenanceExclusionOptions.Scope

The scope to set.

Returns
Type Description
MaintenanceExclusionOptions.Builder

This builder for chaining.

setScopeValue(int value)

public MaintenanceExclusionOptions.Builder setScopeValue(int value)

Scope specifies the upgrade scope which upgrades are blocked by the exclusion.

.google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1;

Parameter
Name Description
value int

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

Returns
Type Description
MaintenanceExclusionOptions.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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