public static final class AttributeValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttributeValue.Builder> implements AttributeValueOrBuilder
The value of an Attribute.Protobuf type
opencensus.proto.trace.v1.AttributeValue| Modifier and Type | Method and Description |
|---|---|
AttributeValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AttributeValue |
build() |
AttributeValue |
buildPartial() |
AttributeValue.Builder |
clear() |
AttributeValue.Builder |
clearBoolValue()
A Boolean value represented by `true` or `false`.
|
AttributeValue.Builder |
clearDoubleValue()
A double value.
|
AttributeValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AttributeValue.Builder |
clearIntValue()
A 64-bit signed integer.
|
AttributeValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AttributeValue.Builder |
clearStringValue()
A string up to 256 bytes long.
|
AttributeValue.Builder |
clearValue() |
AttributeValue.Builder |
clone() |
boolean |
getBoolValue()
A Boolean value represented by `true` or `false`.
|
AttributeValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getDoubleValue()
A double value.
|
long |
getIntValue()
A 64-bit signed integer.
|
TruncatableString |
getStringValue()
A string up to 256 bytes long.
|
TruncatableString.Builder |
getStringValueBuilder()
A string up to 256 bytes long.
|
TruncatableStringOrBuilder |
getStringValueOrBuilder()
A string up to 256 bytes long.
|
AttributeValue.ValueCase |
getValueCase() |
boolean |
hasStringValue()
A string up to 256 bytes long.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AttributeValue.Builder |
mergeFrom(AttributeValue other) |
AttributeValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AttributeValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
AttributeValue.Builder |
mergeStringValue(TruncatableString value)
A string up to 256 bytes long.
|
AttributeValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AttributeValue.Builder |
setBoolValue(boolean value)
A Boolean value represented by `true` or `false`.
|
AttributeValue.Builder |
setDoubleValue(double value)
A double value.
|
AttributeValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AttributeValue.Builder |
setIntValue(long value)
A 64-bit signed integer.
|
AttributeValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AttributeValue.Builder |
setStringValue(TruncatableString.Builder builderForValue)
A string up to 256 bytes long.
|
AttributeValue.Builder |
setStringValue(TruncatableString value)
A string up to 256 bytes long.
|
AttributeValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeValue.Builder>public AttributeValue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeValue.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<AttributeValue.Builder>public AttributeValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AttributeValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AttributeValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AttributeValue.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeValue.Builder>public AttributeValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeValue.Builder>public AttributeValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeValue.Builder>public AttributeValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeValue.Builder>public AttributeValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeValue.Builder>public AttributeValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeValue.Builder>public AttributeValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttributeValue.Builder>public AttributeValue.Builder mergeFrom(AttributeValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeValue.Builder>public AttributeValue.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<AttributeValue.Builder>IOExceptionpublic AttributeValue.ValueCase getValueCase()
getValueCase in interface AttributeValueOrBuilderpublic AttributeValue.Builder clearValue()
public boolean hasStringValue()
A string up to 256 bytes long.
.opencensus.proto.trace.v1.TruncatableString string_value = 1;hasStringValue in interface AttributeValueOrBuilderpublic TruncatableString getStringValue()
A string up to 256 bytes long.
.opencensus.proto.trace.v1.TruncatableString string_value = 1;getStringValue in interface AttributeValueOrBuilderpublic AttributeValue.Builder setStringValue(TruncatableString value)
A string up to 256 bytes long.
.opencensus.proto.trace.v1.TruncatableString string_value = 1;public AttributeValue.Builder setStringValue(TruncatableString.Builder builderForValue)
A string up to 256 bytes long.
.opencensus.proto.trace.v1.TruncatableString string_value = 1;public AttributeValue.Builder mergeStringValue(TruncatableString value)
A string up to 256 bytes long.
.opencensus.proto.trace.v1.TruncatableString string_value = 1;public AttributeValue.Builder clearStringValue()
A string up to 256 bytes long.
.opencensus.proto.trace.v1.TruncatableString string_value = 1;public TruncatableString.Builder getStringValueBuilder()
A string up to 256 bytes long.
.opencensus.proto.trace.v1.TruncatableString string_value = 1;public TruncatableStringOrBuilder getStringValueOrBuilder()
A string up to 256 bytes long.
.opencensus.proto.trace.v1.TruncatableString string_value = 1;getStringValueOrBuilder in interface AttributeValueOrBuilderpublic long getIntValue()
A 64-bit signed integer.
int64 int_value = 2;getIntValue in interface AttributeValueOrBuilderpublic AttributeValue.Builder setIntValue(long value)
A 64-bit signed integer.
int64 int_value = 2;public AttributeValue.Builder clearIntValue()
A 64-bit signed integer.
int64 int_value = 2;public boolean getBoolValue()
A Boolean value represented by `true` or `false`.
bool bool_value = 3;getBoolValue in interface AttributeValueOrBuilderpublic AttributeValue.Builder setBoolValue(boolean value)
A Boolean value represented by `true` or `false`.
bool bool_value = 3;public AttributeValue.Builder clearBoolValue()
A Boolean value represented by `true` or `false`.
bool bool_value = 3;public double getDoubleValue()
A double value.
double double_value = 4;getDoubleValue in interface AttributeValueOrBuilderpublic AttributeValue.Builder setDoubleValue(double value)
A double value.
double double_value = 4;public AttributeValue.Builder clearDoubleValue()
A double value.
double double_value = 4;public final AttributeValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeValue.Builder>public final AttributeValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeValue.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.