Class DeployedModel.Status.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Status.Builder>
com.google.cloud.aiplatform.v1.DeployedModel.Status.Builder
All Implemented Interfaces:
DeployedModel.StatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DeployedModel.Status

public static final class DeployedModel.Status.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Status.Builder> implements DeployedModel.StatusOrBuilder
 Runtime status of the deployed model.
 
Protobuf type google.cloud.aiplatform.v1.DeployedModel.Status
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Status.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Status.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Status.Builder>
    • getDefaultInstanceForType

      public DeployedModel.Status getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DeployedModel.Status build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DeployedModel.Status buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DeployedModel.Status.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeployedModel.Status.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Status.Builder>
    • mergeFrom

      public DeployedModel.Status.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeployedModel.Status.Builder>
      Throws:
      IOException
    • getMessage

      public String getMessage()
       Output only. The latest deployed model's status message (if any).
       
      string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessage in interface DeployedModel.StatusOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Output only. The latest deployed model's status message (if any).
       
      string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessageBytes in interface DeployedModel.StatusOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      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];
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setMessageBytes

      public DeployedModel.Status.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Output only. The latest deployed model's status message (if any).
       
      string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasLastUpdateTime in interface DeployedModel.StatusOrBuilder
      Returns:
      Whether the lastUpdateTime field is set.
    • getLastUpdateTime

      public com.google.protobuf.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];
      Specified by:
      getLastUpdateTime in interface DeployedModel.StatusOrBuilder
      Returns:
      The lastUpdateTime.
    • setLastUpdateTime

      public DeployedModel.Status.Builder setLastUpdateTime(com.google.protobuf.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

      public DeployedModel.Status.Builder setLastUpdateTime(com.google.protobuf.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];
    • mergeLastUpdateTime

      public DeployedModel.Status.Builder mergeLastUpdateTime(com.google.protobuf.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];
    • 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];
    • getLastUpdateTimeBuilder

      public com.google.protobuf.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 com.google.protobuf.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];
      Specified by:
      getLastUpdateTimeOrBuilder in interface DeployedModel.StatusOrBuilder
    • 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];
      Specified by:
      getAvailableReplicaCount in interface DeployedModel.StatusOrBuilder
      Returns:
      The availableReplicaCount.
    • setAvailableReplicaCount

      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];
      Parameters:
      value - The availableReplicaCount to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.