Package inference
Class GrpcService.InferBatchStatistics.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GrpcService.InferBatchStatistics.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferBatchStatistics.Builder>
inference.GrpcService.InferBatchStatistics.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GrpcService.InferBatchStatisticsOrBuilder,Cloneable
- Enclosing class:
GrpcService.InferBatchStatistics
public static final class GrpcService.InferBatchStatistics.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferBatchStatistics.Builder>
implements GrpcService.InferBatchStatisticsOrBuilder
@@ @@.. cpp:var:: message InferBatchStatistics @@ @@ Inference batch statistics. @@Protobuf type
inference.InferBatchStatistics-
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()long@@ ..@@ ..@@ ..@@ ..@@ ..@@ ..@@ ..@@ ..@@ ..@@ ..static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorboolean@@ ..boolean@@ ..boolean@@ ..protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal boolean@@ ..@@ ..@@ ..mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setBatchSize(long value) @@ ..@@ ..setComputeInfer(GrpcService.StatisticDuration.Builder builderForValue) @@ ..@@ ..setComputeInput(GrpcService.StatisticDuration.Builder builderForValue) @@ ..@@ ..setComputeOutput(GrpcService.StatisticDuration.Builder builderForValue) @@ ..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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferBatchStatistics.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<GrpcService.InferBatchStatistics.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<GrpcService.InferBatchStatistics.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<GrpcService.InferBatchStatistics.Builder>
-
setField
public GrpcService.InferBatchStatistics.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<GrpcService.InferBatchStatistics.Builder>
-
clearField
public GrpcService.InferBatchStatistics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferBatchStatistics.Builder>
-
clearOneof
public GrpcService.InferBatchStatistics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferBatchStatistics.Builder>
-
setRepeatedField
public GrpcService.InferBatchStatistics.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<GrpcService.InferBatchStatistics.Builder>
-
addRepeatedField
public GrpcService.InferBatchStatistics.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<GrpcService.InferBatchStatistics.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GrpcService.InferBatchStatistics.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferBatchStatistics.Builder>
-
mergeFrom
public GrpcService.InferBatchStatistics.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<GrpcService.InferBatchStatistics.Builder>- Throws:
IOException
-
getBatchSize
public long getBatchSize()@@ .. cpp:var:: uint64 batch_size @@ @@ The size of the batch. @@
uint64 batch_size = 1;- Specified by:
getBatchSizein interfaceGrpcService.InferBatchStatisticsOrBuilder- Returns:
- The batchSize.
-
setBatchSize
@@ .. cpp:var:: uint64 batch_size @@ @@ The size of the batch. @@
uint64 batch_size = 1;- Parameters:
value- The batchSize to set.- Returns:
- This builder for chaining.
-
clearBatchSize
@@ .. cpp:var:: uint64 batch_size @@ @@ The size of the batch. @@
uint64 batch_size = 1;- Returns:
- This builder for chaining.
-
hasComputeInput
public boolean hasComputeInput()@@ .. cpp:var:: StatisticDuration compute_input @@ @@ The count and cumulative duration to prepare input tensor data as @@ required by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy input @@ tensor data to the GPU. @@
.inference.StatisticDuration compute_input = 2;- Specified by:
hasComputeInputin interfaceGrpcService.InferBatchStatisticsOrBuilder- Returns:
- Whether the computeInput field is set.
-
getComputeInput
@@ .. cpp:var:: StatisticDuration compute_input @@ @@ The count and cumulative duration to prepare input tensor data as @@ required by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy input @@ tensor data to the GPU. @@
.inference.StatisticDuration compute_input = 2;- Specified by:
getComputeInputin interfaceGrpcService.InferBatchStatisticsOrBuilder- Returns:
- The computeInput.
-
setComputeInput
public GrpcService.InferBatchStatistics.Builder setComputeInput(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration compute_input @@ @@ The count and cumulative duration to prepare input tensor data as @@ required by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy input @@ tensor data to the GPU. @@
.inference.StatisticDuration compute_input = 2; -
setComputeInput
public GrpcService.InferBatchStatistics.Builder setComputeInput(GrpcService.StatisticDuration.Builder builderForValue) @@ .. cpp:var:: StatisticDuration compute_input @@ @@ The count and cumulative duration to prepare input tensor data as @@ required by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy input @@ tensor data to the GPU. @@
.inference.StatisticDuration compute_input = 2; -
mergeComputeInput
public GrpcService.InferBatchStatistics.Builder mergeComputeInput(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration compute_input @@ @@ The count and cumulative duration to prepare input tensor data as @@ required by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy input @@ tensor data to the GPU. @@
.inference.StatisticDuration compute_input = 2; -
clearComputeInput
@@ .. cpp:var:: StatisticDuration compute_input @@ @@ The count and cumulative duration to prepare input tensor data as @@ required by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy input @@ tensor data to the GPU. @@
.inference.StatisticDuration compute_input = 2; -
getComputeInputBuilder
@@ .. cpp:var:: StatisticDuration compute_input @@ @@ The count and cumulative duration to prepare input tensor data as @@ required by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy input @@ tensor data to the GPU. @@
.inference.StatisticDuration compute_input = 2; -
getComputeInputOrBuilder
@@ .. cpp:var:: StatisticDuration compute_input @@ @@ The count and cumulative duration to prepare input tensor data as @@ required by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy input @@ tensor data to the GPU. @@
.inference.StatisticDuration compute_input = 2;- Specified by:
getComputeInputOrBuilderin interfaceGrpcService.InferBatchStatisticsOrBuilder
-
hasComputeInfer
public boolean hasComputeInfer()@@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to execute the model with the given @@ batch size. @@
.inference.StatisticDuration compute_infer = 3;- Specified by:
hasComputeInferin interfaceGrpcService.InferBatchStatisticsOrBuilder- Returns:
- Whether the computeInfer field is set.
-
getComputeInfer
@@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to execute the model with the given @@ batch size. @@
.inference.StatisticDuration compute_infer = 3;- Specified by:
getComputeInferin interfaceGrpcService.InferBatchStatisticsOrBuilder- Returns:
- The computeInfer.
-
setComputeInfer
public GrpcService.InferBatchStatistics.Builder setComputeInfer(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to execute the model with the given @@ batch size. @@
.inference.StatisticDuration compute_infer = 3; -
setComputeInfer
public GrpcService.InferBatchStatistics.Builder setComputeInfer(GrpcService.StatisticDuration.Builder builderForValue) @@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to execute the model with the given @@ batch size. @@
.inference.StatisticDuration compute_infer = 3; -
mergeComputeInfer
public GrpcService.InferBatchStatistics.Builder mergeComputeInfer(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to execute the model with the given @@ batch size. @@
.inference.StatisticDuration compute_infer = 3; -
clearComputeInfer
@@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to execute the model with the given @@ batch size. @@
.inference.StatisticDuration compute_infer = 3; -
getComputeInferBuilder
@@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to execute the model with the given @@ batch size. @@
.inference.StatisticDuration compute_infer = 3; -
getComputeInferOrBuilder
@@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to execute the model with the given @@ batch size. @@
.inference.StatisticDuration compute_infer = 3;- Specified by:
getComputeInferOrBuilderin interfaceGrpcService.InferBatchStatisticsOrBuilder
-
hasComputeOutput
public boolean hasComputeOutput()@@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract output tensor data @@ produced by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy output @@ tensor data from the GPU. @@
.inference.StatisticDuration compute_output = 4;- Specified by:
hasComputeOutputin interfaceGrpcService.InferBatchStatisticsOrBuilder- Returns:
- Whether the computeOutput field is set.
-
getComputeOutput
@@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract output tensor data @@ produced by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy output @@ tensor data from the GPU. @@
.inference.StatisticDuration compute_output = 4;- Specified by:
getComputeOutputin interfaceGrpcService.InferBatchStatisticsOrBuilder- Returns:
- The computeOutput.
-
setComputeOutput
public GrpcService.InferBatchStatistics.Builder setComputeOutput(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract output tensor data @@ produced by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy output @@ tensor data from the GPU. @@
.inference.StatisticDuration compute_output = 4; -
setComputeOutput
public GrpcService.InferBatchStatistics.Builder setComputeOutput(GrpcService.StatisticDuration.Builder builderForValue) @@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract output tensor data @@ produced by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy output @@ tensor data from the GPU. @@
.inference.StatisticDuration compute_output = 4; -
mergeComputeOutput
public GrpcService.InferBatchStatistics.Builder mergeComputeOutput(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract output tensor data @@ produced by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy output @@ tensor data from the GPU. @@
.inference.StatisticDuration compute_output = 4; -
clearComputeOutput
@@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract output tensor data @@ produced by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy output @@ tensor data from the GPU. @@
.inference.StatisticDuration compute_output = 4; -
getComputeOutputBuilder
@@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract output tensor data @@ produced by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy output @@ tensor data from the GPU. @@
.inference.StatisticDuration compute_output = 4; -
getComputeOutputOrBuilder
@@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract output tensor data @@ produced by the model framework / backend with the given batch size. @@ For example, this duration should include the time to copy output @@ tensor data from the GPU. @@
.inference.StatisticDuration compute_output = 4;- Specified by:
getComputeOutputOrBuilderin interfaceGrpcService.InferBatchStatisticsOrBuilder
-
setUnknownFields
public final GrpcService.InferBatchStatistics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferBatchStatistics.Builder>
-
mergeUnknownFields
public final GrpcService.InferBatchStatistics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferBatchStatistics.Builder>
-