Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see
Model versions and lifecycle .
Send feedback
Class DeployedModel.Status.Builder (1.20.1)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class DeployedModel . Status . Builder extends GeneratedMessageV3 . Builder<DeployedModel . Status . Builder > implements DeployedModel . StatusOrBuilder
Runtime status of the deployed model.
Protobuf type google.cloud.vertexai.v1.DeployedModel.Status
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeployedModel . Status . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public DeployedModel . Status build ()
buildPartial()
public DeployedModel . Status buildPartial ()
clear()
public DeployedModel . Status . Builder clear ()
Overrides
clearAvailableReplicaCount()
public DeployedModel . Status . Builder clearAvailableReplicaCount ()
Output only. The number of available replicas of the deployed model.
int32 available_replica_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public DeployedModel . Status . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearLastUpdateTime()
public DeployedModel . Status . Builder clearLastUpdateTime ()
Output only. The time at which the status was last updated.
.google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearMessage()
public DeployedModel . Status . Builder clearMessage ()
Output only. The latest deployed model's status message (if any).
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearOneof(Descriptors.OneofDescriptor oneof)
public DeployedModel . Status . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public DeployedModel . Status . Builder clone ()
Overrides
getAvailableReplicaCount()
public int getAvailableReplicaCount ()
Output only. The number of available replicas of the deployed model.
int32 available_replica_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The availableReplicaCount.
getDefaultInstanceForType()
public DeployedModel . Status getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getLastUpdateTime()
public Timestamp getLastUpdateTime ()
Output only. The time at which the status was last updated.
.google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
Timestamp
The lastUpdateTime.
getLastUpdateTimeBuilder()
public Timestamp . Builder getLastUpdateTimeBuilder ()
Output only. The time at which the status was last updated.
.google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastUpdateTimeOrBuilder()
public TimestampOrBuilder getLastUpdateTimeOrBuilder ()
Output only. The time at which the status was last updated.
.google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMessage()
public String getMessage ()
Output only. The latest deployed model's status message (if any).
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The message.
getMessageBytes()
public ByteString getMessageBytes ()
Output only. The latest deployed model's status message (if any).
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for message.
hasLastUpdateTime()
public boolean hasLastUpdateTime ()
Output only. The time at which the status was last updated.
.google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the lastUpdateTime field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(DeployedModel.Status other)
public DeployedModel . Status . Builder mergeFrom ( DeployedModel . Status other )
public DeployedModel . Status . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public DeployedModel . Status . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeLastUpdateTime(Timestamp value)
public DeployedModel . Status . Builder mergeLastUpdateTime ( Timestamp value )
Output only. The time at which the status was last updated.
.google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeployedModel . Status . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setAvailableReplicaCount(int value)
public DeployedModel . Status . Builder setAvailableReplicaCount ( int value )
Output only. The number of available replicas of the deployed model.
int32 available_replica_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
value
int
The availableReplicaCount to set.
setField(Descriptors.FieldDescriptor field, Object value)
public DeployedModel . Status . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setLastUpdateTime(Timestamp value)
public DeployedModel . Status . Builder setLastUpdateTime ( Timestamp value )
Output only. The time at which the status was last updated.
.google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setLastUpdateTime(Timestamp.Builder builderForValue)
public DeployedModel . Status . Builder setLastUpdateTime ( Timestamp . Builder builderForValue )
Output only. The time at which the status was last updated.
.google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
builderForValue
Builder
setMessage(String value)
public DeployedModel . Status . Builder setMessage ( String value )
Output only. The latest deployed model's status message (if any).
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
value
String
The message to set.
setMessageBytes(ByteString value)
public DeployedModel . Status . Builder setMessageBytes ( ByteString value )
Output only. The latest deployed model's status message (if any).
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
value
ByteString
The bytes for message to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeployedModel . Status . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeployedModel . Status . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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-04-28 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-04-28 UTC."],[],[]]