Send feedback
Class AutomaticResources (3.29.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.29.0 keyboard_arrow_down
public final class AutomaticResources extends GeneratedMessageV3 implements AutomaticResourcesOrBuilder
A description of resources that to large degree are decided by Vertex AI,
and require only a modest additional configuration.
Each Model supporting these resources documents its specific guidelines.
Protobuf type google.cloud.aiplatform.v1beta1.AutomaticResources
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>)
Static Fields
public static final int MAX_REPLICA_COUNT_FIELD_NUMBER
Field Value Type Description int
public static final int MIN_REPLICA_COUNT_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static AutomaticResources getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static AutomaticResources . Builder newBuilder ()
public static AutomaticResources . Builder newBuilder ( AutomaticResources prototype )
public static AutomaticResources parseDelimitedFrom ( InputStream input )
public static AutomaticResources parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AutomaticResources parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static AutomaticResources parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static AutomaticResources parseFrom ( ByteString data )
public static AutomaticResources parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AutomaticResources parseFrom ( CodedInputStream input )
public static AutomaticResources parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AutomaticResources parseFrom ( InputStream input )
public static AutomaticResources parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AutomaticResources parseFrom ( ByteBuffer data )
public static AutomaticResources parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<AutomaticResources> parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public AutomaticResources getDefaultInstanceForType ()
public int getMaxReplicaCount ()
Immutable. The maximum number of replicas this DeployedModel may be
deployed on when the traffic against it increases. If the requested value
is too large, the deployment will error, but if deployment succeeds then
the ability to scale the model to that many replicas is guaranteed (barring
service outages). If traffic against the DeployedModel increases beyond
what its replicas at maximum may handle, a portion of the traffic will be
dropped. If this value is not provided, a no upper bound for scaling under
heavy traffic will be assume, though Vertex AI may be unable to scale
beyond certain replica number.
int32 max_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns Type Description int
The maxReplicaCount.
public int getMinReplicaCount ()
Immutable. The minimum number of replicas this DeployedModel will be always
deployed on. If traffic against it increases, it may dynamically be
deployed onto more replicas up to
max_replica_count ,
and as traffic decreases, some of these extra replicas may be freed. If the
requested value is too large, the deployment will error.
int32 min_replica_count = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns Type Description int
The minReplicaCount.
public Parser<AutomaticResources> 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 AutomaticResources . Builder newBuilderForType ()
protected AutomaticResources . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public AutomaticResources . 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 2024-09-19 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-19 UTC."}
[[["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 2024-09-19 UTC."]]