Package inference
Class GrpcService.InferResponseStatistics.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GrpcService.InferResponseStatistics.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferResponseStatistics.Builder>
inference.GrpcService.InferResponseStatistics.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GrpcService.InferResponseStatisticsOrBuilder,Cloneable
- Enclosing class:
GrpcService.InferResponseStatistics
public static final class GrpcService.InferResponseStatistics.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferResponseStatistics.Builder>
implements GrpcService.InferResponseStatisticsOrBuilder
@@ @@.. cpp:var:: message InferResponseStatistics @@ @@ Statistics per response. @@Protobuf type
inference.InferResponseStatistics-
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()@@ ..@@ ..@@ ..@@ ..@@ ..@@ ..@@ ..@@ ..@@ ..static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor@@ ..@@ ..@@ ..getFail()@@ ..@@ ..@@ ..@@ ..@@ ..@@ ..boolean@@ ..boolean@@ ..boolean@@ ..boolean@@ ..booleanhasFail()@@ ..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) @@ ..setCancel(GrpcService.StatisticDuration.Builder builderForValue) @@ ..@@ ..setComputeInfer(GrpcService.StatisticDuration.Builder builderForValue) @@ ..@@ ..setComputeOutput(GrpcService.StatisticDuration.Builder builderForValue) @@ ..@@ ..setEmptyResponse(GrpcService.StatisticDuration.Builder builderForValue) @@ ..@@ ..setFail(GrpcService.StatisticDuration.Builder builderForValue) @@ ..setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) @@ ..setSuccess(GrpcService.StatisticDuration.Builder builderForValue) @@ ..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.InferResponseStatistics.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.InferResponseStatistics.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.InferResponseStatistics.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.InferResponseStatistics.Builder>
-
setField
public GrpcService.InferResponseStatistics.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.InferResponseStatistics.Builder>
-
clearField
public GrpcService.InferResponseStatistics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferResponseStatistics.Builder>
-
clearOneof
public GrpcService.InferResponseStatistics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferResponseStatistics.Builder>
-
setRepeatedField
public GrpcService.InferResponseStatistics.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.InferResponseStatistics.Builder>
-
addRepeatedField
public GrpcService.InferResponseStatistics.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.InferResponseStatistics.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GrpcService.InferResponseStatistics.Builder>
-
mergeFrom
public GrpcService.InferResponseStatistics.Builder mergeFrom(GrpcService.InferResponseStatistics other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferResponseStatistics.Builder>
-
mergeFrom
public GrpcService.InferResponseStatistics.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.InferResponseStatistics.Builder>- Throws:
IOException
-
hasComputeInfer
public boolean hasComputeInfer()@@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to compute a response. @@
.inference.StatisticDuration compute_infer = 1;- Specified by:
hasComputeInferin interfaceGrpcService.InferResponseStatisticsOrBuilder- Returns:
- Whether the computeInfer field is set.
-
getComputeInfer
@@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to compute a response. @@
.inference.StatisticDuration compute_infer = 1;- Specified by:
getComputeInferin interfaceGrpcService.InferResponseStatisticsOrBuilder- Returns:
- The computeInfer.
-
setComputeInfer
public GrpcService.InferResponseStatistics.Builder setComputeInfer(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to compute a response. @@
.inference.StatisticDuration compute_infer = 1; -
setComputeInfer
public GrpcService.InferResponseStatistics.Builder setComputeInfer(GrpcService.StatisticDuration.Builder builderForValue) @@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to compute a response. @@
.inference.StatisticDuration compute_infer = 1; -
mergeComputeInfer
public GrpcService.InferResponseStatistics.Builder mergeComputeInfer(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to compute a response. @@
.inference.StatisticDuration compute_infer = 1; -
clearComputeInfer
@@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to compute a response. @@
.inference.StatisticDuration compute_infer = 1; -
getComputeInferBuilder
@@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to compute a response. @@
.inference.StatisticDuration compute_infer = 1; -
getComputeInferOrBuilder
@@ .. cpp:var:: StatisticDuration compute_infer @@ @@ The count and cumulative duration to compute a response. @@
.inference.StatisticDuration compute_infer = 1;- Specified by:
getComputeInferOrBuilderin interfaceGrpcService.InferResponseStatisticsOrBuilder
-
hasComputeOutput
public boolean hasComputeOutput()@@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract the output tensors of a @@ response. @@
.inference.StatisticDuration compute_output = 2;- Specified by:
hasComputeOutputin interfaceGrpcService.InferResponseStatisticsOrBuilder- Returns:
- Whether the computeOutput field is set.
-
getComputeOutput
@@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract the output tensors of a @@ response. @@
.inference.StatisticDuration compute_output = 2;- Specified by:
getComputeOutputin interfaceGrpcService.InferResponseStatisticsOrBuilder- Returns:
- The computeOutput.
-
setComputeOutput
public GrpcService.InferResponseStatistics.Builder setComputeOutput(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract the output tensors of a @@ response. @@
.inference.StatisticDuration compute_output = 2; -
setComputeOutput
public GrpcService.InferResponseStatistics.Builder setComputeOutput(GrpcService.StatisticDuration.Builder builderForValue) @@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract the output tensors of a @@ response. @@
.inference.StatisticDuration compute_output = 2; -
mergeComputeOutput
public GrpcService.InferResponseStatistics.Builder mergeComputeOutput(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract the output tensors of a @@ response. @@
.inference.StatisticDuration compute_output = 2; -
clearComputeOutput
@@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract the output tensors of a @@ response. @@
.inference.StatisticDuration compute_output = 2; -
getComputeOutputBuilder
@@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract the output tensors of a @@ response. @@
.inference.StatisticDuration compute_output = 2; -
getComputeOutputOrBuilder
@@ .. cpp:var:: StatisticDuration compute_output @@ @@ The count and cumulative duration to extract the output tensors of a @@ response. @@
.inference.StatisticDuration compute_output = 2;- Specified by:
getComputeOutputOrBuilderin interfaceGrpcService.InferResponseStatisticsOrBuilder
-
hasSuccess
public boolean hasSuccess()@@ .. cpp:var:: StatisticDuration success @@ @@ The count and cumulative duration for successful responses. @@
.inference.StatisticDuration success = 3;- Specified by:
hasSuccessin interfaceGrpcService.InferResponseStatisticsOrBuilder- Returns:
- Whether the success field is set.
-
getSuccess
@@ .. cpp:var:: StatisticDuration success @@ @@ The count and cumulative duration for successful responses. @@
.inference.StatisticDuration success = 3;- Specified by:
getSuccessin interfaceGrpcService.InferResponseStatisticsOrBuilder- Returns:
- The success.
-
setSuccess
@@ .. cpp:var:: StatisticDuration success @@ @@ The count and cumulative duration for successful responses. @@
.inference.StatisticDuration success = 3; -
setSuccess
public GrpcService.InferResponseStatistics.Builder setSuccess(GrpcService.StatisticDuration.Builder builderForValue) @@ .. cpp:var:: StatisticDuration success @@ @@ The count and cumulative duration for successful responses. @@
.inference.StatisticDuration success = 3; -
mergeSuccess
public GrpcService.InferResponseStatistics.Builder mergeSuccess(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration success @@ @@ The count and cumulative duration for successful responses. @@
.inference.StatisticDuration success = 3; -
clearSuccess
@@ .. cpp:var:: StatisticDuration success @@ @@ The count and cumulative duration for successful responses. @@
.inference.StatisticDuration success = 3; -
getSuccessBuilder
@@ .. cpp:var:: StatisticDuration success @@ @@ The count and cumulative duration for successful responses. @@
.inference.StatisticDuration success = 3; -
getSuccessOrBuilder
@@ .. cpp:var:: StatisticDuration success @@ @@ The count and cumulative duration for successful responses. @@
.inference.StatisticDuration success = 3;- Specified by:
getSuccessOrBuilderin interfaceGrpcService.InferResponseStatisticsOrBuilder
-
hasFail
public boolean hasFail()@@ .. cpp:var:: StatisticDuration fail @@ @@ The count and cumulative duration for failed responses. @@
.inference.StatisticDuration fail = 4;- Specified by:
hasFailin interfaceGrpcService.InferResponseStatisticsOrBuilder- Returns:
- Whether the fail field is set.
-
getFail
@@ .. cpp:var:: StatisticDuration fail @@ @@ The count and cumulative duration for failed responses. @@
.inference.StatisticDuration fail = 4;- Specified by:
getFailin interfaceGrpcService.InferResponseStatisticsOrBuilder- Returns:
- The fail.
-
setFail
@@ .. cpp:var:: StatisticDuration fail @@ @@ The count and cumulative duration for failed responses. @@
.inference.StatisticDuration fail = 4; -
setFail
public GrpcService.InferResponseStatistics.Builder setFail(GrpcService.StatisticDuration.Builder builderForValue) @@ .. cpp:var:: StatisticDuration fail @@ @@ The count and cumulative duration for failed responses. @@
.inference.StatisticDuration fail = 4; -
mergeFail
@@ .. cpp:var:: StatisticDuration fail @@ @@ The count and cumulative duration for failed responses. @@
.inference.StatisticDuration fail = 4; -
clearFail
@@ .. cpp:var:: StatisticDuration fail @@ @@ The count and cumulative duration for failed responses. @@
.inference.StatisticDuration fail = 4; -
getFailBuilder
@@ .. cpp:var:: StatisticDuration fail @@ @@ The count and cumulative duration for failed responses. @@
.inference.StatisticDuration fail = 4; -
getFailOrBuilder
@@ .. cpp:var:: StatisticDuration fail @@ @@ The count and cumulative duration for failed responses. @@
.inference.StatisticDuration fail = 4;- Specified by:
getFailOrBuilderin interfaceGrpcService.InferResponseStatisticsOrBuilder
-
hasEmptyResponse
public boolean hasEmptyResponse()@@ .. cpp:var:: StatisticDuration empty_response @@ @@ The count and cumulative duration for empty responses. @@
.inference.StatisticDuration empty_response = 5;- Specified by:
hasEmptyResponsein interfaceGrpcService.InferResponseStatisticsOrBuilder- Returns:
- Whether the emptyResponse field is set.
-
getEmptyResponse
@@ .. cpp:var:: StatisticDuration empty_response @@ @@ The count and cumulative duration for empty responses. @@
.inference.StatisticDuration empty_response = 5;- Specified by:
getEmptyResponsein interfaceGrpcService.InferResponseStatisticsOrBuilder- Returns:
- The emptyResponse.
-
setEmptyResponse
public GrpcService.InferResponseStatistics.Builder setEmptyResponse(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration empty_response @@ @@ The count and cumulative duration for empty responses. @@
.inference.StatisticDuration empty_response = 5; -
setEmptyResponse
public GrpcService.InferResponseStatistics.Builder setEmptyResponse(GrpcService.StatisticDuration.Builder builderForValue) @@ .. cpp:var:: StatisticDuration empty_response @@ @@ The count and cumulative duration for empty responses. @@
.inference.StatisticDuration empty_response = 5; -
mergeEmptyResponse
public GrpcService.InferResponseStatistics.Builder mergeEmptyResponse(GrpcService.StatisticDuration value) @@ .. cpp:var:: StatisticDuration empty_response @@ @@ The count and cumulative duration for empty responses. @@
.inference.StatisticDuration empty_response = 5; -
clearEmptyResponse
@@ .. cpp:var:: StatisticDuration empty_response @@ @@ The count and cumulative duration for empty responses. @@
.inference.StatisticDuration empty_response = 5; -
getEmptyResponseBuilder
@@ .. cpp:var:: StatisticDuration empty_response @@ @@ The count and cumulative duration for empty responses. @@
.inference.StatisticDuration empty_response = 5; -
getEmptyResponseOrBuilder
@@ .. cpp:var:: StatisticDuration empty_response @@ @@ The count and cumulative duration for empty responses. @@
.inference.StatisticDuration empty_response = 5;- Specified by:
getEmptyResponseOrBuilderin interfaceGrpcService.InferResponseStatisticsOrBuilder
-
hasCancel
public boolean hasCancel()@@ .. cpp:var:: StatisticDuration cancel @@ @@ The count and cumulative duration, for cleaning up resources held by @@ a cancelled request, for cancelled responses. @@
.inference.StatisticDuration cancel = 6;- Specified by:
hasCancelin interfaceGrpcService.InferResponseStatisticsOrBuilder- Returns:
- Whether the cancel field is set.
-
getCancel
@@ .. cpp:var:: StatisticDuration cancel @@ @@ The count and cumulative duration, for cleaning up resources held by @@ a cancelled request, for cancelled responses. @@
.inference.StatisticDuration cancel = 6;- Specified by:
getCancelin interfaceGrpcService.InferResponseStatisticsOrBuilder- Returns:
- The cancel.
-
setCancel
@@ .. cpp:var:: StatisticDuration cancel @@ @@ The count and cumulative duration, for cleaning up resources held by @@ a cancelled request, for cancelled responses. @@
.inference.StatisticDuration cancel = 6; -
setCancel
public GrpcService.InferResponseStatistics.Builder setCancel(GrpcService.StatisticDuration.Builder builderForValue) @@ .. cpp:var:: StatisticDuration cancel @@ @@ The count and cumulative duration, for cleaning up resources held by @@ a cancelled request, for cancelled responses. @@
.inference.StatisticDuration cancel = 6; -
mergeCancel
@@ .. cpp:var:: StatisticDuration cancel @@ @@ The count and cumulative duration, for cleaning up resources held by @@ a cancelled request, for cancelled responses. @@
.inference.StatisticDuration cancel = 6; -
clearCancel
@@ .. cpp:var:: StatisticDuration cancel @@ @@ The count and cumulative duration, for cleaning up resources held by @@ a cancelled request, for cancelled responses. @@
.inference.StatisticDuration cancel = 6; -
getCancelBuilder
@@ .. cpp:var:: StatisticDuration cancel @@ @@ The count and cumulative duration, for cleaning up resources held by @@ a cancelled request, for cancelled responses. @@
.inference.StatisticDuration cancel = 6; -
getCancelOrBuilder
@@ .. cpp:var:: StatisticDuration cancel @@ @@ The count and cumulative duration, for cleaning up resources held by @@ a cancelled request, for cancelled responses. @@
.inference.StatisticDuration cancel = 6;- Specified by:
getCancelOrBuilderin interfaceGrpcService.InferResponseStatisticsOrBuilder
-
setUnknownFields
public final GrpcService.InferResponseStatistics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferResponseStatistics.Builder>
-
mergeUnknownFields
public final GrpcService.InferResponseStatistics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferResponseStatistics.Builder>
-