public static final class MaintenanceExclusionOptions.Builder extends GeneratedMessage.Builder<MaintenanceExclusionOptions.Builder> implements MaintenanceExclusionOptionsOrBuilderRepresents the Maintenance exclusion option.
Protobuf type google.container.v1beta1.MaintenanceExclusionOptions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MaintenanceExclusionOptions.BuilderImplements
MaintenanceExclusionOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearEndTimeBehavior()
public MaintenanceExclusionOptions.Builder clearEndTimeBehavior()EndTimeBehavior specifies the behavior of the exclusion end time.
.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2;
| Returns | |
|---|---|
| Type | Description |
MaintenanceExclusionOptions.Builder |
This builder for chaining. |
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. |
getDefaultInstanceForType()
public MaintenanceExclusionOptions getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MaintenanceExclusionOptions |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTimeBehavior()
public MaintenanceExclusionOptions.EndTimeBehavior getEndTimeBehavior()EndTimeBehavior specifies the behavior of the exclusion end time.
.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2;
| Returns | |
|---|---|
| Type | Description |
MaintenanceExclusionOptions.EndTimeBehavior |
The endTimeBehavior. |
getEndTimeBehaviorValue()
public int getEndTimeBehaviorValue()EndTimeBehavior specifies the behavior of the exclusion end time.
.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for endTimeBehavior. |
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MaintenanceExclusionOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MaintenanceExclusionOptions.Builder |
|
setEndTimeBehavior(MaintenanceExclusionOptions.EndTimeBehavior value)
public MaintenanceExclusionOptions.Builder setEndTimeBehavior(MaintenanceExclusionOptions.EndTimeBehavior value)EndTimeBehavior specifies the behavior of the exclusion end time.
.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
MaintenanceExclusionOptions.EndTimeBehaviorThe endTimeBehavior to set. |
| Returns | |
|---|---|
| Type | Description |
MaintenanceExclusionOptions.Builder |
This builder for chaining. |
setEndTimeBehaviorValue(int value)
public MaintenanceExclusionOptions.Builder setEndTimeBehaviorValue(int value)EndTimeBehavior specifies the behavior of the exclusion end time.
.google.container.v1beta1.MaintenanceExclusionOptions.EndTimeBehavior end_time_behavior = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for endTimeBehavior to set. |
| Returns | |
|---|---|
| Type | Description |
MaintenanceExclusionOptions.Builder |
This builder for chaining. |
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.ScopeThe 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 |
intThe enum numeric value on the wire for scope to set. |
| Returns | |
|---|---|
| Type | Description |
MaintenanceExclusionOptions.Builder |
This builder for chaining. |