Package io.opencensus.proto.trace.v1
Interface AttributeValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AttributeValue,AttributeValue.Builder
public interface AttributeValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetBoolValue()A Boolean value represented by `true` or `false`.doublegetDoubleValue()A double value.longgetIntValue()A 64-bit signed integer.TruncatableStringgetStringValue()A string up to 256 bytes long.TruncatableStringOrBuildergetStringValueOrBuilder()A string up to 256 bytes long.AttributeValue.ValueCasegetValueCase()booleanhasBoolValue()A Boolean value represented by `true` or `false`.booleanhasDoubleValue()A double value.booleanhasIntValue()A 64-bit signed integer.booleanhasStringValue()A string up to 256 bytes long.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStringValue
boolean hasStringValue()
A string up to 256 bytes long.
.opencensus.proto.trace.v1.TruncatableString string_value = 1;- Returns:
- Whether the stringValue field is set.
-
getStringValue
TruncatableString getStringValue()
A string up to 256 bytes long.
.opencensus.proto.trace.v1.TruncatableString string_value = 1;- Returns:
- The stringValue.
-
getStringValueOrBuilder
TruncatableStringOrBuilder getStringValueOrBuilder()
A string up to 256 bytes long.
.opencensus.proto.trace.v1.TruncatableString string_value = 1;
-
hasIntValue
boolean hasIntValue()
A 64-bit signed integer.
int64 int_value = 2;- Returns:
- Whether the intValue field is set.
-
getIntValue
long getIntValue()
A 64-bit signed integer.
int64 int_value = 2;- Returns:
- The intValue.
-
hasBoolValue
boolean hasBoolValue()
A Boolean value represented by `true` or `false`.
bool bool_value = 3;- Returns:
- Whether the boolValue field is set.
-
getBoolValue
boolean getBoolValue()
A Boolean value represented by `true` or `false`.
bool bool_value = 3;- Returns:
- The boolValue.
-
hasDoubleValue
boolean hasDoubleValue()
A double value.
double double_value = 4;- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
double getDoubleValue()
A double value.
double double_value = 4;- Returns:
- The doubleValue.
-
getValueCase
AttributeValue.ValueCase getValueCase()
-
-