public static final class BatchReport.Measure.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchReport.Measure.Builder> implements BatchReport.MeasureOrBuilder
Measure| Modifier and Type | Method and Description |
|---|---|
BatchReport.Measure |
build() |
BatchReport.Measure |
buildPartial() |
BatchReport.Measure.Builder |
clear() |
BatchReport.Measure.Builder |
clearBooleanValue()
optional bool boolean_value = 2; |
BatchReport.Measure.Builder |
clearDoubleValue()
optional double double_value = 5; |
BatchReport.Measure.Builder |
clearIntValue()
optional int32 int_value = 3; |
BatchReport.Measure.Builder |
clearLongValue()
optional int64 long_value = 4; |
BatchReport.Measure.Builder |
clearMetricKey()
optional string metric_key = 7; |
BatchReport.Measure.Builder |
clearStringValue()
optional string string_value = 6; |
BatchReport.Measure.Builder |
clearValueType()
optional .MeasureValueType value_type = 1; |
boolean |
getBooleanValue()
optional bool boolean_value = 2; |
BatchReport.Measure |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getDoubleValue()
optional double double_value = 5; |
int |
getIntValue()
optional int32 int_value = 3; |
long |
getLongValue()
optional int64 long_value = 4; |
String |
getMetricKey()
optional string metric_key = 7; |
com.google.protobuf.ByteString |
getMetricKeyBytes()
optional string metric_key = 7; |
String |
getStringValue()
optional string string_value = 6; |
com.google.protobuf.ByteString |
getStringValueBytes()
optional string string_value = 6; |
Constants.MeasureValueType |
getValueType()
optional .MeasureValueType value_type = 1; |
boolean |
hasBooleanValue()
optional bool boolean_value = 2; |
boolean |
hasDoubleValue()
optional double double_value = 5; |
boolean |
hasIntValue()
optional int32 int_value = 3; |
boolean |
hasLongValue()
optional int64 long_value = 4; |
boolean |
hasMetricKey()
optional string metric_key = 7; |
boolean |
hasStringValue()
optional string string_value = 6; |
boolean |
hasValueType()
optional .MeasureValueType value_type = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchReport.Measure.Builder |
mergeFrom(BatchReport.Measure other) |
BatchReport.Measure.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchReport.Measure.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchReport.Measure.Builder |
setBooleanValue(boolean value)
optional bool boolean_value = 2; |
BatchReport.Measure.Builder |
setDoubleValue(double value)
optional double double_value = 5; |
BatchReport.Measure.Builder |
setIntValue(int value)
optional int32 int_value = 3; |
BatchReport.Measure.Builder |
setLongValue(long value)
optional int64 long_value = 4; |
BatchReport.Measure.Builder |
setMetricKey(String value)
optional string metric_key = 7; |
BatchReport.Measure.Builder |
setMetricKeyBytes(com.google.protobuf.ByteString value)
optional string metric_key = 7; |
BatchReport.Measure.Builder |
setStringValue(String value)
optional string string_value = 6; |
BatchReport.Measure.Builder |
setStringValueBytes(com.google.protobuf.ByteString value)
optional string string_value = 6; |
BatchReport.Measure.Builder |
setValueType(Constants.MeasureValueType value)
optional .MeasureValueType value_type = 1; |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BatchReport.Measure.Builder>public BatchReport.Measure.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<BatchReport.Measure.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.GeneratedMessage.Builder<BatchReport.Measure.Builder>public BatchReport.Measure getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchReport.Measure build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchReport.Measure buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchReport.Measure.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchReport.Measure.Builder>public BatchReport.Measure.Builder mergeFrom(BatchReport.Measure other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<BatchReport.Measure.Builder>public BatchReport.Measure.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchReport.Measure.Builder>IOExceptionpublic boolean hasValueType()
optional .MeasureValueType value_type = 1;hasValueType in interface BatchReport.MeasureOrBuilderpublic Constants.MeasureValueType getValueType()
optional .MeasureValueType value_type = 1;getValueType in interface BatchReport.MeasureOrBuilderpublic BatchReport.Measure.Builder setValueType(Constants.MeasureValueType value)
optional .MeasureValueType value_type = 1;public BatchReport.Measure.Builder clearValueType()
optional .MeasureValueType value_type = 1;public boolean hasBooleanValue()
optional bool boolean_value = 2;
all values may be unset for "new_xxx" measures (only variations are populated)
hasBooleanValue in interface BatchReport.MeasureOrBuilderpublic boolean getBooleanValue()
optional bool boolean_value = 2;
all values may be unset for "new_xxx" measures (only variations are populated)
getBooleanValue in interface BatchReport.MeasureOrBuilderpublic BatchReport.Measure.Builder setBooleanValue(boolean value)
optional bool boolean_value = 2;
all values may be unset for "new_xxx" measures (only variations are populated)
public BatchReport.Measure.Builder clearBooleanValue()
optional bool boolean_value = 2;
all values may be unset for "new_xxx" measures (only variations are populated)
public boolean hasIntValue()
optional int32 int_value = 3;hasIntValue in interface BatchReport.MeasureOrBuilderpublic int getIntValue()
optional int32 int_value = 3;getIntValue in interface BatchReport.MeasureOrBuilderpublic BatchReport.Measure.Builder setIntValue(int value)
optional int32 int_value = 3;public BatchReport.Measure.Builder clearIntValue()
optional int32 int_value = 3;public boolean hasLongValue()
optional int64 long_value = 4;hasLongValue in interface BatchReport.MeasureOrBuilderpublic long getLongValue()
optional int64 long_value = 4;getLongValue in interface BatchReport.MeasureOrBuilderpublic BatchReport.Measure.Builder setLongValue(long value)
optional int64 long_value = 4;public BatchReport.Measure.Builder clearLongValue()
optional int64 long_value = 4;public boolean hasDoubleValue()
optional double double_value = 5;hasDoubleValue in interface BatchReport.MeasureOrBuilderpublic double getDoubleValue()
optional double double_value = 5;getDoubleValue in interface BatchReport.MeasureOrBuilderpublic BatchReport.Measure.Builder setDoubleValue(double value)
optional double double_value = 5;public BatchReport.Measure.Builder clearDoubleValue()
optional double double_value = 5;public boolean hasStringValue()
optional string string_value = 6;hasStringValue in interface BatchReport.MeasureOrBuilderpublic String getStringValue()
optional string string_value = 6;getStringValue in interface BatchReport.MeasureOrBuilderpublic com.google.protobuf.ByteString getStringValueBytes()
optional string string_value = 6;getStringValueBytes in interface BatchReport.MeasureOrBuilderpublic BatchReport.Measure.Builder setStringValue(String value)
optional string string_value = 6;public BatchReport.Measure.Builder clearStringValue()
optional string string_value = 6;public BatchReport.Measure.Builder setStringValueBytes(com.google.protobuf.ByteString value)
optional string string_value = 6;public boolean hasMetricKey()
optional string metric_key = 7;hasMetricKey in interface BatchReport.MeasureOrBuilderpublic String getMetricKey()
optional string metric_key = 7;getMetricKey in interface BatchReport.MeasureOrBuilderpublic com.google.protobuf.ByteString getMetricKeyBytes()
optional string metric_key = 7;getMetricKeyBytes in interface BatchReport.MeasureOrBuilderpublic BatchReport.Measure.Builder setMetricKey(String value)
optional string metric_key = 7;public BatchReport.Measure.Builder clearMetricKey()
optional string metric_key = 7;public BatchReport.Measure.Builder setMetricKeyBytes(com.google.protobuf.ByteString value)
optional string metric_key = 7;Copyright © 2009–2015 SonarSource. All rights reserved.