Package io.opencensus.proto.trace.v1
Interface ConstantSamplerOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConstantSampler,ConstantSampler.Builder
public interface ConstantSamplerOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConstantSampler.ConstantDecisiongetDecision().opencensus.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1;intgetDecisionValue().opencensus.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDecisionValue
int getDecisionValue()
.opencensus.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1;- Returns:
- The enum numeric value on the wire for decision.
-
getDecision
ConstantSampler.ConstantDecision getDecision()
.opencensus.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1;- Returns:
- The decision.
-
-