- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.2
- 0.2.2
- 0.1.1
public static final class LifecyclePolicy.Builder extends GeneratedMessageV3.Builder<LifecyclePolicy.Builder> implements LifecyclePolicyOrBuilder
LifecyclePolicy describes how to deal with task failures based on different conditions.
Protobuf type google.cloud.batch.v1alpha.LifecyclePolicy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LifecyclePolicy.BuilderImplements
LifecyclePolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LifecyclePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LifecyclePolicy.Builder |
build()
public LifecyclePolicy build()
Type | Description |
LifecyclePolicy |
buildPartial()
public LifecyclePolicy buildPartial()
Type | Description |
LifecyclePolicy |
clear()
public LifecyclePolicy.Builder clear()
Type | Description |
LifecyclePolicy.Builder |
clearAction()
public LifecyclePolicy.Builder clearAction()
Action to execute when ActionCondition is true.
.google.cloud.batch.v1alpha.LifecyclePolicy.Action action = 1;
Type | Description |
LifecyclePolicy.Builder | This builder for chaining. |
clearActionCondition()
public LifecyclePolicy.Builder clearActionCondition()
Conditions that decide why a task failure is dealt with a specific action.
.google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition action_condition = 2;
Type | Description |
LifecyclePolicy.Builder |
clearField(Descriptors.FieldDescriptor field)
public LifecyclePolicy.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
LifecyclePolicy.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LifecyclePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
LifecyclePolicy.Builder |
clone()
public LifecyclePolicy.Builder clone()
Type | Description |
LifecyclePolicy.Builder |
getAction()
public LifecyclePolicy.Action getAction()
Action to execute when ActionCondition is true.
.google.cloud.batch.v1alpha.LifecyclePolicy.Action action = 1;
Type | Description |
LifecyclePolicy.Action | The action. |
getActionCondition()
public LifecyclePolicy.ActionCondition getActionCondition()
Conditions that decide why a task failure is dealt with a specific action.
.google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition action_condition = 2;
Type | Description |
LifecyclePolicy.ActionCondition | The actionCondition. |
getActionConditionBuilder()
public LifecyclePolicy.ActionCondition.Builder getActionConditionBuilder()
Conditions that decide why a task failure is dealt with a specific action.
.google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition action_condition = 2;
Type | Description |
LifecyclePolicy.ActionCondition.Builder |
getActionConditionOrBuilder()
public LifecyclePolicy.ActionConditionOrBuilder getActionConditionOrBuilder()
Conditions that decide why a task failure is dealt with a specific action.
.google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition action_condition = 2;
Type | Description |
LifecyclePolicy.ActionConditionOrBuilder |
getActionValue()
public int getActionValue()
Action to execute when ActionCondition is true.
.google.cloud.batch.v1alpha.LifecyclePolicy.Action action = 1;
Type | Description |
int | The enum numeric value on the wire for action. |
getDefaultInstanceForType()
public LifecyclePolicy getDefaultInstanceForType()
Type | Description |
LifecyclePolicy |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
hasActionCondition()
public boolean hasActionCondition()
Conditions that decide why a task failure is dealt with a specific action.
.google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition action_condition = 2;
Type | Description |
boolean | Whether the actionCondition field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeActionCondition(LifecyclePolicy.ActionCondition value)
public LifecyclePolicy.Builder mergeActionCondition(LifecyclePolicy.ActionCondition value)
Conditions that decide why a task failure is dealt with a specific action.
.google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition action_condition = 2;
Name | Description |
value | LifecyclePolicy.ActionCondition |
Type | Description |
LifecyclePolicy.Builder |
mergeFrom(LifecyclePolicy other)
public LifecyclePolicy.Builder mergeFrom(LifecyclePolicy other)
Name | Description |
other | LifecyclePolicy |
Type | Description |
LifecyclePolicy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LifecyclePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LifecyclePolicy.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public LifecyclePolicy.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
LifecyclePolicy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LifecyclePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LifecyclePolicy.Builder |
setAction(LifecyclePolicy.Action value)
public LifecyclePolicy.Builder setAction(LifecyclePolicy.Action value)
Action to execute when ActionCondition is true.
.google.cloud.batch.v1alpha.LifecyclePolicy.Action action = 1;
Name | Description |
value | LifecyclePolicy.Action The action to set. |
Type | Description |
LifecyclePolicy.Builder | This builder for chaining. |
setActionCondition(LifecyclePolicy.ActionCondition value)
public LifecyclePolicy.Builder setActionCondition(LifecyclePolicy.ActionCondition value)
Conditions that decide why a task failure is dealt with a specific action.
.google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition action_condition = 2;
Name | Description |
value | LifecyclePolicy.ActionCondition |
Type | Description |
LifecyclePolicy.Builder |
setActionCondition(LifecyclePolicy.ActionCondition.Builder builderForValue)
public LifecyclePolicy.Builder setActionCondition(LifecyclePolicy.ActionCondition.Builder builderForValue)
Conditions that decide why a task failure is dealt with a specific action.
.google.cloud.batch.v1alpha.LifecyclePolicy.ActionCondition action_condition = 2;
Name | Description |
builderForValue | LifecyclePolicy.ActionCondition.Builder |
Type | Description |
LifecyclePolicy.Builder |
setActionValue(int value)
public LifecyclePolicy.Builder setActionValue(int value)
Action to execute when ActionCondition is true.
.google.cloud.batch.v1alpha.LifecyclePolicy.Action action = 1;
Name | Description |
value | int The enum numeric value on the wire for action to set. |
Type | Description |
LifecyclePolicy.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public LifecyclePolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LifecyclePolicy.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LifecyclePolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
LifecyclePolicy.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LifecyclePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LifecyclePolicy.Builder |