- 0.76.0 (latest)
- 0.74.0
- 0.72.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.66.0
- 0.64.0
- 0.63.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.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.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Value.Builder extends GeneratedMessageV3.Builder<Value.Builder> implements ValueOrBuilder Value represents a dynamically typed value which can be either be
a float, a integer, a string, or a datetime value. A producer of value is
expected to set one of these variants. Absence of any variant indicates an
error.
Protobuf type google.cloud.contentwarehouse.v1.Value
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Value.BuilderImplements
ValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Value.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Value.Builder |
build()
public Value build()| Type | Description |
| Value |
buildPartial()
public Value buildPartial()| Type | Description |
| Value |
clear()
public Value.Builder clear()| Type | Description |
| Value.Builder |
clearBooleanValue()
public Value.Builder clearBooleanValue()Represents a boolean value.
bool boolean_value = 7;
| Type | Description |
| Value.Builder | This builder for chaining. |
clearDatetimeValue()
public Value.Builder clearDatetimeValue()Represents a datetime value.
.google.type.DateTime datetime_value = 5;
| Type | Description |
| Value.Builder |
clearEnumValue()
public Value.Builder clearEnumValue()Represents an enum value.
.google.cloud.contentwarehouse.v1.EnumValue enum_value = 4;
| Type | Description |
| Value.Builder |
clearField(Descriptors.FieldDescriptor field)
public Value.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| Value.Builder |
clearFloatValue()
public Value.Builder clearFloatValue()Represents a float value.
float float_value = 1;
| Type | Description |
| Value.Builder | This builder for chaining. |
clearIntValue()
public Value.Builder clearIntValue()Represents a integer value.
int32 int_value = 2;
| Type | Description |
| Value.Builder | This builder for chaining. |
clearKind()
public Value.Builder clearKind()| Type | Description |
| Value.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Value.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| Value.Builder |
clearStringValue()
public Value.Builder clearStringValue()Represents a string value.
string string_value = 3;
| Type | Description |
| Value.Builder | This builder for chaining. |
clearTimestampValue()
public Value.Builder clearTimestampValue()Represents a timestamp value.
.google.cloud.contentwarehouse.v1.TimestampValue timestamp_value = 6;
| Type | Description |
| Value.Builder |
clone()
public Value.Builder clone()| Type | Description |
| Value.Builder |
getBooleanValue()
public boolean getBooleanValue()Represents a boolean value.
bool boolean_value = 7;
| Type | Description |
| boolean | The booleanValue. |
getDatetimeValue()
public DateTime getDatetimeValue()Represents a datetime value.
.google.type.DateTime datetime_value = 5;
| Type | Description |
| com.google.type.DateTime | The datetimeValue. |
getDatetimeValueBuilder()
public DateTime.Builder getDatetimeValueBuilder()Represents a datetime value.
.google.type.DateTime datetime_value = 5;
| Type | Description |
| com.google.type.DateTime.Builder |
getDatetimeValueOrBuilder()
public DateTimeOrBuilder getDatetimeValueOrBuilder()Represents a datetime value.
.google.type.DateTime datetime_value = 5;
| Type | Description |
| com.google.type.DateTimeOrBuilder |
getDefaultInstanceForType()
public Value getDefaultInstanceForType()| Type | Description |
| Value |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getEnumValue()
public EnumValue getEnumValue()Represents an enum value.
.google.cloud.contentwarehouse.v1.EnumValue enum_value = 4;
| Type | Description |
| EnumValue | The enumValue. |
getEnumValueBuilder()
public EnumValue.Builder getEnumValueBuilder()Represents an enum value.
.google.cloud.contentwarehouse.v1.EnumValue enum_value = 4;
| Type | Description |
| EnumValue.Builder |
getEnumValueOrBuilder()
public EnumValueOrBuilder getEnumValueOrBuilder()Represents an enum value.
.google.cloud.contentwarehouse.v1.EnumValue enum_value = 4;
| Type | Description |
| EnumValueOrBuilder |
getFloatValue()
public float getFloatValue()Represents a float value.
float float_value = 1;
| Type | Description |
| float | The floatValue. |
getIntValue()
public int getIntValue()Represents a integer value.
int32 int_value = 2;
| Type | Description |
| int | The intValue. |
getKindCase()
public Value.KindCase getKindCase()| Type | Description |
| Value.KindCase |
getStringValue()
public String getStringValue()Represents a string value.
string string_value = 3;
| Type | Description |
| String | The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()Represents a string value.
string string_value = 3;
| Type | Description |
| ByteString | The bytes for stringValue. |
getTimestampValue()
public TimestampValue getTimestampValue()Represents a timestamp value.
.google.cloud.contentwarehouse.v1.TimestampValue timestamp_value = 6;
| Type | Description |
| TimestampValue | The timestampValue. |
getTimestampValueBuilder()
public TimestampValue.Builder getTimestampValueBuilder()Represents a timestamp value.
.google.cloud.contentwarehouse.v1.TimestampValue timestamp_value = 6;
| Type | Description |
| TimestampValue.Builder |
getTimestampValueOrBuilder()
public TimestampValueOrBuilder getTimestampValueOrBuilder()Represents a timestamp value.
.google.cloud.contentwarehouse.v1.TimestampValue timestamp_value = 6;
| Type | Description |
| TimestampValueOrBuilder |
hasBooleanValue()
public boolean hasBooleanValue()Represents a boolean value.
bool boolean_value = 7;
| Type | Description |
| boolean | Whether the booleanValue field is set. |
hasDatetimeValue()
public boolean hasDatetimeValue()Represents a datetime value.
.google.type.DateTime datetime_value = 5;
| Type | Description |
| boolean | Whether the datetimeValue field is set. |
hasEnumValue()
public boolean hasEnumValue()Represents an enum value.
.google.cloud.contentwarehouse.v1.EnumValue enum_value = 4;
| Type | Description |
| boolean | Whether the enumValue field is set. |
hasFloatValue()
public boolean hasFloatValue()Represents a float value.
float float_value = 1;
| Type | Description |
| boolean | Whether the floatValue field is set. |
hasIntValue()
public boolean hasIntValue()Represents a integer value.
int32 int_value = 2;
| Type | Description |
| boolean | Whether the intValue field is set. |
hasStringValue()
public boolean hasStringValue()Represents a string value.
string string_value = 3;
| Type | Description |
| boolean | Whether the stringValue field is set. |
hasTimestampValue()
public boolean hasTimestampValue()Represents a timestamp value.
.google.cloud.contentwarehouse.v1.TimestampValue timestamp_value = 6;
| Type | Description |
| boolean | Whether the timestampValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeDatetimeValue(DateTime value)
public Value.Builder mergeDatetimeValue(DateTime value)Represents a datetime value.
.google.type.DateTime datetime_value = 5;
| Name | Description |
| value | com.google.type.DateTime |
| Type | Description |
| Value.Builder |
mergeEnumValue(EnumValue value)
public Value.Builder mergeEnumValue(EnumValue value)Represents an enum value.
.google.cloud.contentwarehouse.v1.EnumValue enum_value = 4;
| Name | Description |
| value | EnumValue |
| Type | Description |
| Value.Builder |
mergeFrom(Value other)
public Value.Builder mergeFrom(Value other)| Name | Description |
| other | Value |
| Type | Description |
| Value.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Value.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| Value.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public Value.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| Value.Builder |
mergeTimestampValue(TimestampValue value)
public Value.Builder mergeTimestampValue(TimestampValue value)Represents a timestamp value.
.google.cloud.contentwarehouse.v1.TimestampValue timestamp_value = 6;
| Name | Description |
| value | TimestampValue |
| Type | Description |
| Value.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Value.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Value.Builder |
setBooleanValue(boolean value)
public Value.Builder setBooleanValue(boolean value)Represents a boolean value.
bool boolean_value = 7;
| Name | Description |
| value | booleanThe booleanValue to set. |
| Type | Description |
| Value.Builder | This builder for chaining. |
setDatetimeValue(DateTime value)
public Value.Builder setDatetimeValue(DateTime value)Represents a datetime value.
.google.type.DateTime datetime_value = 5;
| Name | Description |
| value | com.google.type.DateTime |
| Type | Description |
| Value.Builder |
setDatetimeValue(DateTime.Builder builderForValue)
public Value.Builder setDatetimeValue(DateTime.Builder builderForValue)Represents a datetime value.
.google.type.DateTime datetime_value = 5;
| Name | Description |
| builderForValue | com.google.type.DateTime.Builder |
| Type | Description |
| Value.Builder |
setEnumValue(EnumValue value)
public Value.Builder setEnumValue(EnumValue value)Represents an enum value.
.google.cloud.contentwarehouse.v1.EnumValue enum_value = 4;
| Name | Description |
| value | EnumValue |
| Type | Description |
| Value.Builder |
setEnumValue(EnumValue.Builder builderForValue)
public Value.Builder setEnumValue(EnumValue.Builder builderForValue)Represents an enum value.
.google.cloud.contentwarehouse.v1.EnumValue enum_value = 4;
| Name | Description |
| builderForValue | EnumValue.Builder |
| Type | Description |
| Value.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Value.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Value.Builder |
setFloatValue(float value)
public Value.Builder setFloatValue(float value)Represents a float value.
float float_value = 1;
| Name | Description |
| value | floatThe floatValue to set. |
| Type | Description |
| Value.Builder | This builder for chaining. |
setIntValue(int value)
public Value.Builder setIntValue(int value)Represents a integer value.
int32 int_value = 2;
| Name | Description |
| value | intThe intValue to set. |
| Type | Description |
| Value.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Value.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| Value.Builder |
setStringValue(String value)
public Value.Builder setStringValue(String value)Represents a string value.
string string_value = 3;
| Name | Description |
| value | StringThe stringValue to set. |
| Type | Description |
| Value.Builder | This builder for chaining. |
setStringValueBytes(ByteString value)
public Value.Builder setStringValueBytes(ByteString value)Represents a string value.
string string_value = 3;
| Name | Description |
| value | ByteStringThe bytes for stringValue to set. |
| Type | Description |
| Value.Builder | This builder for chaining. |
setTimestampValue(TimestampValue value)
public Value.Builder setTimestampValue(TimestampValue value)Represents a timestamp value.
.google.cloud.contentwarehouse.v1.TimestampValue timestamp_value = 6;
| Name | Description |
| value | TimestampValue |
| Type | Description |
| Value.Builder |
setTimestampValue(TimestampValue.Builder builderForValue)
public Value.Builder setTimestampValue(TimestampValue.Builder builderForValue)Represents a timestamp value.
.google.cloud.contentwarehouse.v1.TimestampValue timestamp_value = 6;
| Name | Description |
| builderForValue | TimestampValue.Builder |
| Type | Description |
| Value.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Value.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Value.Builder |