Package com.google.api.expr.v1alpha1
Class Decl.FunctionDecl.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Decl.FunctionDecl,Decl.FunctionDecl.Builder>
com.google.api.expr.v1alpha1.Decl.FunctionDecl.Builder
- All Implemented Interfaces:
Decl.FunctionDeclOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- Decl.FunctionDecl
public static final class Decl.FunctionDecl.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Decl.FunctionDecl,Decl.FunctionDecl.Builder>
implements Decl.FunctionDeclOrBuilder
Function declaration specifies one or more overloads which indicate the function's parameter types and return type. Functions have no observable side-effects (there may be side-effects like logging which are not observable from CEL).Protobuf type
google.api.expr.v1alpha1.Decl.FunctionDecl
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllOverloads
(Iterable<? extends Decl.FunctionDecl.Overload> values) Required.addOverloads
(int index, Decl.FunctionDecl.Overload value) Required.addOverloads
(int index, Decl.FunctionDecl.Overload.Builder builderForValue) Required.Required.addOverloads
(Decl.FunctionDecl.Overload.Builder builderForValue) Required.Required.getOverloads
(int index) Required.int
Required.Required.removeOverloads
(int index) Required.setOverloads
(int index, Decl.FunctionDecl.Overload value) Required.setOverloads
(int index, Decl.FunctionDecl.Overload.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getOverloadsList
Required. List of function overloads, must contain at least one overload.
repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1 [json_name = "overloads"];
- Specified by:
getOverloadsList
in interfaceDecl.FunctionDeclOrBuilder
-
getOverloadsCount
public int getOverloadsCount()Required. List of function overloads, must contain at least one overload.
repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1 [json_name = "overloads"];
- Specified by:
getOverloadsCount
in interfaceDecl.FunctionDeclOrBuilder
-
getOverloads
Required. List of function overloads, must contain at least one overload.
repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1 [json_name = "overloads"];
- Specified by:
getOverloads
in interfaceDecl.FunctionDeclOrBuilder
-
setOverloads
Required. List of function overloads, must contain at least one overload.
repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1 [json_name = "overloads"];
-
setOverloads
public Decl.FunctionDecl.Builder setOverloads(int index, Decl.FunctionDecl.Overload.Builder builderForValue) Required. List of function overloads, must contain at least one overload.
repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1 [json_name = "overloads"];
-
addOverloads
Required. List of function overloads, must contain at least one overload.
repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1 [json_name = "overloads"];
-
addOverloads
Required. List of function overloads, must contain at least one overload.
repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1 [json_name = "overloads"];
-
addOverloads
Required. List of function overloads, must contain at least one overload.
repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1 [json_name = "overloads"];
-
addOverloads
public Decl.FunctionDecl.Builder addOverloads(int index, Decl.FunctionDecl.Overload.Builder builderForValue) Required. List of function overloads, must contain at least one overload.
repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1 [json_name = "overloads"];
-
addAllOverloads
public Decl.FunctionDecl.Builder addAllOverloads(Iterable<? extends Decl.FunctionDecl.Overload> values) Required. List of function overloads, must contain at least one overload.
repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1 [json_name = "overloads"];
-
clearOverloads
Required. List of function overloads, must contain at least one overload.
repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1 [json_name = "overloads"];
-
removeOverloads
Required. List of function overloads, must contain at least one overload.
repeated .google.api.expr.v1alpha1.Decl.FunctionDecl.Overload overloads = 1 [json_name = "overloads"];
-