public static final class Reference.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder> implements ReferenceOrBuilder
Describes a resolved reference to a declaration.Protobuf type
google.api.expr.v1alpha1.Reference| Modifier and Type | Method and Description |
|---|---|
Reference.Builder |
addAllOverloadId(Iterable<String> values)
For references to functions, this is a list of `Overload.overload_id`
values which match according to typing rules.
|
Reference.Builder |
addOverloadId(String value)
For references to functions, this is a list of `Overload.overload_id`
values which match according to typing rules.
|
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.
|
Reference.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Reference |
build() |
Reference |
buildPartial() |
Reference.Builder |
clear() |
Reference.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Reference.Builder |
clearName()
The fully qualified name of the declaration.
|
Reference.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Reference.Builder |
clearOverloadId()
For references to functions, this is a list of `Overload.overload_id`
values which match according to typing rules.
|
Reference.Builder |
clearValue()
For references to constants, this may contain the value of the
constant if known at compile time.
|
Reference.Builder |
clone() |
Reference |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
The fully qualified name of the declaration.
|
com.google.protobuf.ByteString |
getNameBytes()
The fully qualified name of the declaration.
|
String |
getOverloadId(int index)
For references to functions, this is a list of `Overload.overload_id`
values which match according to typing rules.
|
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.
|
int |
getOverloadIdCount()
For references to functions, this is a list of `Overload.overload_id`
values which match according to typing rules.
|
com.google.protobuf.ProtocolStringList |
getOverloadIdList()
For references to functions, this is a list of `Overload.overload_id`
values which match according to typing rules.
|
Constant |
getValue()
For references to constants, this may contain the value of the
constant if known at compile time.
|
Constant.Builder |
getValueBuilder()
For references to constants, this may contain the value of the
constant if known at compile time.
|
ConstantOrBuilder |
getValueOrBuilder()
For references to constants, this may contain the value of the
constant if known at compile time.
|
boolean |
hasValue()
For references to constants, this may contain the value of the
constant if known at compile time.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Reference.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Reference.Builder |
mergeFrom(com.google.protobuf.Message other) |
Reference.Builder |
mergeFrom(Reference other) |
Reference.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Reference.Builder |
mergeValue(Constant value)
For references to constants, this may contain the value of the
constant if known at compile time.
|
Reference.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Reference.Builder |
setName(String value)
The fully qualified name of the declaration.
|
Reference.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The fully qualified name of the declaration.
|
Reference.Builder |
setOverloadId(int index,
String value)
For references to functions, this is a list of `Overload.overload_id`
values which match according to typing rules.
|
Reference.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Reference.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Reference.Builder |
setValue(Constant.Builder builderForValue)
For references to constants, this may contain the value of the
constant if known at compile time.
|
Reference.Builder |
setValue(Constant value)
For references to constants, this may contain the value of the
constant if known at compile time.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>public Reference.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>public Reference getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Reference build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Reference buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Reference.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>public Reference.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>public Reference.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>public Reference.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>public Reference.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>public Reference.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>public Reference.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Reference.Builder>public Reference.Builder mergeFrom(Reference other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>public Reference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Reference.Builder>IOExceptionpublic String getName()
The fully qualified name of the declaration.
string name = 1;getName in interface ReferenceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The fully qualified name of the declaration.
string name = 1;getNameBytes in interface ReferenceOrBuilderpublic Reference.Builder setName(String value)
The fully qualified name of the declaration.
string name = 1;public Reference.Builder clearName()
The fully qualified name of the declaration.
string name = 1;public Reference.Builder setNameBytes(com.google.protobuf.ByteString value)
The fully qualified name of the declaration.
string name = 1;public 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][google.api.expr.v1alpha1.Decl.FunctionDecl].
repeated string overload_id = 3;getOverloadIdList in interface ReferenceOrBuilderpublic 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][google.api.expr.v1alpha1.Decl.FunctionDecl].
repeated string overload_id = 3;getOverloadIdCount in interface ReferenceOrBuilderpublic 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][google.api.expr.v1alpha1.Decl.FunctionDecl].
repeated string overload_id = 3;getOverloadId in interface ReferenceOrBuilderpublic 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][google.api.expr.v1alpha1.Decl.FunctionDecl].
repeated string overload_id = 3;getOverloadIdBytes in interface ReferenceOrBuilderpublic Reference.Builder setOverloadId(int index, 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][google.api.expr.v1alpha1.Decl.FunctionDecl].
repeated string overload_id = 3;public Reference.Builder addOverloadId(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][google.api.expr.v1alpha1.Decl.FunctionDecl].
repeated string overload_id = 3;public Reference.Builder addAllOverloadId(Iterable<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][google.api.expr.v1alpha1.Decl.FunctionDecl].
repeated string overload_id = 3;public 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][google.api.expr.v1alpha1.Decl.FunctionDecl].
repeated string overload_id = 3;public 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][google.api.expr.v1alpha1.Decl.FunctionDecl].
repeated string overload_id = 3;public boolean hasValue()
For references to constants, this may contain the value of the constant if known at compile time.
.google.api.expr.v1alpha1.Constant value = 4;hasValue in interface ReferenceOrBuilderpublic Constant getValue()
For references to constants, this may contain the value of the constant if known at compile time.
.google.api.expr.v1alpha1.Constant value = 4;getValue in interface ReferenceOrBuilderpublic Reference.Builder setValue(Constant value)
For references to constants, this may contain the value of the constant if known at compile time.
.google.api.expr.v1alpha1.Constant value = 4;public Reference.Builder setValue(Constant.Builder builderForValue)
For references to constants, this may contain the value of the constant if known at compile time.
.google.api.expr.v1alpha1.Constant value = 4;public Reference.Builder mergeValue(Constant value)
For references to constants, this may contain the value of the constant if known at compile time.
.google.api.expr.v1alpha1.Constant value = 4;public Reference.Builder clearValue()
For references to constants, this may contain the value of the constant if known at compile time.
.google.api.expr.v1alpha1.Constant value = 4;public Constant.Builder getValueBuilder()
For references to constants, this may contain the value of the constant if known at compile time.
.google.api.expr.v1alpha1.Constant value = 4;public ConstantOrBuilder getValueOrBuilder()
For references to constants, this may contain the value of the constant if known at compile time.
.google.api.expr.v1alpha1.Constant value = 4;getValueOrBuilder in interface ReferenceOrBuilderpublic final Reference.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>public final Reference.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Reference.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.