Class MaintenanceExclusionOptions.Builder (2.73.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public static final class MaintenanceExclusionOptions . Builder extends GeneratedMessageV3 . Builder<MaintenanceExclusionOptions . Builder > implements MaintenanceExclusionOptionsOrBuilder
Represents the Maintenance exclusion option.
Protobuf type google.container.v1.MaintenanceExclusionOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceExclusionOptions . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public MaintenanceExclusionOptions build ()
buildPartial()
public MaintenanceExclusionOptions buildPartial ()
clear()
public MaintenanceExclusionOptions . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MaintenanceExclusionOptions . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceExclusionOptions . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
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;
clone()
public MaintenanceExclusionOptions . Builder clone ()
Overrides
getDefaultInstanceForType()
public MaintenanceExclusionOptions getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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;
getScopeValue()
public int getScopeValue ()
Scope specifies the upgrade scope which upgrades are blocked by the
exclusion.
.google.container.v1.MaintenanceExclusionOptions.Scope scope = 1;
Returns
Type
Description
int
The enum numeric value on the wire for scope.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(MaintenanceExclusionOptions other)
public MaintenanceExclusionOptions . Builder mergeFrom ( MaintenanceExclusionOptions other )
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceExclusionOptions . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public MaintenanceExclusionOptions . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceExclusionOptions . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceExclusionOptions . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaintenanceExclusionOptions . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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;
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
Name
Description
value
int
The enum numeric value on the wire for scope to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceExclusionOptions . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]