- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
public static final class TypedValue.Builder extends GeneratedMessageV3.Builder<TypedValue.Builder> implements TypedValueOrBuilder
A single strongly-typed value.
Protobuf type google.monitoring.v3.TypedValue
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TypedValue.BuilderImplements
TypedValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TypedValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TypedValue.Builder |
build()
public TypedValue build()
Type | Description |
TypedValue |
buildPartial()
public TypedValue buildPartial()
Type | Description |
TypedValue |
clear()
public TypedValue.Builder clear()
Type | Description |
TypedValue.Builder |
clearBoolValue()
public TypedValue.Builder clearBoolValue()
A Boolean value: true
or false
.
bool bool_value = 1;
Type | Description |
TypedValue.Builder | This builder for chaining. |
clearDistributionValue()
public TypedValue.Builder clearDistributionValue()
A distribution value.
.google.api.Distribution distribution_value = 5;
Type | Description |
TypedValue.Builder |
clearDoubleValue()
public TypedValue.Builder clearDoubleValue()
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10<sup>±300</sup> and it has 16 significant digits of precision.
double double_value = 3;
Type | Description |
TypedValue.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TypedValue.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TypedValue.Builder |
clearInt64Value()
public TypedValue.Builder clearInt64Value()
A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.
int64 int64_value = 2;
Type | Description |
TypedValue.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TypedValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TypedValue.Builder |
clearStringValue()
public TypedValue.Builder clearStringValue()
A variable-length string value.
string string_value = 4;
Type | Description |
TypedValue.Builder | This builder for chaining. |
clearValue()
public TypedValue.Builder clearValue()
Type | Description |
TypedValue.Builder |
clone()
public TypedValue.Builder clone()
Type | Description |
TypedValue.Builder |
getBoolValue()
public boolean getBoolValue()
A Boolean value: true
or false
.
bool bool_value = 1;
Type | Description |
boolean | The boolValue. |
getDefaultInstanceForType()
public TypedValue getDefaultInstanceForType()
Type | Description |
TypedValue |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDistributionValue()
public Distribution getDistributionValue()
A distribution value.
.google.api.Distribution distribution_value = 5;
Type | Description |
com.google.api.Distribution | The distributionValue. |
getDistributionValueBuilder()
public Distribution.Builder getDistributionValueBuilder()
A distribution value.
.google.api.Distribution distribution_value = 5;
Type | Description |
com.google.api.Distribution.Builder |
getDistributionValueOrBuilder()
public DistributionOrBuilder getDistributionValueOrBuilder()
A distribution value.
.google.api.Distribution distribution_value = 5;
Type | Description |
com.google.api.DistributionOrBuilder |
getDoubleValue()
public double getDoubleValue()
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10<sup>±300</sup> and it has 16 significant digits of precision.
double double_value = 3;
Type | Description |
double | The doubleValue. |
getInt64Value()
public long getInt64Value()
A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.
int64 int64_value = 2;
Type | Description |
long | The int64Value. |
getStringValue()
public String getStringValue()
A variable-length string value.
string string_value = 4;
Type | Description |
String | The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()
A variable-length string value.
string string_value = 4;
Type | Description |
ByteString | The bytes for stringValue. |
getValueCase()
public TypedValue.ValueCase getValueCase()
Type | Description |
TypedValue.ValueCase |
hasBoolValue()
public boolean hasBoolValue()
A Boolean value: true
or false
.
bool bool_value = 1;
Type | Description |
boolean | Whether the boolValue field is set. |
hasDistributionValue()
public boolean hasDistributionValue()
A distribution value.
.google.api.Distribution distribution_value = 5;
Type | Description |
boolean | Whether the distributionValue field is set. |
hasDoubleValue()
public boolean hasDoubleValue()
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10<sup>±300</sup> and it has 16 significant digits of precision.
double double_value = 3;
Type | Description |
boolean | Whether the doubleValue field is set. |
hasInt64Value()
public boolean hasInt64Value()
A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.
int64 int64_value = 2;
Type | Description |
boolean | Whether the int64Value field is set. |
hasStringValue()
public boolean hasStringValue()
A variable-length string value.
string string_value = 4;
Type | Description |
boolean | Whether the stringValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDistributionValue(Distribution value)
public TypedValue.Builder mergeDistributionValue(Distribution value)
A distribution value.
.google.api.Distribution distribution_value = 5;
Name | Description |
value | com.google.api.Distribution |
Type | Description |
TypedValue.Builder |
mergeFrom(TypedValue other)
public TypedValue.Builder mergeFrom(TypedValue other)
Name | Description |
other | TypedValue |
Type | Description |
TypedValue.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TypedValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TypedValue.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TypedValue.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TypedValue.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TypedValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TypedValue.Builder |
setBoolValue(boolean value)
public TypedValue.Builder setBoolValue(boolean value)
A Boolean value: true
or false
.
bool bool_value = 1;
Name | Description |
value | boolean The boolValue to set. |
Type | Description |
TypedValue.Builder | This builder for chaining. |
setDistributionValue(Distribution value)
public TypedValue.Builder setDistributionValue(Distribution value)
A distribution value.
.google.api.Distribution distribution_value = 5;
Name | Description |
value | com.google.api.Distribution |
Type | Description |
TypedValue.Builder |
setDistributionValue(Distribution.Builder builderForValue)
public TypedValue.Builder setDistributionValue(Distribution.Builder builderForValue)
A distribution value.
.google.api.Distribution distribution_value = 5;
Name | Description |
builderForValue | com.google.api.Distribution.Builder |
Type | Description |
TypedValue.Builder |
setDoubleValue(double value)
public TypedValue.Builder setDoubleValue(double value)
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10<sup>±300</sup> and it has 16 significant digits of precision.
double double_value = 3;
Name | Description |
value | double The doubleValue to set. |
Type | Description |
TypedValue.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TypedValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TypedValue.Builder |
setInt64Value(long value)
public TypedValue.Builder setInt64Value(long value)
A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>.
int64 int64_value = 2;
Name | Description |
value | long The int64Value to set. |
Type | Description |
TypedValue.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TypedValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TypedValue.Builder |
setStringValue(String value)
public TypedValue.Builder setStringValue(String value)
A variable-length string value.
string string_value = 4;
Name | Description |
value | String The stringValue to set. |
Type | Description |
TypedValue.Builder | This builder for chaining. |
setStringValueBytes(ByteString value)
public TypedValue.Builder setStringValueBytes(ByteString value)
A variable-length string value.
string string_value = 4;
Name | Description |
value | ByteString The bytes for stringValue to set. |
Type | Description |
TypedValue.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TypedValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TypedValue.Builder |