public final class DurationLimits extends GeneratedMessage 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
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DurationLimitsImplements
DurationLimitsOrBuilderStatic Fields
UNIT_OPERATION_TIMEOUT_FIELD_NUMBER
public static final int UNIT_OPERATION_TIMEOUT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static DurationLimits getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static DurationLimits.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|
newBuilder(DurationLimits prototype)
public static DurationLimits.Builder newBuilder(DurationLimits prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
DurationLimits |
| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|
parseDelimitedFrom(InputStream input)
public static DurationLimits parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DurationLimits parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static DurationLimits parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DurationLimits parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static DurationLimits parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DurationLimits parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static DurationLimits parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DurationLimits parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static DurationLimits parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DurationLimits parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static DurationLimits parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DurationLimits parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<DurationLimits> parser()| Returns | |
|---|---|
| Type | Description |
Parser<DurationLimits> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public DurationLimits getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DurationLimits |
|
getParserForType()
public Parser<DurationLimits> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<DurationLimits> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public DurationLimits.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DurationLimits.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|
toBuilder()
public DurationLimits.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
DurationLimits.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|