Package dev.cel.expr
Class Reference.Builder
- java.lang.Object
- 
- com.google.protobuf.AbstractMessageLite.Builder
- 
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
- 
- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
- 
- dev.cel.expr.Reference.Builder
 
 
 
 
- 
- All Implemented Interfaces:
- com.google.protobuf.Message.Builder,- com.google.protobuf.MessageLite.Builder,- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder,- ReferenceOrBuilder,- java.lang.Cloneable
 - Enclosing class:
- Reference
 
 public static final class Reference.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder> implements ReferenceOrBuilder Describes a resolved reference to a declaration. Protobuf typecel.expr.Reference
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Reference.BuilderaddAllOverloadId(java.lang.Iterable<java.lang.String> values)For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.Reference.BuilderaddOverloadId(java.lang.String value)For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.Reference.BuilderaddOverloadIdBytes(com.google.protobuf.ByteString value)For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.Reference.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Referencebuild()ReferencebuildPartial()Reference.Builderclear()Reference.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Reference.BuilderclearName()The fully qualified name of the declaration.Reference.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Reference.BuilderclearOverloadId()For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.Reference.BuilderclearValue()For references to constants, this may contain the value of the constant if known at compile time.Reference.Builderclone()ReferencegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetName()The fully qualified name of the declaration.com.google.protobuf.ByteStringgetNameBytes()The fully qualified name of the declaration.java.lang.StringgetOverloadId(int index)For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.com.google.protobuf.ByteStringgetOverloadIdBytes(int index)For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.intgetOverloadIdCount()For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.com.google.protobuf.ProtocolStringListgetOverloadIdList()For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.ConstantgetValue()For references to constants, this may contain the value of the constant if known at compile time.Constant.BuildergetValueBuilder()For references to constants, this may contain the value of the constant if known at compile time.ConstantOrBuildergetValueOrBuilder()For references to constants, this may contain the value of the constant if known at compile time.booleanhasValue()For references to constants, this may contain the value of the constant if known at compile time.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Reference.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Reference.BuildermergeFrom(com.google.protobuf.Message other)Reference.BuildermergeFrom(Reference other)Reference.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Reference.BuildermergeValue(Constant value)For references to constants, this may contain the value of the constant if known at compile time.Reference.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Reference.BuildersetName(java.lang.String value)The fully qualified name of the declaration.Reference.BuildersetNameBytes(com.google.protobuf.ByteString value)The fully qualified name of the declaration.Reference.BuildersetOverloadId(int index, java.lang.String value)For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.Reference.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Reference.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Reference.BuildersetValue(Constant value)For references to constants, this may contain the value of the constant if known at compile time.Reference.BuildersetValue(Constant.Builder builderForValue)For references to constants, this may contain the value of the constant if known at compile time.- 
Methods inherited from class com.google.protobuf.GeneratedMessageV3.BuildergetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
 - 
Methods inherited from class com.google.protobuf.AbstractMessage.BuilderfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
 - 
Methods inherited from class com.google.protobuf.AbstractMessageLite.BuilderaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
 - 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
- 
 
- 
- 
- 
Method Detail- 
getDescriptorpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
 
 - 
clearpublic Reference.Builder clear() - Specified by:
- clearin interface- com.google.protobuf.Message.Builder
- Specified by:
- clearin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clearin class- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
 
 - 
getDescriptorForTypepublic com.google.protobuf.Descriptors.Descriptor getDescriptorForType() - Specified by:
- getDescriptorForTypein interface- com.google.protobuf.Message.Builder
- Specified by:
- getDescriptorForTypein interface- com.google.protobuf.MessageOrBuilder
- Overrides:
- getDescriptorForTypein class- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
 
 - 
getDefaultInstanceForTypepublic Reference getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageOrBuilder
 
 - 
buildpublic Reference build() - Specified by:
- buildin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildin interface- com.google.protobuf.MessageLite.Builder
 
 - 
buildPartialpublic Reference buildPartial() - Specified by:
- buildPartialin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildPartialin interface- com.google.protobuf.MessageLite.Builder
 
 - 
clonepublic Reference.Builder clone() - Specified by:
- clonein interface- com.google.protobuf.Message.Builder
- Specified by:
- clonein interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clonein class- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
 
 - 
setFieldpublic Reference.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) - Specified by:
- setFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- setFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
 
 - 
clearFieldpublic Reference.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
- clearFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- clearFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
 
 - 
clearOneofpublic Reference.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
- clearOneofin interface- com.google.protobuf.Message.Builder
- Overrides:
- clearOneofin class- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
 
 - 
setRepeatedFieldpublic Reference.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) - Specified by:
- setRepeatedFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- setRepeatedFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
 
 - 
addRepeatedFieldpublic Reference.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) - Specified by:
- addRepeatedFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- addRepeatedFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
 
 - 
mergeFrompublic Reference.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<Reference.Builder>
 
 - 
mergeFrompublic Reference.Builder mergeFrom(Reference other) 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- com.google.protobuf.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
 
 - 
mergeFrompublic Reference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Specified by:
- mergeFromin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<Reference.Builder>
- Throws:
- java.io.IOException
 
 - 
getNamepublic java.lang.String getName() The fully qualified name of the declaration. string name = 1;- Specified by:
- getNamein interface- ReferenceOrBuilder
- Returns:
- The name.
 
 - 
