public static final class Decl.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Decl.Builder> implements DeclOrBuilder
Represents a declaration of a named value or function. A declaration is part of the contract between the expression, the agent evaluating that expression, and the caller requesting evaluation.Protobuf type
google.api.expr.v1alpha1.Decl| Modifier and Type | Method and Description |
|---|---|
Decl.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Decl |
build() |
Decl |
buildPartial() |
Decl.Builder |
clear() |
Decl.Builder |
clearDeclKind() |
Decl.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Decl.Builder |
clearFunction()
Function declaration.
|
Decl.Builder |
clearIdent()
Identifier declaration.
|
Decl.Builder |
clearName()
The fully qualified name of the declaration.
|
Decl.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Decl.Builder |
clone() |
Decl.DeclKindCase |
getDeclKindCase() |
Decl |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Decl.FunctionDecl |
getFunction()
Function declaration.
|
Decl.FunctionDecl.Builder |
getFunctionBuilder()
Function declaration.
|
Decl.FunctionDeclOrBuilder |
getFunctionOrBuilder()
Function declaration.
|
Decl.IdentDecl |
getIdent()
Identifier declaration.
|
Decl.IdentDecl.Builder |
getIdentBuilder()
Identifier declaration.
|
Decl.IdentDeclOrBuilder |
getIdentOrBuilder()
Identifier declaration.
|
String |
getName()
The fully qualified name of the declaration.
|
com.google.protobuf.ByteString |
getNameBytes()
The fully qualified name of the declaration.
|
boolean |
hasFunction()
Function declaration.
|
boolean |
hasIdent()
Identifier declaration.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Decl.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Decl.Builder |
mergeFrom(Decl other) |
Decl.Builder |
mergeFrom(com.google.protobuf.Message other) |
Decl.Builder |
mergeFunction(Decl.FunctionDecl value)
Function declaration.
|
Decl.Builder |
mergeIdent(Decl.IdentDecl value)
Identifier declaration.
|
Decl.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Decl.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Decl.Builder |
setFunction(Decl.FunctionDecl.Builder builderForValue)
Function declaration.
|
Decl.Builder |
setFunction(Decl.FunctionDecl value)
Function declaration.
|
Decl.Builder |
setIdent(Decl.IdentDecl.Builder builderForValue)
Identifier declaration.
|
Decl.Builder |
setIdent(Decl.IdentDecl value)
Identifier declaration.
|
Decl.Builder |
setName(String value)
The fully qualified name of the declaration.
|
Decl.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The fully qualified name of the declaration.
|
Decl.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Decl.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<Decl.Builder>public Decl.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Decl.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<Decl.Builder>public Decl getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Decl build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Decl buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Decl.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Decl.Builder>public Decl.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<Decl.Builder>public Decl.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Decl.Builder>public Decl.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Decl.Builder>public Decl.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<Decl.Builder>public Decl.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<Decl.Builder>public Decl.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Decl.Builder>public Decl.Builder mergeFrom(Decl other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Decl.Builder>public Decl.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<Decl.Builder>IOExceptionpublic Decl.DeclKindCase getDeclKindCase()
getDeclKindCase in interface DeclOrBuilderpublic Decl.Builder clearDeclKind()
public String getName()
The fully qualified name of the declaration. Declarations are organized in containers and this represents the full path to the declaration in its container, as in `google.api.expr.Decl`. Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not have a name depending on whether the overload is function declaration or a function definition containing a result [Expr][google.api.expr.v1alpha1.Expr].
string name = 1;getName in interface DeclOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The fully qualified name of the declaration. Declarations are organized in containers and this represents the full path to the declaration in its container, as in `google.api.expr.Decl`. Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not have a name depending on whether the overload is function declaration or a function definition containing a result [Expr][google.api.expr.v1alpha1.Expr].
string name = 1;getNameBytes in interface DeclOrBuilderpublic Decl.Builder setName(String value)
The fully qualified name of the declaration. Declarations are organized in containers and this represents the full path to the declaration in its container, as in `google.api.expr.Decl`. Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not have a name depending on whether the overload is function declaration or a function definition containing a result [Expr][google.api.expr.v1alpha1.Expr].
string name = 1;public Decl.Builder clearName()
The fully qualified name of the declaration. Declarations are organized in containers and this represents the full path to the declaration in its container, as in `google.api.expr.Decl`. Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not have a name depending on whether the overload is function declaration or a function definition containing a result [Expr][google.api.expr.v1alpha1.Expr].
string name = 1;public Decl.Builder setNameBytes(com.google.protobuf.ByteString value)
The fully qualified name of the declaration. Declarations are organized in containers and this represents the full path to the declaration in its container, as in `google.api.expr.Decl`. Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not have a name depending on whether the overload is function declaration or a function definition containing a result [Expr][google.api.expr.v1alpha1.Expr].
string name = 1;public boolean hasIdent()
Identifier declaration.
.google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;hasIdent in interface DeclOrBuilderpublic Decl.IdentDecl getIdent()
Identifier declaration.
.google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;getIdent in interface DeclOrBuilderpublic Decl.Builder setIdent(Decl.IdentDecl value)
Identifier declaration.
.google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;public Decl.Builder setIdent(Decl.IdentDecl.Builder builderForValue)
Identifier declaration.
.google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;public Decl.Builder mergeIdent(Decl.IdentDecl value)
Identifier declaration.
.google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;public Decl.Builder clearIdent()
Identifier declaration.
.google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;public Decl.IdentDecl.Builder getIdentBuilder()
Identifier declaration.
.google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;public Decl.IdentDeclOrBuilder getIdentOrBuilder()
Identifier declaration.
.google.api.expr.v1alpha1.Decl.IdentDecl ident = 2;getIdentOrBuilder in interface DeclOrBuilderpublic boolean hasFunction()
Function declaration.
.google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;hasFunction in interface DeclOrBuilderpublic Decl.FunctionDecl getFunction()
Function declaration.
.google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;getFunction in interface DeclOrBuilderpublic Decl.Builder setFunction(Decl.FunctionDecl value)
Function declaration.
.google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;public Decl.Builder setFunction(Decl.FunctionDecl.Builder builderForValue)
Function declaration.
.google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;public Decl.Builder mergeFunction(Decl.FunctionDecl value)
Function declaration.
.google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;public Decl.Builder clearFunction()
Function declaration.
.google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;public Decl.FunctionDecl.Builder getFunctionBuilder()
Function declaration.
.google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;public Decl.FunctionDeclOrBuilder getFunctionOrBuilder()
Function declaration.
.google.api.expr.v1alpha1.Decl.FunctionDecl function = 3;getFunctionOrBuilder in interface DeclOrBuilderpublic final Decl.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Decl.Builder>public final Decl.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Decl.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.