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 TypeMethodDescriptionstring binary_data_id = 5 [json_name = "binaryDataId"];.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"];string binary_data_id = 5 [json_name = "binaryDataId"];com.google.protobuf.ByteStringstring binary_data_id = 5 [json_name = "binaryDataId"];.viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];string organization_id = 4 [json_name = "organizationId"];com.google.protobuf.ByteStringstring 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.ByteStringThe 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.ByteStringstring 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"];setBinaryDataId(String value) string binary_data_id = 5 [json_name = "binaryDataId"];setBinaryDataIdBytes(com.google.protobuf.ByteString value) string binary_data_id = 5 [json_name = "binaryDataId"];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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getRegistryItemIdin 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:
getRegistryItemIdBytesin 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:
getRegistryItemVersionin interfaceMlInference.GetInferenceRequestOrBuilder- Returns:
- The registryItemVersion.
-
getRegistryItemVersionBytes
public com.google.protobuf.ByteString getRegistryItemVersionBytes()string registry_item_version = 2 [json_name = "registryItemVersion"];- Specified by:
getRegistryItemVersionBytesin 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:
hasBinaryIdin interfaceMlInference.GetInferenceRequestOrBuilder- Returns:
- Whether the binaryId field is set.
-
getBinaryId
.viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId"];- Specified by:
getBinaryIdin 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"]; -
getBinaryDataId
string binary_data_id = 5 [json_name = "binaryDataId"];- Specified by:
getBinaryDataIdin interfaceMlInference.GetInferenceRequestOrBuilder- Returns:
- The binaryDataId.
-
getBinaryDataIdBytes
public com.google.protobuf.ByteString getBinaryDataIdBytes()string binary_data_id = 5 [json_name = "binaryDataId"];- Specified by:
getBinaryDataIdBytesin interfaceMlInference.GetInferenceRequestOrBuilder- Returns:
- The bytes for binaryDataId.
-
setBinaryDataId
string binary_data_id = 5 [json_name = "binaryDataId"];- Parameters:
value- The binaryDataId to set.- Returns:
- This builder for chaining.
-
clearBinaryDataId
string binary_data_id = 5 [json_name = "binaryDataId"];- Returns:
- This builder for chaining.
-
setBinaryDataIdBytes
public MlInference.GetInferenceRequest.Builder setBinaryDataIdBytes(com.google.protobuf.ByteString value) string binary_data_id = 5 [json_name = "binaryDataId"];- Parameters:
value- The bytes for binaryDataId to set.- Returns:
- This builder for chaining.
-
getOrganizationId
string organization_id = 4 [json_name = "organizationId"];- Specified by:
getOrganizationIdin interfaceMlInference.GetInferenceRequestOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 4 [json_name = "organizationId"];- Specified by:
getOrganizationIdBytesin 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.
-