public static final class DurationLimits.Builder extends GeneratedMessage.Builder<DurationLimits.Builder> implements DurationLimitsOrBuilderDurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system.
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1.DurationLimits
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DurationLimits.BuilderImplements
DurationLimitsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DurationLimits build()| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
buildPartial()
public DurationLimits buildPartial()| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
clear()
public DurationLimits.Builder clear()| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|
clearUnitOperationTimeout()
public DurationLimits.Builder clearUnitOperationTimeout()Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state.
- Minimum value: 60 seconds (1 minute)
Maximum value: 604800 seconds (7 days)
If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours).
Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.
.google.protobuf.Duration unit_operation_timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|
getDefaultInstanceForType()
public DurationLimits getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUnitOperationTimeout()
public Duration getUnitOperationTimeout()Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state.
- Minimum value: 60 seconds (1 minute)
Maximum value: 604800 seconds (7 days)
If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours).
Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.
.google.protobuf.Duration unit_operation_timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Duration |
The unitOperationTimeout. |
getUnitOperationTimeoutBuilder()
public Duration.Builder getUnitOperationTimeoutBuilder()Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state.
- Minimum value: 60 seconds (1 minute)
Maximum value: 604800 seconds (7 days)
If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours).
Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.
.google.protobuf.Duration unit_operation_timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUnitOperationTimeoutOrBuilder()
public DurationOrBuilder getUnitOperationTimeoutOrBuilder()Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state.
- Minimum value: 60 seconds (1 minute)
Maximum value: 604800 seconds (7 days)
If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours).
Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.
.google.protobuf.Duration unit_operation_timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasUnitOperationTimeout()
public boolean hasUnitOperationTimeout()Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state.
- Minimum value: 60 seconds (1 minute)
Maximum value: 604800 seconds (7 days)
If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours).
Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.
.google.protobuf.Duration unit_operation_timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the unitOperationTimeout field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DurationLimits other)
public DurationLimits.Builder mergeFrom(DurationLimits other)| Parameter | |
|---|---|
| Name | Description |
other |
DurationLimits |
| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DurationLimits.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DurationLimits.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|
mergeUnitOperationTimeout(Duration value)
public DurationLimits.Builder mergeUnitOperationTimeout(Duration value)Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state.
- Minimum value: 60 seconds (1 minute)
Maximum value: 604800 seconds (7 days)
If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours).
Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.
.google.protobuf.Duration unit_operation_timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|
setUnitOperationTimeout(Duration value)
public DurationLimits.Builder setUnitOperationTimeout(Duration value)Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state.
- Minimum value: 60 seconds (1 minute)
Maximum value: 604800 seconds (7 days)
If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours).
Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.
.google.protobuf.Duration unit_operation_timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|
setUnitOperationTimeout(Duration.Builder builderForValue)
public DurationLimits.Builder setUnitOperationTimeout(Duration.Builder builderForValue)Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state.
- Minimum value: 60 seconds (1 minute)
Maximum value: 604800 seconds (7 days)
If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours).
Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.
.google.protobuf.Duration unit_operation_timeout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|