Class TypedValue.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TypedValue.Builder>
com.google.cloud.bigquery.migration.v2.TypedValue.Builder
- All Implemented Interfaces:
TypedValueOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TypedValue
public static final class TypedValue.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TypedValue.Builder>
implements TypedValueOrBuilder
A single strongly-typed value.Protobuf type
google.cloud.bigquery.migration.v2.TypedValue-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A Boolean value: `true` or `false`.A distribution value.A 64-bit double-precision floating-point number.A 64-bit integer.A variable-length string value.booleanA Boolean value: `true` or `false`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA distribution value.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanA distribution value.mergeFrom(TypedValue other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setBoolValue(boolean value) A Boolean value: `true` or `false`.setDistributionValue(Distribution value) A distribution value.setDistributionValue(Distribution.Builder builderForValue) A distribution value.setDoubleValue(double value) A 64-bit double-precision floating-point number.setInt64Value(long value) A 64-bit integer.setStringValue(String value) A variable-length string value.setStringValueBytes(com.google.protobuf.ByteString value) A variable-length string value.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TypedValue.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TypedValue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TypedValue.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TypedValue.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TypedValue.Builder>
-
mergeFrom
public TypedValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TypedValue.Builder>- Throws:
IOException
-
getValueCase
- Specified by:
getValueCasein interfaceTypedValueOrBuilder
-
clearValue
-
hasBoolValue
public boolean hasBoolValue()A Boolean value: `true` or `false`.
bool bool_value = 1;- Specified by:
hasBoolValuein interfaceTypedValueOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()A Boolean value: `true` or `false`.
bool bool_value = 1;- Specified by:
getBoolValuein interfaceTypedValueOrBuilder- Returns:
- The boolValue.
-
setBoolValue
A Boolean value: `true` or `false`.
bool bool_value = 1;- Parameters:
value- The boolValue to set.- Returns:
- This builder for chaining.
-
clearBoolValue
A Boolean value: `true` or `false`.
bool bool_value = 1;- Returns:
- This builder for chaining.
-
hasInt64Value
public boolean hasInt64Value()A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
int64 int64_value = 2;- Specified by:
hasInt64Valuein interfaceTypedValueOrBuilder- Returns:
- Whether the int64Value field is set.
-
getInt64Value
public long getInt64Value()A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
int64 int64_value = 2;- Specified by:
getInt64Valuein interfaceTypedValueOrBuilder- Returns:
- The int64Value.
-
setInt64Value
A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
int64 int64_value = 2;- Parameters:
value- The int64Value to set.- Returns:
- This builder for chaining.
-
clearInt64Value
A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
int64 int64_value = 2;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasDoubleValuein interfaceTypedValueOrBuilder- Returns:
- Whether the doubleValue field is set.
-
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;- Specified by:
getDoubleValuein interfaceTypedValueOrBuilder- Returns:
- The doubleValue.
-
setDoubleValue
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;- Parameters:
value- The doubleValue to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
hasStringValue
public boolean hasStringValue()A variable-length string value.
string string_value = 4;- Specified by:
hasStringValuein interfaceTypedValueOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
A variable-length string value.
string string_value = 4;- Specified by:
getStringValuein interfaceTypedValueOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()A variable-length string value.
string string_value = 4;- Specified by:
getStringValueBytesin interfaceTypedValueOrBuilder- Returns:
- The bytes for stringValue.
-
setStringValue
A variable-length string value.
string string_value = 4;- Parameters:
value- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
A variable-length string value.
string string_value = 4;- Returns:
- This builder for chaining.
-
setStringValueBytes
A variable-length string value.
string string_value = 4;- Parameters:
value- The bytes for stringValue to set.- Returns:
- This builder for chaining.
-
hasDistributionValue
public boolean hasDistributionValue()A distribution value.
.google.api.Distribution distribution_value = 5;- Specified by:
hasDistributionValuein interfaceTypedValueOrBuilder- Returns:
- Whether the distributionValue field is set.
-
getDistributionValue
A distribution value.
.google.api.Distribution distribution_value = 5;- Specified by:
getDistributionValuein interfaceTypedValueOrBuilder- Returns:
- The distributionValue.
-
setDistributionValue
A distribution value.
.google.api.Distribution distribution_value = 5; -
setDistributionValue
A distribution value.
.google.api.Distribution distribution_value = 5; -
mergeDistributionValue
A distribution value.
.google.api.Distribution distribution_value = 5; -
clearDistributionValue
A distribution value.
.google.api.Distribution distribution_value = 5; -
getDistributionValueBuilder
A distribution value.
.google.api.Distribution distribution_value = 5; -
getDistributionValueOrBuilder
A distribution value.
.google.api.Distribution distribution_value = 5;- Specified by:
getDistributionValueOrBuilderin interfaceTypedValueOrBuilder
-