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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>
public Metric getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Metric build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Metric buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Metric.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Metric.Builder>
java.io.IOException
public int getVer()
optional int32 ver = 1;
getVer
in interface MetricOrBuilder
public 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 MetricOrBuilder
public 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 MetricOrBuilder
public 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 MetricOrBuilder
public 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 MetricOrBuilder
public 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 MetricOrBuilder
public 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()
MetricOrBuilder
map<string, string> properties = 3;
getPropertiesCount
in interface MetricOrBuilder
public 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 MetricOrBuilder
public java.util.Map<java.lang.String,java.lang.String> getPropertiesMap()
map<string, string> properties = 3;
getPropertiesMap
in interface MetricOrBuilder
public java.lang.String getPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)
map<string, string> properties = 3;
getPropertiesOrDefault
in interface MetricOrBuilder
public java.lang.String getPropertiesOrThrow(java.lang.String key)
map<string, string> properties = 3;
getPropertiesOrThrow
in interface MetricOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Metric.Builder>