public static final class Metric.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder> implements MetricOrBuilder
contracts.Metric| Modifier and Type | Method and Description |
|---|---|
Metric.Builder |
addAllMetrics(java.lang.Iterable<? extends DataPoint> values)
only one metric in the list is currently supported by Application Insights storage.
|
Metric.Builder |
addMetrics(DataPoint.Builder builderForValue)
only one metric in the list is currently supported by Application Insights storage.
|
Metric.Builder |
addMetrics(DataPoint value)
only one metric in the list is currently supported by Application Insights storage.
|
Metric.Builder |
addMetrics(int index,
DataPoint.Builder builderForValue)
only one metric in the list is currently supported by Application Insights storage.
|
Metric.Builder |
addMetrics(int index,
DataPoint value)
only one metric in the list is currently supported by Application Insights storage.
|
DataPoint.Builder |
addMetricsBuilder()
only one metric in the list is currently supported by Application Insights storage.
|
DataPoint.Builder |
addMetricsBuilder(int index)
only one metric in the list is currently supported by Application Insights storage.
|
Metric.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Metric |
build() |
Metric |
buildPartial() |
Metric.Builder |
clear() |
Metric.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Metric.Builder |
clearMetrics()
only one metric in the list is currently supported by Application Insights storage.
|
Metric.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Metric.Builder |
clearProperties() |
Metric.Builder |
clearVer()
optional int32 ver = 1; |
Metric.Builder |
clone() |
boolean |
containsProperties(java.lang.String key)
map<string, string> properties = 3; |
Metric |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DataPoint |
getMetrics(int index)
only one metric in the list is currently supported by Application Insights storage.
|
DataPoint.Builder |
getMetricsBuilder(int index)
only one metric in the list is currently supported by Application Insights storage.
|
java.util.List<DataPoint.Builder> |
getMetricsBuilderList()
only one metric in the list is currently supported by Application Insights storage.
|
int |
getMetricsCount()
only one metric in the list is currently supported by Application Insights storage.
|
java.util.List<DataPoint> |
getMetricsList()
only one metric in the list is currently supported by Application Insights storage.
|
DataPointOrBuilder |
getMetricsOrBuilder(int index)
only one metric in the list is currently supported by Application Insights storage.
|
java.util.List<? extends DataPointOrBuilder> |
getMetricsOrBuilderList()
only one metric in the list is currently supported by Application Insights storage.
|
java.util.Map<java.lang.String,java.lang.String> |
getMutableProperties()
Deprecated.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Deprecated.
|
int |
getPropertiesCount()
map<string, string> properties = 3; |
java.util.Map<java.lang.String,java.lang.String> |
getPropertiesMap()
map<string, string> properties = 3; |
java.lang.String |
getPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> properties = 3; |
java.lang.String |
getPropertiesOrThrow(java.lang.String key)
map<string, string> properties = 3; |
int |
getVer()
optional int32 ver = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Metric.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Metric.Builder |
mergeFrom(com.google.protobuf.Message other) |
Metric.Builder |
mergeFrom(Metric other) |
Metric.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Metric.Builder |
putAllProperties(java.util.Map<java.lang.String,java.lang.String> values)
map<string, string> properties = 3; |
Metric.Builder |
putProperties(java.lang.String key,
java.lang.String value)
map<string, string> properties = 3; |
Metric.Builder |
removeMetrics(int index)
only one metric in the list is currently supported by Application Insights storage.
|
Metric.Builder |
removeProperties(java.lang.String key)
map<string, string> properties = 3; |
Metric.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Metric.Builder |
setMetrics(int index,
DataPoint.Builder builderForValue)
only one metric in the list is currently supported by Application Insights storage.
|
Metric.Builder |
setMetrics(int index,
DataPoint value)
only one metric in the list is currently supported by Application Insights storage.
|
Metric.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Metric.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Metric.Builder |
setVer(int value)
optional int32 ver = 1; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>public Metric.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>public Metric getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Metric build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Metric buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Metric.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>public Metric.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>public Metric.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>public Metric.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>public Metric.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>public Metric.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>public Metric.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Metric.Builder>public Metric.Builder mergeFrom(Metric other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>public Metric.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Metric.Builder>java.io.IOExceptionpublic int getVer()
optional int32 ver = 1;getVer in interface MetricOrBuilderpublic Metric.Builder setVer(int value)
optional int32 ver = 1;public Metric.Builder clearVer()
optional int32 ver = 1;public java.util.List<DataPoint> getMetricsList()
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;getMetricsList in interface MetricOrBuilderpublic int getMetricsCount()
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;getMetricsCount in interface MetricOrBuilderpublic DataPoint getMetrics(int index)
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;getMetrics in interface MetricOrBuilderpublic Metric.Builder setMetrics(int index, DataPoint value)
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public Metric.Builder setMetrics(int index, DataPoint.Builder builderForValue)
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public Metric.Builder addMetrics(DataPoint value)
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public Metric.Builder addMetrics(int index, DataPoint value)
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public Metric.Builder addMetrics(DataPoint.Builder builderForValue)
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public Metric.Builder addMetrics(int index, DataPoint.Builder builderForValue)
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public Metric.Builder addAllMetrics(java.lang.Iterable<? extends DataPoint> values)
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public Metric.Builder clearMetrics()
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public Metric.Builder removeMetrics(int index)
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public DataPoint.Builder getMetricsBuilder(int index)
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public DataPointOrBuilder getMetricsOrBuilder(int index)
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;getMetricsOrBuilder in interface MetricOrBuilderpublic java.util.List<? extends DataPointOrBuilder> getMetricsOrBuilderList()
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;getMetricsOrBuilderList in interface MetricOrBuilderpublic DataPoint.Builder addMetricsBuilder()
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public DataPoint.Builder addMetricsBuilder(int index)
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public java.util.List<DataPoint.Builder> getMetricsBuilderList()
only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
repeated .contracts.DataPoint metrics = 2;public int getPropertiesCount()
MetricOrBuildermap<string, string> properties = 3;getPropertiesCount in interface MetricOrBuilderpublic boolean containsProperties(java.lang.String key)
map<string, string> properties = 3;containsProperties in interface MetricOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getProperties()
getPropertiesMap() instead.getProperties in interface MetricOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getPropertiesMap()
map<string, string> properties = 3;getPropertiesMap in interface MetricOrBuilderpublic java.lang.String getPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> properties = 3;getPropertiesOrDefault in interface MetricOrBuilderpublic java.lang.String getPropertiesOrThrow(java.lang.String key)
map<string, string> properties = 3;getPropertiesOrThrow in interface MetricOrBuilderpublic Metric.Builder clearProperties()
public Metric.Builder removeProperties(java.lang.String key)
map<string, string> properties = 3;@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableProperties()
public Metric.Builder putProperties(java.lang.String key, java.lang.String value)
map<string, string> properties = 3;public Metric.Builder putAllProperties(java.util.Map<java.lang.String,java.lang.String> values)
map<string, string> properties = 3;public final Metric.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>public final Metric.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>