Send feedback
Class ErrorBudget (0.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
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
Send feedback
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-09-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]