public final class Telemetry extends com.google.protobuf.GeneratedMessageV3 implements TelemetryOrBuilder
contracts.Telemetry
Modifier and Type | Class and Description |
---|---|
static class |
Telemetry.Builder
Protobuf type
contracts.Telemetry |
static class |
Telemetry.DataCase |
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
Modifier and Type | Field and Description |
---|---|
static int |
AVAILABILITY_FIELD_NUMBER |
static int |
DATATYPENAME_FIELD_NUMBER |
static int |
DATETIME_FIELD_NUMBER |
static int |
DEPENDENCY_FIELD_NUMBER |
static int |
EVENT_FIELD_NUMBER |
static int |
EXCEPTION_FIELD_NUMBER |
static int |
INSTRUMENTATIONKEY_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static int |
METRIC_FIELD_NUMBER |
static int |
PAGEVIEW_FIELD_NUMBER |
static int |
REQUEST_FIELD_NUMBER |
static int |
SAMPLINGRATE_FIELD_NUMBER |
static int |
SEQUENCENUMBER_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
static int |
VER_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsTags(java.lang.String key)
map<string, string> tags = 7; |
boolean |
equals(java.lang.Object obj) |
Availability |
getAvailability()
optional .contracts.Availability availability = 13; |
AvailabilityOrBuilder |
getAvailabilityOrBuilder()
optional .contracts.Availability availability = 13; |
Telemetry.DataCase |
getDataCase() |
java.lang.String |
getDataTypeName()
optional string dataTypeName = 2; |
com.google.protobuf.ByteString |
getDataTypeNameBytes()
optional string dataTypeName = 2; |
java.lang.String |
getDateTime()
[Description("Event date time when telemetry item was created.
|
com.google.protobuf.ByteString |
getDateTimeBytes()
[Description("Event date time when telemetry item was created.
|
static Telemetry |
getDefaultInstance() |
Telemetry |
getDefaultInstanceForType() |
Dependency |
getDependency()
optional .contracts.Dependency dependency = 12; |
DependencyOrBuilder |
getDependencyOrBuilder()
optional .contracts.Dependency dependency = 12; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Event |
getEvent()
optional .contracts.Event event = 8; |
EventOrBuilder |
getEventOrBuilder()
optional .contracts.Event event = 8; |
Exception |
getException()
optional .contracts.Exception exception = 11; |
ExceptionOrBuilder |
getExceptionOrBuilder()
optional .contracts.Exception exception = 11; |
java.lang.String |
getInstrumentationKey()
optional string instrumentationKey = 6; |
com.google.protobuf.ByteString |
getInstrumentationKeyBytes()
optional string instrumentationKey = 6; |
Message |
getMessage()
optional .contracts.Message message = 9; |
MessageOrBuilder |
getMessageOrBuilder()
optional .contracts.Message message = 9; |
Metric |
getMetric()
optional .contracts.Metric metric = 10; |
MetricOrBuilder |
getMetricOrBuilder()
optional .contracts.Metric metric = 10; |
PageView |
getPageView()
optional .contracts.PageView pageView = 14; |
PageViewOrBuilder |
getPageViewOrBuilder()
optional .contracts.PageView pageView = 14; |
com.google.protobuf.Parser<Telemetry> |
getParserForType() |
Request |
getRequest()
optional .contracts.Request request = 15; |
RequestOrBuilder |
getRequestOrBuilder()
optional .contracts.Request request = 15; |
com.google.protobuf.DoubleValue |
getSamplingRate()
default must be assumed 100
|
com.google.protobuf.DoubleValueOrBuilder |
getSamplingRateOrBuilder()
default must be assumed 100
|
java.lang.String |
getSequenceNumber()
optional string sequenceNumber = 5; |
com.google.protobuf.ByteString |
getSequenceNumberBytes()
optional string sequenceNumber = 5; |
int |
getSerializedSize() |
java.util.Map<java.lang.String,java.lang.String> |
getTags()
Deprecated.
|
int |
getTagsCount()
map<string, string> tags = 7; |
java.util.Map<java.lang.String,java.lang.String> |
getTagsMap()
map<string, string> tags = 7; |
java.lang.String |
getTagsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> tags = 7; |
java.lang.String |
getTagsOrThrow(java.lang.String key)
map<string, string> tags = 7; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVer()
optional int32 ver = 1; |
int |
hashCode() |
boolean |
hasSamplingRate()
default must be assumed 100
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Telemetry.Builder |
newBuilder() |
static Telemetry.Builder |
newBuilder(Telemetry prototype) |
Telemetry.Builder |
newBuilderForType() |
protected Telemetry.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Telemetry |
parseDelimitedFrom(java.io.InputStream input) |
static Telemetry |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Telemetry |
parseFrom(byte[] data) |
static Telemetry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Telemetry |
parseFrom(com.google.protobuf.ByteString data) |
static Telemetry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Telemetry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Telemetry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Telemetry |
parseFrom(java.io.InputStream input) |
static Telemetry |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Telemetry> |
parser() |
Telemetry.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int VER_FIELD_NUMBER
public static final int DATATYPENAME_FIELD_NUMBER
public static final int DATETIME_FIELD_NUMBER
public static final int SAMPLINGRATE_FIELD_NUMBER
public static final int SEQUENCENUMBER_FIELD_NUMBER
public static final int INSTRUMENTATIONKEY_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int METRIC_FIELD_NUMBER
public static final int EXCEPTION_FIELD_NUMBER
public static final int DEPENDENCY_FIELD_NUMBER
public static final int AVAILABILITY_FIELD_NUMBER
public static final int PAGEVIEW_FIELD_NUMBER
public static final int REQUEST_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public Telemetry.DataCase getDataCase()
getDataCase
in interface TelemetryOrBuilder
public int getVer()
optional int32 ver = 1;
getVer
in interface TelemetryOrBuilder
public java.lang.String getDataTypeName()
optional string dataTypeName = 2;
getDataTypeName
in interface TelemetryOrBuilder
public com.google.protobuf.ByteString getDataTypeNameBytes()
optional string dataTypeName = 2;
getDataTypeNameBytes
in interface TelemetryOrBuilder
public java.lang.String getDateTime()
[Description("Event date time when telemetry item was created. This is the wall clock time on the client when the event was generated. There is no guarantee that the client's time is accurate. This field must be formatted in UTC ISO 8601 format, with a trailing 'Z' character, as described publicly on https://en.wikipedia.org/wiki/ISO_8601#UTC. Note: the number of decimal seconds digits provided are variable (and unspecified). Consumers should handle this, i.e. managed code consumers should not use format 'O' for parsing as it specifies a fixed length. Example: 2009-06-15T13:45:30.0000000Z.")] [Name("DateTime")] [CSType("DateTimeOffset")]
optional string dateTime = 3;
getDateTime
in interface TelemetryOrBuilder
public com.google.protobuf.ByteString getDateTimeBytes()
[Description("Event date time when telemetry item was created. This is the wall clock time on the client when the event was generated. There is no guarantee that the client's time is accurate. This field must be formatted in UTC ISO 8601 format, with a trailing 'Z' character, as described publicly on https://en.wikipedia.org/wiki/ISO_8601#UTC. Note: the number of decimal seconds digits provided are variable (and unspecified). Consumers should handle this, i.e. managed code consumers should not use format 'O' for parsing as it specifies a fixed length. Example: 2009-06-15T13:45:30.0000000Z.")] [Name("DateTime")] [CSType("DateTimeOffset")]
optional string dateTime = 3;
getDateTimeBytes
in interface TelemetryOrBuilder
public boolean hasSamplingRate()
default must be assumed 100
optional .google.protobuf.DoubleValue samplingRate = 4;
hasSamplingRate
in interface TelemetryOrBuilder
public com.google.protobuf.DoubleValue getSamplingRate()
default must be assumed 100
optional .google.protobuf.DoubleValue samplingRate = 4;
getSamplingRate
in interface TelemetryOrBuilder
public com.google.protobuf.DoubleValueOrBuilder getSamplingRateOrBuilder()
default must be assumed 100
optional .google.protobuf.DoubleValue samplingRate = 4;
getSamplingRateOrBuilder
in interface TelemetryOrBuilder
public java.lang.String getSequenceNumber()
optional string sequenceNumber = 5;
getSequenceNumber
in interface TelemetryOrBuilder
public com.google.protobuf.ByteString getSequenceNumberBytes()
optional string sequenceNumber = 5;
getSequenceNumberBytes
in interface TelemetryOrBuilder
public java.lang.String getInstrumentationKey()
optional string instrumentationKey = 6;
getInstrumentationKey
in interface TelemetryOrBuilder
public com.google.protobuf.ByteString getInstrumentationKeyBytes()
optional string instrumentationKey = 6;
getInstrumentationKeyBytes
in interface TelemetryOrBuilder
public int getTagsCount()
TelemetryOrBuilder
map<string, string> tags = 7;
getTagsCount
in interface TelemetryOrBuilder
public boolean containsTags(java.lang.String key)
map<string, string> tags = 7;
containsTags
in interface TelemetryOrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getTags()
getTagsMap()
instead.getTags
in interface TelemetryOrBuilder
public java.util.Map<java.lang.String,java.lang.String> getTagsMap()
map<string, string> tags = 7;
getTagsMap
in interface TelemetryOrBuilder
public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String defaultValue)
map<string, string> tags = 7;
getTagsOrDefault
in interface TelemetryOrBuilder
public java.lang.String getTagsOrThrow(java.lang.String key)
map<string, string> tags = 7;
getTagsOrThrow
in interface TelemetryOrBuilder
public Event getEvent()
optional .contracts.Event event = 8;
getEvent
in interface TelemetryOrBuilder
public EventOrBuilder getEventOrBuilder()
optional .contracts.Event event = 8;
getEventOrBuilder
in interface TelemetryOrBuilder
public Message getMessage()
optional .contracts.Message message = 9;
getMessage
in interface TelemetryOrBuilder
public MessageOrBuilder getMessageOrBuilder()
optional .contracts.Message message = 9;
getMessageOrBuilder
in interface TelemetryOrBuilder
public Metric getMetric()
optional .contracts.Metric metric = 10;
getMetric
in interface TelemetryOrBuilder
public MetricOrBuilder getMetricOrBuilder()
optional .contracts.Metric metric = 10;
getMetricOrBuilder
in interface TelemetryOrBuilder
public Exception getException()
optional .contracts.Exception exception = 11;
getException
in interface TelemetryOrBuilder
public ExceptionOrBuilder getExceptionOrBuilder()
optional .contracts.Exception exception = 11;
getExceptionOrBuilder
in interface TelemetryOrBuilder
public Dependency getDependency()
optional .contracts.Dependency dependency = 12;
getDependency
in interface TelemetryOrBuilder
public DependencyOrBuilder getDependencyOrBuilder()
optional .contracts.Dependency dependency = 12;
getDependencyOrBuilder
in interface TelemetryOrBuilder
public Availability getAvailability()
optional .contracts.Availability availability = 13;
getAvailability
in interface TelemetryOrBuilder
public AvailabilityOrBuilder getAvailabilityOrBuilder()
optional .contracts.Availability availability = 13;
getAvailabilityOrBuilder
in interface TelemetryOrBuilder
public PageView getPageView()
optional .contracts.PageView pageView = 14;
getPageView
in interface TelemetryOrBuilder
public PageViewOrBuilder getPageViewOrBuilder()
optional .contracts.PageView pageView = 14;
getPageViewOrBuilder
in interface TelemetryOrBuilder
public Request getRequest()
optional .contracts.Request request = 15;
getRequest
in interface TelemetryOrBuilder
public RequestOrBuilder getRequestOrBuilder()
optional .contracts.Request request = 15;
getRequestOrBuilder
in interface TelemetryOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Telemetry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Telemetry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Telemetry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Telemetry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Telemetry parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Telemetry parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Telemetry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Telemetry parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Telemetry parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Telemetry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Telemetry.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Telemetry.Builder newBuilder()
public static Telemetry.Builder newBuilder(Telemetry prototype)
public Telemetry.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Telemetry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Telemetry getDefaultInstance()
public static com.google.protobuf.Parser<Telemetry> parser()
public com.google.protobuf.Parser<Telemetry> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Telemetry getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder