- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
public static final class TypedValue.Builder extends GeneratedMessageV3.Builder<TypedValue.Builder> implements TypedValueOrBuilder
A single strongly-typed value.
Protobuf type google.cloud.bigquery.migration.v2alpha.TypedValue
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TypedValue.BuilderImplements
TypedValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TypedValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
build()
public TypedValue build()
Returns | |
---|---|
Type | Description |
TypedValue |
buildPartial()
public TypedValue buildPartial()
Returns | |
---|---|
Type | Description |
TypedValue |
clear()
public TypedValue.Builder clear()
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
clearBoolValue()
public TypedValue.Builder clearBoolValue()
A Boolean value: true
or false
.
bool bool_value = 1;
Returns | |
---|---|
Type | Description |
TypedValue.Builder | This builder for chaining. |
clearDistributionValue()
public TypedValue.Builder clearDistributionValue()
A distribution value.
.google.api.Distribution distribution_value = 5;
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
clearDoubleValue()
public TypedValue.Builder clearDoubleValue()
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 | |
---|---|
Type | Description |
TypedValue.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TypedValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
clearInt64Value()
public TypedValue.Builder clearInt64Value()
A 64-bit integer. Its range is approximately +/-9.2x10^18.
int64 int64_value = 2;
Returns | |
---|---|
Type | Description |
TypedValue.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TypedValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
clearStringValue()
public TypedValue.Builder clearStringValue()
A variable-length string value.
string string_value = 4;
Returns | |
---|---|
Type | Description |
TypedValue.Builder | This builder for chaining. |
clearValue()
public TypedValue.Builder clearValue()
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
clone()
public TypedValue.Builder clone()
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
getBoolValue()
public boolean getBoolValue()
A Boolean value: true
or false
.
bool bool_value = 1;
Returns | |
---|---|
Type | Description |
boolean | The boolValue. |
getDefaultInstanceForType()
public TypedValue getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TypedValue |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDistributionValue()
public Distribution getDistributionValue()
A distribution value.
.google.api.Distribution distribution_value = 5;
Returns | |
---|---|
Type | Description |
com.google.api.Distribution | The distributionValue. |
getDistributionValueBuilder()
public Distribution.Builder getDistributionValueBuilder()
A distribution value.
.google.api.Distribution distribution_value = 5;
Returns | |
---|---|
Type | Description |
com.google.api.Distribution.Builder |
getDistributionValueOrBuilder()
public DistributionOrBuilder getDistributionValueOrBuilder()
A distribution value.
.google.api.Distribution distribution_value = 5;
Returns | |
---|---|
Type | Description |
com.google.api.DistributionOrBuilder |
getDoubleValue()
public 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 | |
---|---|
Type | Description |
double | The doubleValue. |
getInt64Value()
public long getInt64Value()
A 64-bit integer. Its range is approximately +/-9.2x10^18.
int64 int64_value = 2;
Returns | |
---|---|
Type | Description |
long | The int64Value. |
getStringValue()
public String getStringValue()
A variable-length string value.
string string_value = 4;
Returns | |
---|---|
Type | Description |
String | The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()
A variable-length string value.
string string_value = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for stringValue. |
getValueCase()
public TypedValue.ValueCase getValueCase()
Returns | |
---|---|
Type | Description |
TypedValue.ValueCase |
hasBoolValue()
public boolean hasBoolValue()
A Boolean value: true
or false
.
bool bool_value = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the boolValue field is set. |
hasDistributionValue()
public boolean hasDistributionValue()
A distribution value.
.google.api.Distribution distribution_value = 5;
Returns | |
---|---|
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^(+/-300) and it has 16 significant digits of precision.
double double_value = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the doubleValue field is set. |
hasInt64Value()
public boolean hasInt64Value()
A 64-bit integer. Its range is approximately +/-9.2x10^18.
int64 int64_value = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the int64Value field is set. |
hasStringValue()
public boolean hasStringValue()
A variable-length string value.
string string_value = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the stringValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDistributionValue(Distribution value)
public TypedValue.Builder mergeDistributionValue(Distribution value)
A distribution value.
.google.api.Distribution distribution_value = 5;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Distribution |
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
mergeFrom(TypedValue other)
public TypedValue.Builder mergeFrom(TypedValue other)
Parameter | |
---|---|
Name | Description |
other | TypedValue |
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TypedValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TypedValue.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TypedValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
setBoolValue(boolean value)
public TypedValue.Builder setBoolValue(boolean value)
A Boolean value: true
or false
.
bool bool_value = 1;
Parameter | |
---|---|
Name | Description |
value | boolean The boolValue to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Distribution |
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
setDistributionValue(Distribution.Builder builderForValue)
public TypedValue.Builder setDistributionValue(Distribution.Builder builderForValue)
A distribution value.
.google.api.Distribution distribution_value = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.api.Distribution.Builder |
Returns | |
---|---|
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^(+/-300) and it has 16 significant digits of precision.
double double_value = 3;
Parameter | |
---|---|
Name | Description |
value | double The doubleValue to set. |
Returns | |
---|---|
Type | Description |
TypedValue.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TypedValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
setInt64Value(long value)
public TypedValue.Builder setInt64Value(long value)
A 64-bit integer. Its range is approximately +/-9.2x10^18.
int64 int64_value = 2;
Parameter | |
---|---|
Name | Description |
value | long The int64Value to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
TypedValue.Builder |
setStringValue(String value)
public TypedValue.Builder setStringValue(String value)
A variable-length string value.
string string_value = 4;
Parameter | |
---|---|
Name | Description |
value | String The stringValue to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for stringValue to set. |
Returns | |
---|---|
Type | Description |
TypedValue.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TypedValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TypedValue.Builder |