Class DeployedModel.Status.Builder (3.84.0)

public static final class DeployedModel.Status.Builder extends GeneratedMessage.Builder<DeployedModel.Status.Builder> implements DeployedModel.StatusOrBuilder

Runtime status of the deployed model.

Protobuf type google.cloud.aiplatform.v1.DeployedModel.Status

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DeployedModel.Status build()
Returns
Type Description
DeployedModel.Status

buildPartial()

public DeployedModel.Status buildPartial()
Returns
Type Description
DeployedModel.Status

clear()

public DeployedModel.Status.Builder clear()
Returns
Type Description
DeployedModel.Status.Builder
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];

Returns
Type Description
DeployedModel.Status.Builder

This builder for chaining.

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];

Returns
Type Description
DeployedModel.Status.Builder

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];

Returns
Type Description
DeployedModel.Status.Builder

This builder for chaining.

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()
Returns
Type Description
DeployedModel.Status

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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];

Returns
Type Description
Builder

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];

Returns
Type Description
TimestampOrBuilder

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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeployedModel.Status other)

public DeployedModel.Status.Builder mergeFrom(DeployedModel.Status other)
Parameter
Name Description
other DeployedModel.Status
Returns
Type Description
DeployedModel.Status.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeployedModel.Status.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployedModel.Status.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeployedModel.Status.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeployedModel.Status.Builder
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];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeployedModel.Status.Builder

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.

Returns
Type Description
DeployedModel.Status.Builder

This builder for chaining.

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeployedModel.Status.Builder

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
Returns
Type Description
DeployedModel.Status.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.

Returns
Type Description
DeployedModel.Status.Builder

This builder for chaining.

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.

Returns
Type Description
DeployedModel.Status.Builder

This builder for chaining.