Interface TypedValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TypedValue,TypedValue.Builder
@Generated
public interface TypedValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanA Boolean value: `true` or `false`.A distribution value.A distribution value.doubleA 64-bit double-precision floating-point number.longA 64-bit integer.A variable-length string value.com.google.protobuf.ByteStringA variable-length string value.booleanA Boolean value: `true` or `false`.booleanA distribution value.booleanA 64-bit double-precision floating-point number.booleanA 64-bit integer.booleanA variable-length string value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasBoolValue
boolean hasBoolValue()A Boolean value: `true` or `false`.
bool bool_value = 1;- Returns:
- Whether the boolValue field is set.
-
getBoolValue
boolean getBoolValue()A Boolean value: `true` or `false`.
bool bool_value = 1;- Returns:
- The boolValue.
-
hasInt64Value
boolean hasInt64Value()A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
int64 int64_value = 2;- Returns:
- Whether the int64Value field is set.
-
getInt64Value
long getInt64Value()A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
int64 int64_value = 2;- Returns:
- The int64Value.
-
hasDoubleValue
boolean hasDoubleValue()A 64-bit double-precision floating-point number. Its magnitude is approximately `+/-10^(+/-300)` and it has 16 significant digits of precision.
double double_value = 3;- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
double getDoubleValue()A 64-bit double-precision floating-point number. Its magnitude is approximately `+/-10^(+/-300)` and it has 16 significant digits of precision.
double double_value = 3;- Returns:
- The doubleValue.
-
hasStringValue
boolean hasStringValue()A variable-length string value.
string string_value = 4;- Returns:
- Whether the stringValue field is set.
-
getStringValue
String getStringValue()A variable-length string value.
string string_value = 4;- Returns:
- The stringValue.
-
getStringValueBytes
com.google.protobuf.ByteString getStringValueBytes()A variable-length string value.
string string_value = 4;- Returns:
- The bytes for stringValue.
-
hasDistributionValue
boolean hasDistributionValue()A distribution value.
.google.api.Distribution distribution_value = 5;- Returns:
- Whether the distributionValue field is set.
-
getDistributionValue
Distribution getDistributionValue()A distribution value.
.google.api.Distribution distribution_value = 5;- Returns:
- The distributionValue.
-
getDistributionValueOrBuilder
DistributionOrBuilder getDistributionValueOrBuilder()A distribution value.
.google.api.Distribution distribution_value = 5; -
getValueCase
TypedValue.ValueCase getValueCase()
-