public static final class MaintenanceExclusionOptions.Builder extends GeneratedMessageV3.Builder<MaintenanceExclusionOptions.Builder> implements MaintenanceExclusionOptionsOrBuilder
Represents the Maintenance exclusion option.
Protobuf type google.container.v1beta1.MaintenanceExclusionOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceExclusionOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MaintenanceExclusionOptions build()
Returns
buildPartial()
public MaintenanceExclusionOptions buildPartial()
Returns
clear()
public MaintenanceExclusionOptions.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public MaintenanceExclusionOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceExclusionOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public MaintenanceExclusionOptions.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public MaintenanceExclusionOptions getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(MaintenanceExclusionOptions other)
public MaintenanceExclusionOptions.Builder mergeFrom(MaintenanceExclusionOptions other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceExclusionOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MaintenanceExclusionOptions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceExclusionOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceExclusionOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaintenanceExclusionOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceExclusionOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides