Package dev.cel.expr
Class Value.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
- dev.cel.expr.Value.Builder
-
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,ValueOrBuilder,java.lang.Cloneable
- Enclosing class:
- Value
public static final class Value.Builder extends GeneratedMessageV3.Builder<Value.Builder> implements ValueOrBuilder
Represents a CEL value. This is similar to `google.protobuf.Value`, but can represent CEL's full range of values.
Protobuf typecel.expr.Value
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Value.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)LikesetRepeatedField, but appends the value as a new element.Valuebuild()Constructs the message based on the state of the Builder.ValuebuildPartial()LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.Value.Builderclear()Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.Value.BuilderclearBoolValue()Boolean value.Value.BuilderclearBytesValue()Byte string value.Value.BuilderclearDoubleValue()Floating point value.Value.BuilderclearEnumValue()An enum value.Value.BuilderclearField(Descriptors.FieldDescriptor field)Clears the field.Value.BuilderclearInt64Value()Signed integer value.Value.BuilderclearKind()Value.BuilderclearListValue()List value.Value.BuilderclearMapValue()Map value.Value.BuilderclearNullValue()Null value.Value.BuilderclearObjectValue()The proto message backing an object value.Value.BuilderclearOneof(Descriptors.OneofDescriptor oneof)TODO(jieluo): Clear it when all subclasses have implemented this method.Value.BuilderclearStringValue()UTF-8 string value.Value.BuilderclearTypeValue()Type value.Value.BuilderclearUint64Value()Unsigned integer value.Value.Builderclone()Clones the Builder.booleangetBoolValue()Boolean value.ByteStringgetBytesValue()Byte string value.ValuegetDefaultInstanceForType()Get an instance of the type with no fields set.static Descriptors.DescriptorgetDescriptor()Descriptors.DescriptorgetDescriptorForType()Get the message's type's descriptor.doublegetDoubleValue()Floating point value.EnumValuegetEnumValue()An enum value.EnumValue.BuildergetEnumValueBuilder()An enum value.EnumValueOrBuildergetEnumValueOrBuilder()An enum value.longgetInt64Value()Signed integer value.Value.KindCasegetKindCase()ListValuegetListValue()List value.ListValue.BuildergetListValueBuilder()List value.ListValueOrBuildergetListValueOrBuilder()List value.MapValuegetMapValue()Map value.MapValue.BuildergetMapValueBuilder()Map value.MapValueOrBuildergetMapValueOrBuilder()Map value.NullValuegetNullValue()Null value.intgetNullValueValue()Null value.AnygetObjectValue()The proto message backing an object value.Any.BuildergetObjectValueBuilder()The proto message backing an object value.AnyOrBuildergetObjectValueOrBuilder()The proto message backing an object value.java.lang.StringgetStringValue()UTF-8 string value.ByteStringgetStringValueBytes()UTF-8 string value.java.lang.StringgetTypeValue()Type value.ByteStringgetTypeValueBytes()Type value.longgetUint64Value()Unsigned integer value.booleanhasBoolValue()Boolean value.booleanhasBytesValue()Byte string value.booleanhasDoubleValue()Floating point value.booleanhasEnumValue()An enum value.booleanhasInt64Value()Signed integer value.booleanhasListValue()List value.booleanhasMapValue()Map value.booleanhasNullValue()Null value.booleanhasObjectValue()The proto message backing an object value.booleanhasStringValue()UTF-8 string value.booleanhasTypeValue()Type value.booleanhasUint64Value()Unsigned integer value.protected GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()Get the FieldAccessorTable for this type.booleanisInitialized()Returns true if all required fields in the message and all embedded messages are set, false otherwise.Value.BuildermergeEnumValue(EnumValue value)An enum value.Value.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.Value.BuildermergeFrom(Message other)Mergeotherinto the message being built.Value.BuildermergeFrom(Value other)Value.BuildermergeListValue(ListValue value)List value.Value.BuildermergeMapValue(MapValue value)Map value.Value.BuildermergeObjectValue(Any value)The proto message backing an object value.Value.BuildermergeUnknownFields(UnknownFieldSet unknownFields)Merge some unknown fields into theUnknownFieldSetfor this message.Value.BuildersetBoolValue(boolean value)Boolean value.Value.BuildersetBytesValue(ByteString value)Byte string value.Value.BuildersetDoubleValue(double value)Floating point value.Value.BuildersetEnumValue(EnumValue value)An enum value.Value.BuildersetEnumValue(EnumValue.Builder builderForValue)An enum value.Value.BuildersetField(Descriptors.FieldDescriptor field, java.lang.Object value)Sets a field to the given value.Value.BuildersetInt64Value(long value)Signed integer value.Value.BuildersetListValue(ListValue value)List value.Value.BuildersetListValue(ListValue.Builder builderForValue)List value.Value.BuildersetMapValue(MapValue value)Map value.Value.BuildersetMapValue(MapValue.Builder builderForValue)Map value.Value.BuildersetNullValue(NullValue value)Null value.Value.BuildersetNullValueValue(int value)Null value.Value.BuildersetObjectValue(Any value)The proto message backing an object value.Value.BuildersetObjectValue(Any.Builder builderForValue)The proto message backing an object value.Value.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)Sets an element of a repeated field to the given value.Value.BuildersetStringValue(java.lang.String value)UTF-8 string value.Value.BuildersetStringValueBytes(ByteString value)UTF-8 string value.Value.BuildersetTypeValue(java.lang.String value)Type value.Value.BuildersetTypeValueBytes(ByteString value)Type value.Value.BuildersetUint64Value(long value)Unsigned integer value.Value.BuildersetUnknownFields(UnknownFieldSet unknownFields)Set theUnknownFieldSetfor this message.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Description copied from class:GeneratedMessageV3.BuilderGet the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<Value.Builder>
-
clear
public Value.Builder clear()
Description copied from class:GeneratedMessageV3.BuilderCalled by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<Value.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
Description copied from interface:Message.BuilderGet the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType().- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<Value.Builder>
-
getDefaultInstanceForType
public Value getDefaultInstanceForType()
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
public Value build()
Description copied from interface:MessageLite.BuilderConstructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
public Value buildPartial()
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
public Value.Builder clone()
Description copied from interface:MessageLite.BuilderClones the Builder.- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<Value.Builder>- See Also:
Object.clone()
-
setField
public Value.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
Description copied from interface:Message.BuilderSets a field to the given value. The value must be of the correct type for this field, that is, the same type thatMessageOrBuilder.getField(Descriptors.FieldDescriptor)returns.- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<Value.Builder>
-
clearField
public Value.Builder clearField(Descriptors.FieldDescriptor field)
Description copied from interface:Message.BuilderClears the field. This is exactly equivalent to calling the generated "clear" accessor method corresponding to the field.- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<Value.Builder>
-
clearOneof
public Value.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Description copied from class:AbstractMessage.BuilderTODO(jieluo): Clear it when all subclasses have implemented this method.- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<Value.Builder>
-
setRepeatedField
public Value.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Description copied from interface:Message.BuilderSets an element of a repeated field to the given value. The value must be of the correct type for this field; that is, the same type thatMessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int)returns.- Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<Value.Builder>
-
addRepeatedField
public Value.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
Description copied from interface:Message.BuilderLikesetRepeatedField, but appends the value as a new element.- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<Value.Builder>
-
mergeFrom
public Value.Builder mergeFrom(Message other)
Description copied from interface:Message.BuilderMergeotherinto the message being built.othermust have the exact same type asthis(i.e.getDescriptorForType() == other.getDescriptorForType()).Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set inother, thenother's value overwrites the value in this message.
* For singular message fields, if the field is set inother, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements inotherare concatenated with the elements in this message.
* For oneof groups, if the other message has one of the fields set, the group of this message is cleared and replaced by the field of the other message, so that the oneof constraint is preserved.This is equivalent to the
Message::MergeFrommethod in C++.- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Value.Builder>
-
mergeFrom
public Value.Builder mergeFrom(Value other)
-
isInitialized
public final boolean isInitialized()
Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<Value.Builder>
-
mergeFrom
public Value.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered inextensionRegistry. Extensions not in the registry will be treated as unknown fields.- Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Value.Builder>- Throws:
InvalidProtocolBufferException- the bytes read are not syntactically correct according to the protobuf wire format specification. The data is corrupt, incomplete, or was never a protobuf in the first place.java.io.IOException- an I/O error reading from the stream
-
getKindCase
public Value.KindCase getKindCase()
- Specified by:
getKindCasein interfaceValueOrBuilder
-
clearKind
public Value.Builder clearKind()
-
hasNullValue
public boolean hasNullValue()
Null value.
.google.protobuf.NullValue null_value = 1;- Specified by:
hasNullValuein interfaceValueOrBuilder- Returns:
- Whether the nullValue field is set.
-
getNullValueValue
public int getNullValueValue()
Null value.
.google.protobuf.NullValue null_value = 1;- Specified by:
getNullValueValuein interfaceValueOrBuilder- Returns:
- The enum numeric value on the wire for nullValue.
-
setNullValueValue
public Value.Builder setNullValueValue(int value)
Null value.
.google.protobuf.NullValue null_value = 1;- Parameters:
value- The enum numeric value on the wire for nullValue to set.- Returns:
- This builder for chaining.
-
getNullValue
public NullValue getNullValue()
Null value.
.google.protobuf.NullValue null_value = 1;- Specified by:
getNullValuein interfaceValueOrBuilder- Returns:
- The nullValue.
-
setNullValue
public Value.Builder setNullValue(NullValue value)
Null value.
.google.protobuf.NullValue null_value = 1;- Parameters:
value- The nullValue to set.- Returns:
- This builder for chaining.
-
clearNullValue
public Value.Builder clearNullValue()
Null value.
.google.protobuf.NullValue null_value = 1;- Returns:
- This builder for chaining.
-
hasBoolValue
public boolean hasBoolValue()
Boolean value.
bool bool_value = 2;- Specified by:
hasBoolValuein interfaceValueOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()
Boolean value.
bool bool_value = 2;- Specified by:
getBoolValuein interfaceValueOrBuilder- Returns:
- The boolValue.
-
setBoolValue
public Value.Builder setBoolValue(boolean value)
Boolean value.
bool bool_value = 2;- Parameters:
value- The boolValue to set.- Returns:
- This builder for chaining.
-
clearBoolValue
public Value.Builder clearBoolValue()
Boolean value.
bool bool_value = 2;- Returns:
- This builder for chaining.
-
hasInt64Value
public boolean hasInt64Value()
Signed integer value.
int64 int64_value = 3;- Specified by:
hasInt64Valuein interfaceValueOrBuilder- Returns:
- Whether the int64Value field is set.
-
getInt64Value
public long getInt64Value()
Signed integer value.
int64 int64_value = 3;- Specified by:
getInt64Valuein interfaceValueOrBuilder- Returns:
- The int64Value.
-
setInt64Value
public Value.Builder setInt64Value(long value)
Signed integer value.
int64 int64_value = 3;- Parameters:
value- The int64Value to set.- Returns:
- This builder for chaining.
-
clearInt64Value
public Value.Builder clearInt64Value()
Signed integer value.
int64 int64_value = 3;- Returns:
- This builder for chaining.
-
hasUint64Value
public boolean hasUint64Value()
Unsigned integer value.
uint64 uint64_value = 4;- Specified by:
hasUint64Valuein interfaceValueOrBuilder- Returns:
- Whether the uint64Value field is set.
-
getUint64Value
public long getUint64Value()
Unsigned integer value.
uint64 uint64_value = 4;- Specified by:
getUint64Valuein interfaceValueOrBuilder- Returns:
- The uint64Value.
-
setUint64Value
public Value.Builder setUint64Value(long value)
Unsigned integer value.
uint64 uint64_value = 4;- Parameters:
value- The uint64Value to set.- Returns:
- This builder for chaining.
-
clearUint64Value
public Value.Builder clearUint64Value()
Unsigned integer value.
uint64 uint64_value = 4;- Returns:
- This builder for chaining.
-
hasDoubleValue
public boolean hasDoubleValue()
Floating point value.
double double_value = 5;- Specified by:
hasDoubleValuein interfaceValueOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()
Floating point value.
double double_value = 5;- Specified by:
getDoubleValuein interfaceValueOrBuilder- Returns:
- The doubleValue.
-
setDoubleValue
public Value.Builder setDoubleValue(double value)
Floating point value.
double double_value = 5;- Parameters:
value- The doubleValue to set.- Returns:
- This builder for chaining.
-
clearDoubleValue
public Value.Builder clearDoubleValue()
Floating point value.
double double_value = 5;- Returns:
- This builder for chaining.
-
hasStringValue
public boolean hasStringValue()
UTF-8 string value.
string string_value = 6;- Specified by:
hasStringValuein interfaceValueOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
public java.lang.String getStringValue()
UTF-8 string value.
string string_value = 6;- Specified by:
getStringValuein interfaceValueOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public ByteString getStringValueBytes()
UTF-8 string value.
string string_value = 6;- Specified by:
getStringValueBytesin interfaceValueOrBuilder- Returns:
- The bytes for stringValue.
-
setStringValue
public Value.Builder setStringValue(java.lang.String value)
UTF-8 string value.
string string_value = 6;- Parameters:
value- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
public Value.Builder clearStringValue()
UTF-8 string value.
string string_value = 6;- Returns:
- This builder for chaining.
-
setStringValueBytes
public Value.Builder setStringValueBytes(ByteString value)
UTF-8 string value.
string string_value = 6;- Parameters:
value- The bytes for stringValue to set.- Returns:
- This builder for chaining.
-
hasBytesValue
public boolean hasBytesValue()
Byte string value.
bytes bytes_value = 7;- Specified by:
hasBytesValuein interfaceValueOrBuilder- Returns:
- Whether the bytesValue field is set.
-
getBytesValue
public ByteString getBytesValue()
Byte string value.
bytes bytes_value = 7;- Specified by:
getBytesValuein interfaceValueOrBuilder- Returns:
- The bytesValue.
-
setBytesValue
public Value.Builder setBytesValue(ByteString value)
Byte string value.
bytes bytes_value = 7;- Parameters:
value- The bytesValue to set.- Returns:
- This builder for chaining.
-
clearBytesValue
public Value.Builder clearBytesValue()
Byte string value.
bytes bytes_value = 7;- Returns:
- This builder for chaining.
-
hasEnumValue
public boolean hasEnumValue()
An enum value.
.cel.expr.EnumValue enum_value = 9;- Specified by:
hasEnumValuein interfaceValueOrBuilder- Returns:
- Whether the enumValue field is set.
-
getEnumValue
public EnumValue getEnumValue()
An enum value.
.cel.expr.EnumValue enum_value = 9;- Specified by:
getEnumValuein interfaceValueOrBuilder- Returns:
- The enumValue.
-
setEnumValue
public Value.Builder setEnumValue(EnumValue value)
An enum value.
.cel.expr.EnumValue enum_value = 9;
-
setEnumValue
public Value.Builder setEnumValue(EnumValue.Builder builderForValue)
An enum value.
.cel.expr.EnumValue enum_value = 9;
-
mergeEnumValue
public Value.Builder mergeEnumValue(EnumValue value)
An enum value.
.cel.expr.EnumValue enum_value = 9;
-
clearEnumValue
public Value.Builder clearEnumValue()
An enum value.
.cel.expr.EnumValue enum_value = 9;
-
getEnumValueBuilder
public EnumValue.Builder getEnumValueBuilder()
An enum value.
.cel.expr.EnumValue enum_value = 9;
-
getEnumValueOrBuilder
public EnumValueOrBuilder getEnumValueOrBuilder()
An enum value.
.cel.expr.EnumValue enum_value = 9;- Specified by:
getEnumValueOrBuilderin interfaceValueOrBuilder
-
hasObjectValue
public boolean hasObjectValue()
The proto message backing an object value.
.google.protobuf.Any object_value = 10;- Specified by:
hasObjectValuein interfaceValueOrBuilder- Returns:
- Whether the objectValue field is set.
-
getObjectValue
public Any getObjectValue()
The proto message backing an object value.
.google.protobuf.Any object_value = 10;- Specified by:
getObjectValuein interfaceValueOrBuilder- Returns:
- The objectValue.
-
setObjectValue
public Value.Builder setObjectValue(Any value)
The proto message backing an object value.
.google.protobuf.Any object_value = 10;
-
setObjectValue
public Value.Builder setObjectValue(Any.Builder builderForValue)
The proto message backing an object value.
.google.protobuf.Any object_value = 10;
-
mergeObjectValue
public Value.Builder mergeObjectValue(Any value)
The proto message backing an object value.
.google.protobuf.Any object_value = 10;
-
clearObjectValue
public Value.Builder clearObjectValue()
The proto message backing an object value.
.google.protobuf.Any object_value = 10;
-
getObjectValueBuilder
public Any.Builder getObjectValueBuilder()
The proto message backing an object value.
.google.protobuf.Any object_value = 10;
-
getObjectValueOrBuilder
public AnyOrBuilder getObjectValueOrBuilder()
The proto message backing an object value.
.google.protobuf.Any object_value = 10;- Specified by:
getObjectValueOrBuilderin interfaceValueOrBuilder
-
hasMapValue
public boolean hasMapValue()
Map value.
.cel.expr.MapValue map_value = 11;- Specified by:
hasMapValuein interfaceValueOrBuilder- Returns:
- Whether the mapValue field is set.
-
getMapValue
public MapValue getMapValue()
Map value.
.cel.expr.MapValue map_value = 11;- Specified by:
getMapValuein interfaceValueOrBuilder- Returns:
- The mapValue.
-
setMapValue
public Value.Builder setMapValue(MapValue value)
Map value.
.cel.expr.MapValue map_value = 11;
-
setMapValue
public Value.Builder setMapValue(MapValue.Builder builderForValue)
Map value.
.cel.expr.MapValue map_value = 11;
-
mergeMapValue
public Value.Builder mergeMapValue(MapValue value)
Map value.
.cel.expr.MapValue map_value = 11;
-
clearMapValue
public Value.Builder clearMapValue()
Map value.
.cel.expr.MapValue map_value = 11;
-
getMapValueBuilder
public MapValue.Builder getMapValueBuilder()
Map value.
.cel.expr.MapValue map_value = 11;
-
getMapValueOrBuilder
public MapValueOrBuilder getMapValueOrBuilder()
Map value.
.cel.expr.MapValue map_value = 11;- Specified by:
getMapValueOrBuilderin interfaceValueOrBuilder
-
hasListValue
public boolean hasListValue()
List value.
.cel.expr.ListValue list_value = 12;- Specified by:
hasListValuein interfaceValueOrBuilder- Returns:
- Whether the listValue field is set.
-
getListValue
public ListValue getListValue()
List value.
.cel.expr.ListValue list_value = 12;- Specified by:
getListValuein interfaceValueOrBuilder- Returns:
- The listValue.
-
setListValue
public Value.Builder setListValue(ListValue value)
List value.
.cel.expr.ListValue list_value = 12;
-
setListValue
public Value.Builder setListValue(ListValue.Builder builderForValue)
List value.
.cel.expr.ListValue list_value = 12;
-
mergeListValue
public Value.Builder mergeListValue(ListValue value)
List value.
.cel.expr.ListValue list_value = 12;
-
clearListValue
public Value.Builder clearListValue()
List value.
.cel.expr.ListValue list_value = 12;
-
getListValueBuilder
public ListValue.Builder getListValueBuilder()
List value.
.cel.expr.ListValue list_value = 12;
-
getListValueOrBuilder
public ListValueOrBuilder getListValueOrBuilder()
List value.
.cel.expr.ListValue list_value = 12;- Specified by:
getListValueOrBuilderin interfaceValueOrBuilder
-
hasTypeValue
public boolean hasTypeValue()
Type value.
string type_value = 15;- Specified by:
hasTypeValuein interfaceValueOrBuilder- Returns:
- Whether the typeValue field is set.
-
getTypeValue
public java.lang.String getTypeValue()
Type value.
string type_value = 15;- Specified by:
getTypeValuein interfaceValueOrBuilder- Returns:
- The typeValue.
-
getTypeValueBytes
public ByteString getTypeValueBytes()
Type value.
string type_value = 15;- Specified by:
getTypeValueBytesin interfaceValueOrBuilder- Returns:
- The bytes for typeValue.
-
setTypeValue
public Value.Builder setTypeValue(java.lang.String value)
Type value.
string type_value = 15;- Parameters:
value- The typeValue to set.- Returns:
- This builder for chaining.
-
clearTypeValue
public Value.Builder clearTypeValue()
Type value.
string type_value = 15;- Returns:
- This builder for chaining.
-
setTypeValueBytes
public Value.Builder setTypeValueBytes(ByteString value)
Type value.
string type_value = 15;- Parameters:
value- The bytes for typeValue to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Value.Builder setUnknownFields(UnknownFieldSet unknownFields)
Description copied from interface:Message.BuilderSet theUnknownFieldSetfor this message.- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<Value.Builder>
-
mergeUnknownFields
public final Value.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Description copied from interface:Message.BuilderMerge some unknown fields into theUnknownFieldSetfor this message.- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<Value.Builder>
-
-