Package viam.app.mlinference.v1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
string organization_id = 4 [json_name = "organizationId"];
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_version = 2 [json_name = "registryItemVersion"];
.viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
string organization_id = 4 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 4 [json_name = "organizationId"];
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.com.google.protobuf.ByteString
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_version = 2 [json_name = "registryItemVersion"];
com.google.protobuf.ByteString
string registry_item_version = 2 [json_name = "registryItemVersion"];
boolean
.viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
mergeBinaryId
(Data.BinaryID value) .viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
setBinaryId
(Data.BinaryID value) .viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
setBinaryId
(Data.BinaryID.Builder builderForValue) .viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
setOrganizationId
(String value) string organization_id = 4 [json_name = "organizationId"];
setOrganizationIdBytes
(com.google.protobuf.ByteString value) string organization_id = 4 [json_name = "organizationId"];
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.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.setRegistryItemVersion
(String value) string registry_item_version = 2 [json_name = "registryItemVersion"];
setRegistryItemVersionBytes
(com.google.protobuf.ByteString value) string registry_item_version = 2 [json_name = "registryItemVersion"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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 interfaceMlInference.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 interfaceMlInference.GetInferenceRequestOrBuilder
- Returns:
- The bytes for registryItemId.
-
setRegistryItemId
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
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
string registry_item_version = 2 [json_name = "registryItemVersion"];
- Specified by:
getRegistryItemVersion
in interfaceMlInference.GetInferenceRequestOrBuilder
- Returns:
- The registryItemVersion.
-
getRegistryItemVersionBytes
public com.google.protobuf.ByteString getRegistryItemVersionBytes()string registry_item_version = 2 [json_name = "registryItemVersion"];
- Specified by:
getRegistryItemVersionBytes
in interfaceMlInference.GetInferenceRequestOrBuilder
- Returns:
- The bytes for registryItemVersion.
-
setRegistryItemVersion
string registry_item_version = 2 [json_name = "registryItemVersion"];
- Parameters:
value
- The registryItemVersion to set.- Returns:
- This builder for chaining.
-
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 interfaceMlInference.GetInferenceRequestOrBuilder
- Returns:
- Whether the binaryId field is set.
-
getBinaryId
.viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
- Specified by:
getBinaryId
in interfaceMlInference.GetInferenceRequestOrBuilder
- Returns:
- The binaryId.
-
setBinaryId
.viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];
-
setBinaryId
.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
string organization_id = 4 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceMlInference.GetInferenceRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 4 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceMlInference.GetInferenceRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
string organization_id = 4 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
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.
-