public static final class RouterOuterClass.QueryProbabilityResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.QueryProbabilityResponse.Builder> implements RouterOuterClass.QueryProbabilityResponseOrBuilder
routerrpc.QueryProbabilityResponse
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.QueryProbabilityResponse.Builder>
public RouterOuterClass.QueryProbabilityResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.QueryProbabilityResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.QueryProbabilityResponse.Builder>
public RouterOuterClass.QueryProbabilityResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RouterOuterClass.QueryProbabilityResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RouterOuterClass.QueryProbabilityResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RouterOuterClass.QueryProbabilityResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RouterOuterClass.QueryProbabilityResponse.Builder>
public RouterOuterClass.QueryProbabilityResponse.Builder mergeFrom(RouterOuterClass.QueryProbabilityResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.QueryProbabilityResponse.Builder>
public RouterOuterClass.QueryProbabilityResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RouterOuterClass.QueryProbabilityResponse.Builder>
java.io.IOException
public double getProbability()
The success probability for the requested pair.
double probability = 1;
getProbability
in interface RouterOuterClass.QueryProbabilityResponseOrBuilder
public RouterOuterClass.QueryProbabilityResponse.Builder setProbability(double value)
The success probability for the requested pair.
double probability = 1;
value
- The probability to set.public RouterOuterClass.QueryProbabilityResponse.Builder clearProbability()
The success probability for the requested pair.
double probability = 1;
public boolean hasHistory()
The historical data for the requested pair.
.routerrpc.PairData history = 2;
hasHistory
in interface RouterOuterClass.QueryProbabilityResponseOrBuilder
public RouterOuterClass.PairData getHistory()
The historical data for the requested pair.
.routerrpc.PairData history = 2;
getHistory
in interface RouterOuterClass.QueryProbabilityResponseOrBuilder
public RouterOuterClass.QueryProbabilityResponse.Builder setHistory(RouterOuterClass.PairData value)
The historical data for the requested pair.
.routerrpc.PairData history = 2;
public RouterOuterClass.QueryProbabilityResponse.Builder setHistory(RouterOuterClass.PairData.Builder builderForValue)
The historical data for the requested pair.
.routerrpc.PairData history = 2;
public RouterOuterClass.QueryProbabilityResponse.Builder mergeHistory(RouterOuterClass.PairData value)
The historical data for the requested pair.
.routerrpc.PairData history = 2;
public RouterOuterClass.QueryProbabilityResponse.Builder clearHistory()
The historical data for the requested pair.
.routerrpc.PairData history = 2;
public RouterOuterClass.PairData.Builder getHistoryBuilder()
The historical data for the requested pair.
.routerrpc.PairData history = 2;
public RouterOuterClass.PairDataOrBuilder getHistoryOrBuilder()
The historical data for the requested pair.
.routerrpc.PairData history = 2;
getHistoryOrBuilder
in interface RouterOuterClass.QueryProbabilityResponseOrBuilder
public final RouterOuterClass.QueryProbabilityResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.QueryProbabilityResponse.Builder>
public final RouterOuterClass.QueryProbabilityResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RouterOuterClass.QueryProbabilityResponse.Builder>