Package com.google.api.expr.v1beta1
Class IdentDecl.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<IdentDecl,IdentDecl.Builder>
com.google.api.expr.v1beta1.IdentDecl.Builder
- All Implemented Interfaces:
IdentDeclOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- IdentDecl
public static final class IdentDecl.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<IdentDecl,IdentDecl.Builder>
implements IdentDeclOrBuilder
An identifier declaration.Protobuf type
google.api.expr.v1beta1.IdentDecl
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionOptional type of the identifier.Optional value of the identifier.getType()
Optional type of the identifier.getValue()
Optional value of the identifier.boolean
hasType()
Optional type of the identifier.boolean
hasValue()
Optional value of the identifier.Optional type of the identifier.mergeValue
(Expr value) Optional value of the identifier.Optional type of the identifier.setType
(DeclType.Builder builderForValue) Optional type of the identifier.Optional value of the identifier.setValue
(Expr.Builder builderForValue) Optional value of the identifier.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
-
hasType
public boolean hasType()Optional type of the identifier.
.google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
- Specified by:
hasType
in interfaceIdentDeclOrBuilder
- Returns:
- Whether the type field is set.
-
getType
Optional type of the identifier.
.google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
- Specified by:
getType
in interfaceIdentDeclOrBuilder
- Returns:
- The type.
-
setType
Optional type of the identifier.
.google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
-
setType
Optional type of the identifier.
.google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
-
mergeType
Optional type of the identifier.
.google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
-
clearType
Optional type of the identifier.
.google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
-
hasValue
public boolean hasValue()Optional value of the identifier.
.google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
- Specified by:
hasValue
in interfaceIdentDeclOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
Optional value of the identifier.
.google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
- Specified by:
getValue
in interfaceIdentDeclOrBuilder
- Returns:
- The value.
-
setValue
Optional value of the identifier.
.google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
-
setValue
Optional value of the identifier.
.google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
-
mergeValue
Optional value of the identifier.
.google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
-
clearValue
Optional value of the identifier.
.google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
-