getNameBytespublic com.google.protobuf.ByteString getNameBytes() The fully qualified name of the declaration. string name = 1;- Specified by:
- getNameBytesin interface- ReferenceOrBuilder
- Returns:
- The bytes for name.
 
 - 
setNamepublic Reference.Builder setName(java.lang.String value) The fully qualified name of the declaration. string name = 1;- Parameters:
- value- The name to set.
- Returns:
- This builder for chaining.
 
 - 
clearNamepublic Reference.Builder clearName() The fully qualified name of the declaration. string name = 1;- Returns:
- This builder for chaining.
 
 - 
setNameBytespublic Reference.Builder setNameBytes(com.google.protobuf.ByteString value) The fully qualified name of the declaration. string name = 1;- Parameters:
- value- The bytes for name to set.
- Returns:
- This builder for chaining.
 
 - 
getOverloadIdListpublic com.google.protobuf.ProtocolStringList getOverloadIdList() For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules. If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible. Empty if this is not a reference to a [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl]. repeated string overload_id = 3;- Specified by:
- getOverloadIdListin interface- ReferenceOrBuilder
- Returns:
- A list containing the overloadId.
 
 - 
getOverloadIdCountpublic int getOverloadIdCount() For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules. If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible. Empty if this is not a reference to a [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl]. repeated string overload_id = 3;- Specified by:
- getOverloadIdCountin interface- ReferenceOrBuilder
- Returns:
- The count of overloadId.
 
 - 
getOverloadIdpublic java.lang.String getOverloadId(int index) For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules. If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible. Empty if this is not a reference to a [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl]. repeated string overload_id = 3;- Specified by:
- getOverloadIdin interface- ReferenceOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The overloadId at the given index.
 
 - 
getOverloadIdBytespublic com.google.protobuf.ByteString getOverloadIdBytes(int index) For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules. If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible. Empty if this is not a reference to a [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl]. repeated string overload_id = 3;- Specified by:
- getOverloadIdBytesin interface- ReferenceOrBuilder
- Parameters:
- index- The index of the value to return.
- Returns:
- The bytes of the overloadId at the given index.
 
 - 
setOverloadIdpublic Reference.Builder setOverloadId(int index, java.lang.String value) For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules. If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible. Empty if this is not a reference to a [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl]. repeated string overload_id = 3;- Parameters:
- index- The index to set the value at.
- value- The overloadId to set.
- Returns:
- This builder for chaining.
 
 - 
addOverloadIdpublic Reference.Builder addOverloadId(java.lang.String value) For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules. If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible. Empty if this is not a reference to a [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl]. repeated string overload_id = 3;- Parameters:
- value- The overloadId to add.
- Returns:
- This builder for chaining.
 
 - 
addAllOverloadIdpublic Reference.Builder addAllOverloadId(java.lang.Iterable<java.lang.String> values) For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules. If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible. Empty if this is not a reference to a [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl]. repeated string overload_id = 3;- Parameters:
- values- The overloadId to add.
- Returns:
- This builder for chaining.
 
 - 
clearOverloadIdpublic Reference.Builder clearOverloadId() For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules. If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible. Empty if this is not a reference to a [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl]. repeated string overload_id = 3;- Returns:
- This builder for chaining.
 
 - 
addOverloadIdBytespublic Reference.Builder addOverloadIdBytes(com.google.protobuf.ByteString value) For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules. If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible. Empty if this is not a reference to a [Decl.FunctionDecl][cel.expr.Decl.FunctionDecl]. repeated string overload_id = 3;- Parameters:
- value- The bytes of the overloadId to add.
- Returns:
- This builder for chaining.
 
 - 
hasValuepublic boolean hasValue() For references to constants, this may contain the value of the constant if known at compile time. .cel.expr.Constant value = 4;- Specified by:
- hasValuein interface- ReferenceOrBuilder
- Returns:
- Whether the value field is set.
 
 - 
getValuepublic Constant getValue() For references to constants, this may contain the value of the constant if known at compile time. .cel.expr.Constant value = 4;- Specified by:
- getValuein interface- ReferenceOrBuilder
- Returns:
- The value.
 
 - 
setValuepublic Reference.Builder setValue(Constant value) For references to constants, this may contain the value of the constant if known at compile time. .cel.expr.Constant value = 4;
 - 
setValuepublic Reference.Builder setValue(Constant.Builder builderForValue) For references to constants, this may contain the value of the constant if known at compile time. .cel.expr.Constant value = 4;
 - 
mergeValuepublic Reference.Builder mergeValue(Constant value) For references to constants, this may contain the value of the constant if known at compile time. .cel.expr.Constant value = 4;
 - 
clearValuepublic Reference.Builder clearValue() For references to constants, this may contain the value of the constant if known at compile time. .cel.expr.Constant value = 4;
 - 
getValueBuilderpublic Constant.Builder getValueBuilder() For references to constants, this may contain the value of the constant if known at compile time. .cel.expr.Constant value = 4;
 - 
getValueOrBuilderpublic ConstantOrBuilder getValueOrBuilder() For references to constants, this may contain the value of the constant if known at compile time. .cel.expr.Constant value = 4;- Specified by:
- getValueOrBuilderin interface- ReferenceOrBuilder
 
 - 
setUnknownFieldspublic final Reference.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
- setUnknownFieldsin interface- com.google.protobuf.Message.Builder
- Overrides:
- setUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
 
 - 
mergeUnknownFieldspublic final Reference.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
- mergeUnknownFieldsin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>
 
 
- 
 
-