Class DeployedModel.Status.Builder (3.56.0)

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.aiplatform.v1.DeployedModel.Status

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeployedModel.Status.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployedModel.Status.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public DeployedModel.Status.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeployedModel.Status.Builder
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];

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployedModel.Status.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeployedModel.Status.Builder
Overrides

clone()

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployedModel.Status.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployedModel.Status.Builder
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.

Returns
Type Description
DeployedModel.Status.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeployedModel.Status.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployedModel.Status.Builder
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];

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeployedModel.Status.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeployedModel.Status.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeployedModel.Status.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployedModel.Status.Builder
Overrides