Package inference
Class ModelConfigOuterClass.ModelEnsembling.Step.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
inference.ModelConfigOuterClass.ModelEnsembling.Step.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ModelConfigOuterClass.ModelEnsembling.StepOrBuilder,Cloneable
- Enclosing class:
ModelConfigOuterClass.ModelEnsembling.Step
public static final class ModelConfigOuterClass.ModelEnsembling.Step.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
implements ModelConfigOuterClass.ModelEnsembling.StepOrBuilder
@@ .. cpp:var:: message Step @@ @@ Each step specifies a model included in the ensemble, @@ maps ensemble tensor names to the model input tensors, @@ and maps model output tensors to ensemble tensor names @@Protobuf type
inference.ModelEnsembling.Step-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) @@ ..@@ ..@@ ..clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()booleancontainsInputMap(String key) @@ ..booleancontainsOutputMap(String key) @@ ..static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.int@@ ..@@ ..getInputMapOrDefault(String key, String defaultValue) @@ ..getInputMapOrThrow(String key) @@ ..@@ ..com.google.protobuf.ByteString@@ ..@@ ..com.google.protobuf.ByteString@@ ..long@@ ..Deprecated.Deprecated.Deprecated.int@@ ..@@ ..getOutputMapOrDefault(String key, String defaultValue) @@ ..@@ ..protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllInputMap(Map<String, String> values) @@ ..putAllOutputMap(Map<String, String> values) @@ ..putInputMap(String key, String value) @@ ..putOutputMap(String key, String value) @@ ..removeInputMap(String key) @@ ..removeOutputMap(String key) @@ ..setModelName(String value) @@ ..setModelNameBytes(com.google.protobuf.ByteString value) @@ ..setModelNamespace(String value) @@ ..setModelNamespaceBytes(com.google.protobuf.ByteString value) @@ ..setModelVersion(long value) @@ ..setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
setField
public ModelConfigOuterClass.ModelEnsembling.Step.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
clearField
public ModelConfigOuterClass.ModelEnsembling.Step.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
clearOneof
public ModelConfigOuterClass.ModelEnsembling.Step.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
setRepeatedField
public ModelConfigOuterClass.ModelEnsembling.Step.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
addRepeatedField
public ModelConfigOuterClass.ModelEnsembling.Step.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
mergeFrom
public ModelConfigOuterClass.ModelEnsembling.Step.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
mergeFrom
public ModelConfigOuterClass.ModelEnsembling.Step.Builder mergeFrom(ModelConfigOuterClass.ModelEnsembling.Step other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
mergeFrom
public ModelConfigOuterClass.ModelEnsembling.Step.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>- Throws:
IOException
-
getModelName
@@ .. cpp:var:: string model_name @@ @@ The name of the model to execute for this step of the ensemble. @@
string model_name = 1;- Specified by:
getModelNamein interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder- Returns:
- The modelName.
-
getModelNameBytes
public com.google.protobuf.ByteString getModelNameBytes()@@ .. cpp:var:: string model_name @@ @@ The name of the model to execute for this step of the ensemble. @@
string model_name = 1;- Specified by:
getModelNameBytesin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder- Returns:
- The bytes for modelName.
-
setModelName
@@ .. cpp:var:: string model_name @@ @@ The name of the model to execute for this step of the ensemble. @@
string model_name = 1;- Parameters:
value- The modelName to set.- Returns:
- This builder for chaining.
-
clearModelName
@@ .. cpp:var:: string model_name @@ @@ The name of the model to execute for this step of the ensemble. @@
string model_name = 1;- Returns:
- This builder for chaining.
-
setModelNameBytes
public ModelConfigOuterClass.ModelEnsembling.Step.Builder setModelNameBytes(com.google.protobuf.ByteString value) @@ .. cpp:var:: string model_name @@ @@ The name of the model to execute for this step of the ensemble. @@
string model_name = 1;- Parameters:
value- The bytes for modelName to set.- Returns:
- This builder for chaining.
-
getModelVersion
public long getModelVersion()@@ .. cpp:var:: int64 model_version @@ @@ The version of the model to use for inference. If -1 @@ the latest/most-recent version of the model is used. @@
int64 model_version = 2;- Specified by:
getModelVersionin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder- Returns:
- The modelVersion.
-
setModelVersion
@@ .. cpp:var:: int64 model_version @@ @@ The version of the model to use for inference. If -1 @@ the latest/most-recent version of the model is used. @@
int64 model_version = 2;- Parameters:
value- The modelVersion to set.- Returns:
- This builder for chaining.
-
clearModelVersion
@@ .. cpp:var:: int64 model_version @@ @@ The version of the model to use for inference. If -1 @@ the latest/most-recent version of the model is used. @@
int64 model_version = 2;- Returns:
- This builder for chaining.
-
getInputMapCount
public int getInputMapCount()Description copied from interface:ModelConfigOuterClass.ModelEnsembling.StepOrBuilder@@ .. cpp:var:: map<string,string> input_map @@ @@ Map from name of an input tensor on this step's model to ensemble @@ tensor name. The ensemble tensor must have the same data type and @@ shape as the model input. Each model input must be assigned to @@ one ensemble tensor, but the same ensemble tensor can be assigned @@ to multiple model inputs. @@
map<string, string> input_map = 3;- Specified by:
getInputMapCountin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder
-
containsInputMap
@@ .. cpp:var:: map<string,string> input_map @@ @@ Map from name of an input tensor on this step's model to ensemble @@ tensor name. The ensemble tensor must have the same data type and @@ shape as the model input. Each model input must be assigned to @@ one ensemble tensor, but the same ensemble tensor can be assigned @@ to multiple model inputs. @@
map<string, string> input_map = 3;- Specified by:
containsInputMapin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder
-
getInputMap
Deprecated.UsegetInputMapMap()instead.- Specified by:
getInputMapin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder
-
getInputMapMap
@@ .. cpp:var:: map<string,string> input_map @@ @@ Map from name of an input tensor on this step's model to ensemble @@ tensor name. The ensemble tensor must have the same data type and @@ shape as the model input. Each model input must be assigned to @@ one ensemble tensor, but the same ensemble tensor can be assigned @@ to multiple model inputs. @@
map<string, string> input_map = 3;- Specified by:
getInputMapMapin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder
-
getInputMapOrDefault
@@ .. cpp:var:: map<string,string> input_map @@ @@ Map from name of an input tensor on this step's model to ensemble @@ tensor name. The ensemble tensor must have the same data type and @@ shape as the model input. Each model input must be assigned to @@ one ensemble tensor, but the same ensemble tensor can be assigned @@ to multiple model inputs. @@
map<string, string> input_map = 3;- Specified by:
getInputMapOrDefaultin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder
-
getInputMapOrThrow
@@ .. cpp:var:: map<string,string> input_map @@ @@ Map from name of an input tensor on this step's model to ensemble @@ tensor name. The ensemble tensor must have the same data type and @@ shape as the model input. Each model input must be assigned to @@ one ensemble tensor, but the same ensemble tensor can be assigned @@ to multiple model inputs. @@
map<string, string> input_map = 3;- Specified by:
getInputMapOrThrowin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder
-
clearInputMap
-
removeInputMap
@@ .. cpp:var:: map<string,string> input_map @@ @@ Map from name of an input tensor on this step's model to ensemble @@ tensor name. The ensemble tensor must have the same data type and @@ shape as the model input. Each model input must be assigned to @@ one ensemble tensor, but the same ensemble tensor can be assigned @@ to multiple model inputs. @@
map<string, string> input_map = 3; -
getMutableInputMap
Deprecated.Use alternate mutation accessors instead. -
putInputMap
@@ .. cpp:var:: map<string,string> input_map @@ @@ Map from name of an input tensor on this step's model to ensemble @@ tensor name. The ensemble tensor must have the same data type and @@ shape as the model input. Each model input must be assigned to @@ one ensemble tensor, but the same ensemble tensor can be assigned @@ to multiple model inputs. @@
map<string, string> input_map = 3; -
putAllInputMap
@@ .. cpp:var:: map<string,string> input_map @@ @@ Map from name of an input tensor on this step's model to ensemble @@ tensor name. The ensemble tensor must have the same data type and @@ shape as the model input. Each model input must be assigned to @@ one ensemble tensor, but the same ensemble tensor can be assigned @@ to multiple model inputs. @@
map<string, string> input_map = 3; -
getOutputMapCount
public int getOutputMapCount()Description copied from interface:ModelConfigOuterClass.ModelEnsembling.StepOrBuilder@@ .. cpp:var:: map<string,string> output_map @@ @@ Map from name of an output tensor on this step's model to ensemble @@ tensor name. The data type and shape of the ensemble tensor will @@ be inferred from the model output. It is optional to assign all @@ model outputs to ensemble tensors. One ensemble tensor name @@ can appear in an output map only once. @@
map<string, string> output_map = 4;- Specified by:
getOutputMapCountin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder
-
containsOutputMap
@@ .. cpp:var:: map<string,string> output_map @@ @@ Map from name of an output tensor on this step's model to ensemble @@ tensor name. The data type and shape of the ensemble tensor will @@ be inferred from the model output. It is optional to assign all @@ model outputs to ensemble tensors. One ensemble tensor name @@ can appear in an output map only once. @@
map<string, string> output_map = 4;- Specified by:
containsOutputMapin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder
-
getOutputMap
Deprecated.UsegetOutputMapMap()instead.- Specified by:
getOutputMapin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder
-
getOutputMapMap
@@ .. cpp:var:: map<string,string> output_map @@ @@ Map from name of an output tensor on this step's model to ensemble @@ tensor name. The data type and shape of the ensemble tensor will @@ be inferred from the model output. It is optional to assign all @@ model outputs to ensemble tensors. One ensemble tensor name @@ can appear in an output map only once. @@
map<string, string> output_map = 4;- Specified by:
getOutputMapMapin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder
-
getOutputMapOrDefault
@@ .. cpp:var:: map<string,string> output_map @@ @@ Map from name of an output tensor on this step's model to ensemble @@ tensor name. The data type and shape of the ensemble tensor will @@ be inferred from the model output. It is optional to assign all @@ model outputs to ensemble tensors. One ensemble tensor name @@ can appear in an output map only once. @@
map<string, string> output_map = 4;- Specified by:
getOutputMapOrDefaultin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder
-
getOutputMapOrThrow
@@ .. cpp:var:: map<string,string> output_map @@ @@ Map from name of an output tensor on this step's model to ensemble @@ tensor name. The data type and shape of the ensemble tensor will @@ be inferred from the model output. It is optional to assign all @@ model outputs to ensemble tensors. One ensemble tensor name @@ can appear in an output map only once. @@
map<string, string> output_map = 4;- Specified by:
getOutputMapOrThrowin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder
-
clearOutputMap
-
removeOutputMap
@@ .. cpp:var:: map<string,string> output_map @@ @@ Map from name of an output tensor on this step's model to ensemble @@ tensor name. The data type and shape of the ensemble tensor will @@ be inferred from the model output. It is optional to assign all @@ model outputs to ensemble tensors. One ensemble tensor name @@ can appear in an output map only once. @@
map<string, string> output_map = 4; -
getMutableOutputMap
Deprecated.Use alternate mutation accessors instead. -
putOutputMap
@@ .. cpp:var:: map<string,string> output_map @@ @@ Map from name of an output tensor on this step's model to ensemble @@ tensor name. The data type and shape of the ensemble tensor will @@ be inferred from the model output. It is optional to assign all @@ model outputs to ensemble tensors. One ensemble tensor name @@ can appear in an output map only once. @@
map<string, string> output_map = 4; -
putAllOutputMap
public ModelConfigOuterClass.ModelEnsembling.Step.Builder putAllOutputMap(Map<String, String> values) @@ .. cpp:var:: map<string,string> output_map @@ @@ Map from name of an output tensor on this step's model to ensemble @@ tensor name. The data type and shape of the ensemble tensor will @@ be inferred from the model output. It is optional to assign all @@ model outputs to ensemble tensors. One ensemble tensor name @@ can appear in an output map only once. @@
map<string, string> output_map = 4; -
getModelNamespace
@@ .. cpp:var:: string model_namespace @@ @@ [RESERVED] currently this field is reserved for internal use, users @@ must not set any value to this field to avoid unexpected behavior. @@
string model_namespace = 5;- Specified by:
getModelNamespacein interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder- Returns:
- The modelNamespace.
-
getModelNamespaceBytes
public com.google.protobuf.ByteString getModelNamespaceBytes()@@ .. cpp:var:: string model_namespace @@ @@ [RESERVED] currently this field is reserved for internal use, users @@ must not set any value to this field to avoid unexpected behavior. @@
string model_namespace = 5;- Specified by:
getModelNamespaceBytesin interfaceModelConfigOuterClass.ModelEnsembling.StepOrBuilder- Returns:
- The bytes for modelNamespace.
-
setModelNamespace
@@ .. cpp:var:: string model_namespace @@ @@ [RESERVED] currently this field is reserved for internal use, users @@ must not set any value to this field to avoid unexpected behavior. @@
string model_namespace = 5;- Parameters:
value- The modelNamespace to set.- Returns:
- This builder for chaining.
-
clearModelNamespace
@@ .. cpp:var:: string model_namespace @@ @@ [RESERVED] currently this field is reserved for internal use, users @@ must not set any value to this field to avoid unexpected behavior. @@
string model_namespace = 5;- Returns:
- This builder for chaining.
-
setModelNamespaceBytes
public ModelConfigOuterClass.ModelEnsembling.Step.Builder setModelNamespaceBytes(com.google.protobuf.ByteString value) @@ .. cpp:var:: string model_namespace @@ @@ [RESERVED] currently this field is reserved for internal use, users @@ must not set any value to this field to avoid unexpected behavior. @@
string model_namespace = 5;- Parameters:
value- The bytes for modelNamespace to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ModelConfigOuterClass.ModelEnsembling.Step.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-
mergeUnknownFields
public final ModelConfigOuterClass.ModelEnsembling.Step.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelConfigOuterClass.ModelEnsembling.Step.Builder>
-