Class ErrorBudget (0.2.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
public final class ErrorBudget extends GeneratedMessageV3 implements ErrorBudgetOrBuilder
The configuration for error budget. If the number of failed units exceeds
max(allowed_count, allowed_ratio * total_units), the rollout will be paused.
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudget
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ALLOWED_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ALLOWED_PERCENTAGE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ErrorBudget getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ErrorBudget . Builder newBuilder ()
public static ErrorBudget . Builder newBuilder ( ErrorBudget prototype )
public static ErrorBudget parseDelimitedFrom ( InputStream input )
public static ErrorBudget parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ErrorBudget parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ErrorBudget parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ErrorBudget parseFrom ( ByteString data )
public static ErrorBudget parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ErrorBudget parseFrom ( CodedInputStream input )
public static ErrorBudget parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ErrorBudget parseFrom ( InputStream input )
public static ErrorBudget parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ErrorBudget parseFrom ( ByteBuffer data )
public static ErrorBudget parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ErrorBudget> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public int getAllowedCount ()
Optional. The maximum number of failed units allowed in a location without
pausing the rollout.
int32 allowed_count = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The allowedCount.
public int getAllowedPercentage ()
Optional. The maximum percentage of units allowed to fail (0, 100] within a
location without pausing the rollout.
int32 allowed_percentage = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The allowedPercentage.
public ErrorBudget getDefaultInstanceForType ()
public Parser<ErrorBudget> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ErrorBudget . Builder newBuilderForType ()
protected ErrorBudget . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ErrorBudget . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,[]]