Class MlInference.GetInferenceRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<MlInference.GetInferenceRequest,MlInference.GetInferenceRequest.Builder>
viam.app.mlinference.v1.MlInference.GetInferenceRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, MlInference.GetInferenceRequestOrBuilder
Enclosing class:
MlInference.GetInferenceRequest

public static final class MlInference.GetInferenceRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<MlInference.GetInferenceRequest,MlInference.GetInferenceRequest.Builder> implements MlInference.GetInferenceRequestOrBuilder
Protobuf type viam.app.mlinference.v1.GetInferenceRequest
  • Method Details

    • getRegistryItemId

      public String getRegistryItemId()
       The model framework and model type are inferred from the ML model registry item;
       For valid model types (classification, detections) we will return the formatted
       labels or annotations from the associated inference outputs.
       
      string registry_item_id = 1 [json_name = "registryItemId"];
      Specified by:
      getRegistryItemId in interface MlInference.GetInferenceRequestOrBuilder
      Returns:
      The registryItemId.
    • getRegistryItemIdBytes

      public com.google.protobuf.ByteString getRegistryItemIdBytes()
       The model framework and model type are inferred from the ML model registry item;
       For valid model types (classification, detections) we will return the formatted
       labels or annotations from the associated inference outputs.
       
      string registry_item_id = 1 [json_name = "registryItemId"];
      Specified by:
      getRegistryItemIdBytes in interface MlInference.GetInferenceRequestOrBuilder
      Returns:
      The bytes for registryItemId.
    • setRegistryItemId

      public MlInference.GetInferenceRequest.Builder setRegistryItemId(String value)
       The model framework and model type are inferred from the ML model registry item;
       For valid model types (classification, detections) we will return the formatted
       labels or annotations from the associated inference outputs.
       
      string registry_item_id = 1 [json_name = "registryItemId"];
      Parameters:
      value - The registryItemId to set.
      Returns:
      This builder for chaining.
    • clearRegistryItemId

      public MlInference.GetInferenceRequest.Builder clearRegistryItemId()
       The model framework and model type are inferred from the ML model registry item;
       For valid model types (classification, detections) we will return the formatted
       labels or annotations from the associated inference outputs.
       
      string registry_item_id = 1 [json_name = "registryItemId"];
      Returns:
      This builder for chaining.
    • setRegistryItemIdBytes

      public MlInference.GetInferenceRequest.Builder setRegistryItemIdBytes(com.google.protobuf.ByteString value)
       The model framework and model type are inferred from the ML model registry item;
       For valid model types (classification, detections) we will return the formatted
       labels or annotations from the associated inference outputs.
       
      string registry_item_id = 1 [json_name = "registryItemId"];
      Parameters:
      value - The bytes for registryItemId to set.
      Returns:
      This builder for chaining.
    • getRegistryItemVersion

      public String getRegistryItemVersion()
      string registry_item_version = 2 [json_name = "registryItemVersion"];
      Specified by:
      getRegistryItemVersion in interface MlInference.GetInferenceRequestOrBuilder
      Returns:
      The registryItemVersion.
    • getRegistryItemVersionBytes

      public com.google.protobuf.ByteString getRegistryItemVersionBytes()
      string registry_item_version = 2 [json_name = "registryItemVersion"];
      Specified by:
      getRegistryItemVersionBytes in interface MlInference.GetInferenceRequestOrBuilder
      Returns:
      The bytes for registryItemVersion.
    • setRegistryItemVersion

      public MlInference.GetInferenceRequest.Builder setRegistryItemVersion(String value)
      string registry_item_version = 2 [json_name = "registryItemVersion"];
      Parameters:
      value - The registryItemVersion to set.
      Returns:
      This builder for chaining.
    • clearRegistryItemVersion

      public MlInference.GetInferenceRequest.Builder clearRegistryItemVersion()
      string registry_item_version = 2 [json_name = "registryItemVersion"];
      Returns:
      This builder for chaining.
    • setRegistryItemVersionBytes

      public MlInference.GetInferenceRequest.Builder setRegistryItemVersionBytes(com.google.protobuf.ByteString value)
      string registry_item_version = 2 [json_name = "registryItemVersion"];
      Parameters:
      value - The bytes for registryItemVersion to set.
      Returns:
      This builder for chaining.
    • hasBinaryId

      public boolean hasBinaryId()
      .viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
      Specified by:
      hasBinaryId in interface MlInference.GetInferenceRequestOrBuilder
      Returns:
      Whether the binaryId field is set.
    • getBinaryId

      public Data.BinaryID getBinaryId()
      .viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
      Specified by:
      getBinaryId in interface MlInference.GetInferenceRequestOrBuilder
      Returns:
      The binaryId.
    • setBinaryId

      .viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
    • setBinaryId

      public MlInference.GetInferenceRequest.Builder setBinaryId(Data.BinaryID.Builder builderForValue)
      .viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
    • mergeBinaryId

      .viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
    • clearBinaryId

      .viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
    • getOrganizationId

      public String getOrganizationId()
      string organization_id = 4 [json_name = "organizationId"];
      Specified by:
      getOrganizationId in interface MlInference.GetInferenceRequestOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

      public com.google.protobuf.ByteString getOrganizationIdBytes()
      string organization_id = 4 [json_name = "organizationId"];
      Specified by:
      getOrganizationIdBytes in interface MlInference.GetInferenceRequestOrBuilder
      Returns:
      The bytes for organizationId.
    • setOrganizationId

      public MlInference.GetInferenceRequest.Builder setOrganizationId(String value)
      string organization_id = 4 [json_name = "organizationId"];
      Parameters:
      value - The organizationId to set.
      Returns:
      This builder for chaining.
    • clearOrganizationId

      public MlInference.GetInferenceRequest.Builder clearOrganizationId()
      string organization_id = 4 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

      public MlInference.GetInferenceRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
      string organization_id = 4 [json_name = "organizationId"];
      Parameters:
      value - The bytes for organizationId to set.
      Returns:
      This builder for chaining.