Class MaintenanceExclusionOptions.Builder (2.13.0)

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

Represents the Maintenance exclusion option.

Protobuf type google.container.v1.MaintenanceExclusionOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MaintenanceExclusionOptions build()
Returns
TypeDescription
MaintenanceExclusionOptions

buildPartial()

public MaintenanceExclusionOptions buildPartial()
Returns
TypeDescription
MaintenanceExclusionOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScope()

public MaintenanceExclusionOptions.Builder clearScope()

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

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

Returns
TypeDescription
MaintenanceExclusionOptions.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public MaintenanceExclusionOptions getDefaultInstanceForType()
Returns
TypeDescription
MaintenanceExclusionOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getScope()

public MaintenanceExclusionOptions.Scope getScope()

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

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

Returns
TypeDescription
MaintenanceExclusionOptions.Scope

The scope.

getScopeValue()

public int getScopeValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for scope.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MaintenanceExclusionOptions other)

public MaintenanceExclusionOptions.Builder mergeFrom(MaintenanceExclusionOptions other)
Parameter
NameDescription
otherMaintenanceExclusionOptions
Returns
TypeDescription
MaintenanceExclusionOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MaintenanceExclusionOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MaintenanceExclusionOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public MaintenanceExclusionOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1.MaintenanceExclusionOptions.Scope scope = 1;

Parameter
NameDescription
valueMaintenanceExclusionOptions.Scope

The scope to set.

Returns
TypeDescription
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.v1.MaintenanceExclusionOptions.Scope scope = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
MaintenanceExclusionOptions.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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