Package dev.cel.expr
Class Constant.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Constant.Builder>
-
- dev.cel.expr.Constant.Builder
-
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,ConstantOrBuilder,java.lang.Cloneable
- Enclosing class:
- Constant
public static final class Constant.Builder extends GeneratedMessageV3.Builder<Constant.Builder> implements ConstantOrBuilder
Represents a primitive literal. Named 'Constant' here for backwards compatibility. This is similar as the primitives supported in the well-known type `google.protobuf.Value`, but richer so it can represent CEL's full range of primitives. Lists and structs are not included as constants as these aggregate types may contain [Expr][cel.expr.Expr] elements which require evaluation and are thus not constant. Examples of constants include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, `true`, `null`.
Protobuf typecel.expr.Constant
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Constant.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)LikesetRepeatedField, but appends the value as a new element.Constantbuild()Constructs the message based on the state of the Builder.ConstantbuildPartial()LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.Constant.Builderclear()Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.Constant.BuilderclearBoolValue()boolean value.Constant.BuilderclearBytesValue()bytes value.Constant.BuilderclearConstantKind()Constant.BuilderclearDoubleValue()double value.Constant.BuilderclearDurationValue()Deprecated.Constant.BuilderclearField(Descriptors.FieldDescriptor field)Clears the field.Constant.BuilderclearInt64Value()int64 value.Constant.BuilderclearNullValue()null value.Constant.BuilderclearOneof(Descriptors.OneofDescriptor oneof)TODO(jieluo): Clear it when all subclasses have implemented this method.Constant.BuilderclearStringValue()string value.Constant.BuilderclearTimestampValue()Deprecated.Constant.BuilderclearUint64Value()uint64 value.Constant.Builderclone()Clones the Builder.booleangetBoolValue()boolean value.ByteStringgetBytesValue()bytes value.Constant.ConstantKindCasegetConstantKindCase()ConstantgetDefaultInstanceForType()Get an instance of the type with no fields set.static Descriptors.DescriptorgetDescriptor()Descriptors.DescriptorgetDescriptorForType()Get the message's type's descriptor.doublegetDoubleValue()double value.DurationgetDurationValue()Deprecated.cel.expr.Constant.duration_value is deprecated.Duration.BuildergetDurationValueBuilder()Deprecated.DurationOrBuildergetDurationValueOrBuilder()Deprecated.longgetInt64Value()int64 value.NullValuegetNullValue()null value.intgetNullValueValue()null value.java.lang.StringgetStringValue()string value.ByteStringgetStringValueBytes()string value.TimestampgetTimestampValue()Deprecated.cel.expr.Constant.timestamp_value is deprecated.Timestamp.BuildergetTimestampValueBuilder()Deprecated.TimestampOrBuildergetTimestampValueOrBuilder()Deprecated.longgetUint64Value()uint64 value.booleanhasBoolValue()boolean value.booleanhasBytesValue()bytes value.booleanhasDoubleValue()double value.booleanhasDurationValue()Deprecated.cel.expr.Constant.duration_value is deprecated.booleanhasInt64Value()int64 value.booleanhasNullValue()null value.booleanhasStringValue()string value.booleanhasTimestampValue()Deprecated.cel.expr.Constant.timestamp_value is deprecated.booleanhasUint64Value()uint64 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.Constant.BuildermergeDurationValue(Duration value)Deprecated.Constant.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.Constant.BuildermergeFrom(Message other)Mergeotherinto the message being built.Constant.BuildermergeFrom(Constant other)Constant.BuildermergeTimestampValue(Timestamp value)Deprecated.Constant.BuildermergeUnknownFields(UnknownFieldSet unknownFields)Merge some unknown fields into theUnknownFieldSetfor this message.Constant.BuildersetBoolValue(boolean value)boolean value.Constant.BuildersetBytesValue(ByteString value)bytes value.Constant.BuildersetDoubleValue(double value)double value.Constant.BuildersetDurationValue(Duration value)Deprecated.Constant.BuildersetDurationValue(Duration.Builder builderForValue)Deprecated.Constant.BuildersetField(Descriptors.FieldDescriptor field, java.lang.Object value)Sets a field to the given value.Constant.BuildersetInt64Value(long value)int64 value.Constant.BuildersetNullValue(NullValue value)null value.Constant.BuildersetNullValueValue(int value)null value.Constant.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)Sets an element of a repeated field to the given value.Constant.BuildersetStringValue(java.lang.String value)string value.Constant.BuildersetStringValueBytes(ByteString value)string value.Constant.BuildersetTimestampValue(Timestamp value)Deprecated.Constant.BuildersetTimestampValue(Timestamp.Builder builderForValue)Deprecated.Constant.BuildersetUint64Value(long value)uint64 value.Constant.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<Constant.Builder>
-
clear
public Constant.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<Constant.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<Constant.Builder>
-
getDefaultInstanceForType
public Constant 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 Constant 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 Constant 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 Constant.Builder clone()
Description copied from interface:MessageLite.BuilderClones the Builder.- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<Constant.Builder>- See Also:
Object.clone()
-
setField
public Constant.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<Constant.Builder>
-
clearField
public Constant.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<Constant.Builder>
-
clearOneof
public Constant.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<Constant.Builder>
-
setRepeatedField
public Constant.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<Constant.Builder>
-
addRepeatedField
public Constant.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<Constant.Builder>
-
mergeFrom
public Constant.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<Constant.Builder>
-
mergeFrom
public Constant.Builder mergeFrom(Constant 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<Constant.Builder>
-
mergeFrom
public Constant.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<Constant.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
-
getConstantKindCase
public Constant.ConstantKindCase getConstantKindCase()
- Specified by:
getConstantKindCasein interfaceConstantOrBuilder
-
clearConstantKind
public Constant.Builder clearConstantKind()
-
hasNullValue
public boolean hasNullValue()
null value.
.google.protobuf.NullValue null_value = 1;- Specified by:
hasNullValuein interfaceConstantOrBuilder- Returns:
- Whether the nullValue field is set.
-
getNullValueValue
public int getNullValueValue()
null value.
.google.protobuf.NullValue null_value = 1;- Specified by:
getNullValueValuein interfaceConstantOrBuilder- Returns:
- The enum numeric value on the wire for nullValue.
-
setNullValueValue
public Constant.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 interfaceConstantOrBuilder- Returns:
- The nullValue.
-
setNullValue
public Constant.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 Constant.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 interfaceConstantOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()
boolean value.
bool bool_value = 2;- Specified by:
getBoolValuein interfaceConstantOrBuilder- Returns:
- The boolValue.
-
setBoolValue
public Constant.Builder setBoolValue(boolean value)
boolean value.
bool bool_value = 2;- Parameters:
value- The boolValue to set.- Returns:
- This builder for chaining.
-
clearBoolValue
public Constant.Builder clearBoolValue()
boolean value.
bool bool_value = 2;- Returns:
- This builder for chaining.
-
hasInt64Value
public boolean hasInt64Value()
int64 value.
int64 int64_value = 3;- Specified by:
hasInt64Valuein interfaceConstantOrBuilder- Returns:
- Whether the int64Value field is set.
-
getInt64Value
public long getInt64Value()
int64 value.
int64 int64_value = 3;- Specified by:
getInt64Valuein interfaceConstantOrBuilder- Returns:
- The int64Value.
-
setInt64Value
public Constant.Builder setInt64Value(long value)
int64 value.
int64 int64_value = 3;- Parameters:
value- The int64Value to set.- Returns:
- This builder for chaining.
-
clearInt64Value
public Constant.Builder clearInt64Value()
int64 value.
int64 int64_value = 3;- Returns:
- This builder for chaining.
-
hasUint64Value
public boolean hasUint64Value()
uint64 value.
uint64 uint64_value = 4;- Specified by:
hasUint64Valuein interfaceConstantOrBuilder- Returns:
- Whether the uint64Value field is set.
-
getUint64Value
public long getUint64Value()
uint64 value.
uint64 uint64_value = 4;- Specified by:
getUint64Valuein interfaceConstantOrBuilder- Returns:
- The uint64Value.
-
setUint64Value
public Constant.Builder setUint64Value(long value)
uint64 value.
uint64 uint64_value = 4;- Parameters:
value- The uint64Value to set.- Returns:
- This builder for chaining.
-
clearUint64Value
public Constant.Builder clearUint64Value()
uint64 value.
uint64 uint64_value = 4;- Returns:
- This builder for chaining.
-
hasDoubleValue
public boolean hasDoubleValue()
double value.
double double_value = 5;- Specified by:
hasDoubleValuein interfaceConstantOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()
double value.
double double_value = 5;- Specified by:
getDoubleValuein interfaceConstantOrBuilder- Returns:
- The doubleValue.
-
setDoubleValue
public Constant.Builder setDoubleValue(double value)
double value.
double double_value = 5;- Parameters:
value- The doubleValue to set.- Returns:
- This builder for chaining.
-
clearDoubleValue
public Constant.Builder clearDoubleValue()
double value.
double double_value = 5;- Returns:
- This builder for chaining.
-
hasStringValue
public boolean hasStringValue()
string value.
string string_value = 6;- Specified by:
hasStringValuein interfaceConstantOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
public java.lang.String getStringValue()
string value.
string string_value = 6;- Specified by:
getStringValuein interfaceConstantOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public ByteString getStringValueBytes()
string value.
string string_value = 6;- Specified by:
getStringValueBytesin interfaceConstantOrBuilder- Returns:
- The bytes for stringValue.
-
setStringValue
public Constant.Builder setStringValue(java.lang.String value)
string value.
string string_value = 6;- Parameters:
value- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
public Constant.Builder clearStringValue()
string value.
string string_value = 6;- Returns:
- This builder for chaining.
-
setStringValueBytes
public Constant.Builder setStringValueBytes(ByteString value)
string value.
string string_value = 6;- Parameters:
value- The bytes for stringValue to set.- Returns:
- This builder for chaining.
-
hasBytesValue
public boolean hasBytesValue()
bytes value.
bytes bytes_value = 7;- Specified by:
hasBytesValuein interfaceConstantOrBuilder- Returns:
- Whether the bytesValue field is set.
-
getBytesValue
public ByteString getBytesValue()
bytes value.
bytes bytes_value = 7;- Specified by:
getBytesValuein interfaceConstantOrBuilder- Returns:
- The bytesValue.
-
setBytesValue
public Constant.Builder setBytesValue(ByteString value)
bytes value.
bytes bytes_value = 7;- Parameters:
value- The bytesValue to set.- Returns:
- This builder for chaining.
-
clearBytesValue
public Constant.Builder clearBytesValue()
bytes value.
bytes bytes_value = 7;- Returns:
- This builder for chaining.
-
hasDurationValue
@Deprecated public boolean hasDurationValue()
Deprecated.cel.expr.Constant.duration_value is deprecated. See cel/expr/syntax.proto;l=301protobuf.Duration value. Deprecated: duration is no longer considered a builtin cel type.
.google.protobuf.Duration duration_value = 8 [deprecated = true];- Specified by:
hasDurationValuein interfaceConstantOrBuilder- Returns:
- Whether the durationValue field is set.
-
getDurationValue
@Deprecated public Duration getDurationValue()
Deprecated.cel.expr.Constant.duration_value is deprecated. See cel/expr/syntax.proto;l=301protobuf.Duration value. Deprecated: duration is no longer considered a builtin cel type.
.google.protobuf.Duration duration_value = 8 [deprecated = true];- Specified by:
getDurationValuein interfaceConstantOrBuilder- Returns:
- The durationValue.
-
setDurationValue
@Deprecated public Constant.Builder setDurationValue(Duration value)
Deprecated.protobuf.Duration value. Deprecated: duration is no longer considered a builtin cel type.
.google.protobuf.Duration duration_value = 8 [deprecated = true];
-
setDurationValue
@Deprecated public Constant.Builder setDurationValue(Duration.Builder builderForValue)
Deprecated.protobuf.Duration value. Deprecated: duration is no longer considered a builtin cel type.
.google.protobuf.Duration duration_value = 8 [deprecated = true];
-
mergeDurationValue
@Deprecated public Constant.Builder mergeDurationValue(Duration value)
Deprecated.protobuf.Duration value. Deprecated: duration is no longer considered a builtin cel type.
.google.protobuf.Duration duration_value = 8 [deprecated = true];
-
clearDurationValue
@Deprecated public Constant.Builder clearDurationValue()
Deprecated.protobuf.Duration value. Deprecated: duration is no longer considered a builtin cel type.
.google.protobuf.Duration duration_value = 8 [deprecated = true];
-
getDurationValueBuilder
@Deprecated public Duration.Builder getDurationValueBuilder()
Deprecated.protobuf.Duration value. Deprecated: duration is no longer considered a builtin cel type.
.google.protobuf.Duration duration_value = 8 [deprecated = true];
-
getDurationValueOrBuilder
@Deprecated public DurationOrBuilder getDurationValueOrBuilder()
Deprecated.protobuf.Duration value. Deprecated: duration is no longer considered a builtin cel type.
.google.protobuf.Duration duration_value = 8 [deprecated = true];- Specified by:
getDurationValueOrBuilderin interfaceConstantOrBuilder
-
hasTimestampValue
@Deprecated public boolean hasTimestampValue()
Deprecated.cel.expr.Constant.timestamp_value is deprecated. See cel/expr/syntax.proto;l=306protobuf.Timestamp value. Deprecated: timestamp is no longer considered a builtin cel type.
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];- Specified by:
hasTimestampValuein interfaceConstantOrBuilder- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
@Deprecated public Timestamp getTimestampValue()
Deprecated.cel.expr.Constant.timestamp_value is deprecated. See cel/expr/syntax.proto;l=306protobuf.Timestamp value. Deprecated: timestamp is no longer considered a builtin cel type.
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];- Specified by:
getTimestampValuein interfaceConstantOrBuilder- Returns:
- The timestampValue.
-
setTimestampValue
@Deprecated public Constant.Builder setTimestampValue(Timestamp value)
Deprecated.protobuf.Timestamp value. Deprecated: timestamp is no longer considered a builtin cel type.
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
-
setTimestampValue
@Deprecated public Constant.Builder setTimestampValue(Timestamp.Builder builderForValue)
Deprecated.protobuf.Timestamp value. Deprecated: timestamp is no longer considered a builtin cel type.
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
-
mergeTimestampValue
@Deprecated public Constant.Builder mergeTimestampValue(Timestamp value)
Deprecated.protobuf.Timestamp value. Deprecated: timestamp is no longer considered a builtin cel type.
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
-
clearTimestampValue
@Deprecated public Constant.Builder clearTimestampValue()
Deprecated.protobuf.Timestamp value. Deprecated: timestamp is no longer considered a builtin cel type.
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
-
getTimestampValueBuilder
@Deprecated public Timestamp.Builder getTimestampValueBuilder()
Deprecated.protobuf.Timestamp value. Deprecated: timestamp is no longer considered a builtin cel type.
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
-
getTimestampValueOrBuilder
@Deprecated public TimestampOrBuilder getTimestampValueOrBuilder()
Deprecated.protobuf.Timestamp value. Deprecated: timestamp is no longer considered a builtin cel type.
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];- Specified by:
getTimestampValueOrBuilderin interfaceConstantOrBuilder
-
setUnknownFields
public final Constant.Builder setUnknownFields(UnknownFieldSet unknownFields)
Description copied from interface:Message.BuilderSet theUnknownFieldSetfor this message.- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<Constant.Builder>
-
mergeUnknownFields
public final Constant.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<Constant.Builder>
-
-