public static final class ByteplusRecSdkMetrics.Metric extends com.google.protobuf.GeneratedMessageV3 implements ByteplusRecSdkMetrics.MetricOrBuilder
byteplus.recommend.metric.Metric| 限定符和类型 | 类和说明 |
|---|---|
static class |
ByteplusRecSdkMetrics.Metric.Builder
Protobuf type
byteplus.recommend.metric.Metric |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
NAME_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsTags(String key)
map<string, string> tags = 5; |
boolean |
equals(Object obj) |
static ByteplusRecSdkMetrics.Metric |
getDefaultInstance() |
ByteplusRecSdkMetrics.Metric |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
string name = 1; |
com.google.protobuf.Parser<ByteplusRecSdkMetrics.Metric> |
getParserForType() |
int |
getSerializedSize() |
Map<String,String> |
getTags()
已过时。
|
int |
getTagsCount()
map<string, string> tags = 5; |
Map<String,String> |
getTagsMap()
map<string, string> tags = 5; |
String |
getTagsOrDefault(String key,
String defaultValue)
map<string, string> tags = 5; |
String |
getTagsOrThrow(String key)
map<string, string> tags = 5; |
long |
getTimestamp()
int64 timestamp = 3; |
String |
getType()
string type = 2; |
com.google.protobuf.ByteString |
getTypeBytes()
string type = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
double |
getValue()
double value = 4; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ByteplusRecSdkMetrics.Metric.Builder |
newBuilder() |
static ByteplusRecSdkMetrics.Metric.Builder |
newBuilder(ByteplusRecSdkMetrics.Metric prototype) |
ByteplusRecSdkMetrics.Metric.Builder |
newBuilderForType() |
protected ByteplusRecSdkMetrics.Metric.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ByteplusRecSdkMetrics.Metric |
parseDelimitedFrom(InputStream input) |
static ByteplusRecSdkMetrics.Metric |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByteplusRecSdkMetrics.Metric |
parseFrom(byte[] data) |
static ByteplusRecSdkMetrics.Metric |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByteplusRecSdkMetrics.Metric |
parseFrom(ByteBuffer data) |
static ByteplusRecSdkMetrics.Metric |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByteplusRecSdkMetrics.Metric |
parseFrom(com.google.protobuf.ByteString data) |
static ByteplusRecSdkMetrics.Metric |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByteplusRecSdkMetrics.Metric |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ByteplusRecSdkMetrics.Metric |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ByteplusRecSdkMetrics.Metric |
parseFrom(InputStream input) |
static ByteplusRecSdkMetrics.Metric |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ByteplusRecSdkMetrics.Metric> |
parser() |
ByteplusRecSdkMetrics.Metric.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public String getName()
string name = 1;getName 在接口中 ByteplusRecSdkMetrics.MetricOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
string name = 1;getNameBytes 在接口中 ByteplusRecSdkMetrics.MetricOrBuilderpublic String getType()
string type = 2;getType 在接口中 ByteplusRecSdkMetrics.MetricOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
string type = 2;getTypeBytes 在接口中 ByteplusRecSdkMetrics.MetricOrBuilderpublic long getTimestamp()
int64 timestamp = 3;getTimestamp 在接口中 ByteplusRecSdkMetrics.MetricOrBuilderpublic double getValue()
double value = 4;getValue 在接口中 ByteplusRecSdkMetrics.MetricOrBuilderpublic int getTagsCount()
ByteplusRecSdkMetrics.MetricOrBuildermap<string, string> tags = 5;public boolean containsTags(String key)
map<string, string> tags = 5;@Deprecated public Map<String,String> getTags()
getTagsMap() instead.getTags 在接口中 ByteplusRecSdkMetrics.MetricOrBuilderpublic String getTagsOrDefault(String key, String defaultValue)
map<string, string> tags = 5;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static ByteplusRecSdkMetrics.Metric parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusRecSdkMetrics.Metric parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusRecSdkMetrics.Metric parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusRecSdkMetrics.Metric parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusRecSdkMetrics.Metric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusRecSdkMetrics.Metric parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ByteplusRecSdkMetrics.Metric parseFrom(InputStream input) throws IOException
IOExceptionpublic static ByteplusRecSdkMetrics.Metric parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ByteplusRecSdkMetrics.Metric parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ByteplusRecSdkMetrics.Metric parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ByteplusRecSdkMetrics.Metric parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ByteplusRecSdkMetrics.Metric parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ByteplusRecSdkMetrics.Metric.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ByteplusRecSdkMetrics.Metric.Builder newBuilder()
public static ByteplusRecSdkMetrics.Metric.Builder newBuilder(ByteplusRecSdkMetrics.Metric prototype)
public ByteplusRecSdkMetrics.Metric.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ByteplusRecSdkMetrics.Metric.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static ByteplusRecSdkMetrics.Metric getDefaultInstance()
public static com.google.protobuf.Parser<ByteplusRecSdkMetrics.Metric> parser()
public com.google.protobuf.Parser<ByteplusRecSdkMetrics.Metric> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ByteplusRecSdkMetrics.Metric getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.