Package dev.cerbos.api.v1.telemetry
Class Telemetry.ServerLaunch.Stats.Policy
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- dev.cerbos.api.v1.telemetry.Telemetry.ServerLaunch.Stats.Policy
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Telemetry.ServerLaunch.Stats.PolicyOrBuilder,java.io.Serializable
- Enclosing class:
- Telemetry.ServerLaunch.Stats
public static final class Telemetry.ServerLaunch.Stats.Policy extends com.google.protobuf.GeneratedMessage implements Telemetry.ServerLaunch.Stats.PolicyOrBuilder
Protobuf typecerbos.telemetry.v1.ServerLaunch.Stats.Policy- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTelemetry.ServerLaunch.Stats.Policy.BuilderProtobuf typecerbos.telemetry.v1.ServerLaunch.Stats.Policy-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAVG_CONDITION_COUNT_FIELD_NUMBERstatic intAVG_RULE_COUNT_FIELD_NUMBERstatic intCOUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsAvgConditionCount(java.lang.String key)map<string, double> avg_condition_count = 3;booleancontainsAvgRuleCount(java.lang.String key)map<string, double> avg_rule_count = 2;booleancontainsCount(java.lang.String key)map<string, uint32> count = 1;booleanequals(java.lang.Object obj)java.util.Map<java.lang.String,java.lang.Double>getAvgConditionCount()Deprecated.intgetAvgConditionCountCount()map<string, double> avg_condition_count = 3;java.util.Map<java.lang.String,java.lang.Double>getAvgConditionCountMap()map<string, double> avg_condition_count = 3;doublegetAvgConditionCountOrDefault(java.lang.String key, double defaultValue)map<string, double> avg_condition_count = 3;doublegetAvgConditionCountOrThrow(java.lang.String key)map<string, double> avg_condition_count = 3;java.util.Map<java.lang.String,java.lang.Double>getAvgRuleCount()Deprecated.intgetAvgRuleCountCount()map<string, double> avg_rule_count = 2;java.util.Map<java.lang.String,java.lang.Double>getAvgRuleCountMap()map<string, double> avg_rule_count = 2;doublegetAvgRuleCountOrDefault(java.lang.String key, double defaultValue)map<string, double> avg_rule_count = 2;doublegetAvgRuleCountOrThrow(java.lang.String key)map<string, double> avg_rule_count = 2;java.util.Map<java.lang.String,java.lang.Integer>getCount()Deprecated.intgetCountCount()map<string, uint32> count = 1;java.util.Map<java.lang.String,java.lang.Integer>getCountMap()map<string, uint32> count = 1;intgetCountOrDefault(java.lang.String key, int defaultValue)map<string, uint32> count = 1;intgetCountOrThrow(java.lang.String key)map<string, uint32> count = 1;static Telemetry.ServerLaunch.Stats.PolicygetDefaultInstance()Telemetry.ServerLaunch.Stats.PolicygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Telemetry.ServerLaunch.Stats.Policy>getParserForType()intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static Telemetry.ServerLaunch.Stats.Policy.BuildernewBuilder()static Telemetry.ServerLaunch.Stats.Policy.BuildernewBuilder(Telemetry.ServerLaunch.Stats.Policy prototype)Telemetry.ServerLaunch.Stats.Policy.BuildernewBuilderForType()protected Telemetry.ServerLaunch.Stats.Policy.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static Telemetry.ServerLaunch.Stats.PolicyparseDelimitedFrom(java.io.InputStream input)static Telemetry.ServerLaunch.Stats.PolicyparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Telemetry.ServerLaunch.Stats.PolicyparseFrom(byte[] data)static Telemetry.ServerLaunch.Stats.PolicyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Telemetry.ServerLaunch.Stats.PolicyparseFrom(com.google.protobuf.ByteString data)static Telemetry.ServerLaunch.Stats.PolicyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Telemetry.ServerLaunch.Stats.PolicyparseFrom(com.google.protobuf.CodedInputStream input)static Telemetry.ServerLaunch.Stats.PolicyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Telemetry.ServerLaunch.Stats.PolicyparseFrom(java.io.InputStream input)static Telemetry.ServerLaunch.Stats.PolicyparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Telemetry.ServerLaunch.Stats.PolicyparseFrom(java.nio.ByteBuffer data)static Telemetry.ServerLaunch.Stats.PolicyparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Telemetry.ServerLaunch.Stats.Policy>parser()Telemetry.ServerLaunch.Stats.Policy.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVG_RULE_COUNT_FIELD_NUMBER
public static final int AVG_RULE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVG_CONDITION_COUNT_FIELD_NUMBER
public static final int AVG_CONDITION_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getCountCount
public int getCountCount()
Description copied from interface:Telemetry.ServerLaunch.Stats.PolicyOrBuildermap<string, uint32> count = 1;- Specified by:
getCountCountin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
containsCount
public boolean containsCount(java.lang.String key)
map<string, uint32> count = 1;- Specified by:
containsCountin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getCount
@Deprecated public java.util.Map<java.lang.String,java.lang.Integer> getCount()
Deprecated.UsegetCountMap()instead.- Specified by:
getCountin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getCountMap
public java.util.Map<java.lang.String,java.lang.Integer> getCountMap()
map<string, uint32> count = 1;- Specified by:
getCountMapin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getCountOrDefault
public int getCountOrDefault(java.lang.String key, int defaultValue)map<string, uint32> count = 1;- Specified by:
getCountOrDefaultin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getCountOrThrow
public int getCountOrThrow(java.lang.String key)
map<string, uint32> count = 1;- Specified by:
getCountOrThrowin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getAvgRuleCountCount
public int getAvgRuleCountCount()
Description copied from interface:Telemetry.ServerLaunch.Stats.PolicyOrBuildermap<string, double> avg_rule_count = 2;- Specified by:
getAvgRuleCountCountin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
containsAvgRuleCount
public boolean containsAvgRuleCount(java.lang.String key)
map<string, double> avg_rule_count = 2;- Specified by:
containsAvgRuleCountin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getAvgRuleCount
@Deprecated public java.util.Map<java.lang.String,java.lang.Double> getAvgRuleCount()
Deprecated.UsegetAvgRuleCountMap()instead.- Specified by:
getAvgRuleCountin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getAvgRuleCountMap
public java.util.Map<java.lang.String,java.lang.Double> getAvgRuleCountMap()
map<string, double> avg_rule_count = 2;- Specified by:
getAvgRuleCountMapin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getAvgRuleCountOrDefault
public double getAvgRuleCountOrDefault(java.lang.String key, double defaultValue)map<string, double> avg_rule_count = 2;- Specified by:
getAvgRuleCountOrDefaultin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getAvgRuleCountOrThrow
public double getAvgRuleCountOrThrow(java.lang.String key)
map<string, double> avg_rule_count = 2;- Specified by:
getAvgRuleCountOrThrowin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getAvgConditionCountCount
public int getAvgConditionCountCount()
Description copied from interface:Telemetry.ServerLaunch.Stats.PolicyOrBuildermap<string, double> avg_condition_count = 3;- Specified by:
getAvgConditionCountCountin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
containsAvgConditionCount
public boolean containsAvgConditionCount(java.lang.String key)
map<string, double> avg_condition_count = 3;- Specified by:
containsAvgConditionCountin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getAvgConditionCount
@Deprecated public java.util.Map<java.lang.String,java.lang.Double> getAvgConditionCount()
Deprecated.UsegetAvgConditionCountMap()instead.- Specified by:
getAvgConditionCountin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getAvgConditionCountMap
public java.util.Map<java.lang.String,java.lang.Double> getAvgConditionCountMap()
map<string, double> avg_condition_count = 3;- Specified by:
getAvgConditionCountMapin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getAvgConditionCountOrDefault
public double getAvgConditionCountOrDefault(java.lang.String key, double defaultValue)map<string, double> avg_condition_count = 3;- Specified by:
getAvgConditionCountOrDefaultin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
getAvgConditionCountOrThrow
public double getAvgConditionCountOrThrow(java.lang.String key)
map<string, double> avg_condition_count = 3;- Specified by:
getAvgConditionCountOrThrowin interfaceTelemetry.ServerLaunch.Stats.PolicyOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Telemetry.ServerLaunch.Stats.Policy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Telemetry.ServerLaunch.Stats.Policy parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Telemetry.ServerLaunch.Stats.Policy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Telemetry.ServerLaunch.Stats.Policy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Telemetry.ServerLaunch.Stats.Policy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Telemetry.ServerLaunch.Stats.Policy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Telemetry.ServerLaunch.Stats.Policy parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Telemetry.ServerLaunch.Stats.Policy parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Telemetry.ServerLaunch.Stats.Policy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Telemetry.ServerLaunch.Stats.Policy parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Telemetry.ServerLaunch.Stats.Policy parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Telemetry.ServerLaunch.Stats.Policy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Telemetry.ServerLaunch.Stats.Policy.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Telemetry.ServerLaunch.Stats.Policy.Builder newBuilder()
-
newBuilder
public static Telemetry.ServerLaunch.Stats.Policy.Builder newBuilder(Telemetry.ServerLaunch.Stats.Policy prototype)
-
toBuilder
public Telemetry.ServerLaunch.Stats.Policy.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Telemetry.ServerLaunch.Stats.Policy.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static Telemetry.ServerLaunch.Stats.Policy getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Telemetry.ServerLaunch.Stats.Policy> parser()
-
getParserForType
public com.google.protobuf.Parser<Telemetry.ServerLaunch.Stats.Policy> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public Telemetry.ServerLaunch.Stats.Policy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-