public static final class Decl.IdentDecl.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Decl.IdentDecl.Builder> implements Decl.IdentDeclOrBuilder
Identifier declaration which specifies its type and optional `Expr` value. An identifier without a value is a declaration that must be provided at evaluation time. An identifier with a value should resolve to a constant, but may be used in conjunction with other identifiers bound at evaluation time.Protobuf type
google.api.expr.v1alpha1.Decl.IdentDecl| Modifier and Type | Method and Description |
|---|---|
Decl.IdentDecl.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Decl.IdentDecl |
build() |
Decl.IdentDecl |
buildPartial() |
Decl.IdentDecl.Builder |
clear() |
Decl.IdentDecl.Builder |
clearDoc()
Documentation string for the identifier.
|
Decl.IdentDecl.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Decl.IdentDecl.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Decl.IdentDecl.Builder |
clearType()
Required.
|
Decl.IdentDecl.Builder |
clearValue()
The constant value of the identifier.
|
Decl.IdentDecl.Builder |
clone() |
Decl.IdentDecl |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDoc()
Documentation string for the identifier.
|
com.google.protobuf.ByteString |
getDocBytes()
Documentation string for the identifier.
|
Type |
getType()
Required.
|
Type.Builder |
getTypeBuilder()
Required.
|
TypeOrBuilder |
getTypeOrBuilder()
Required.
|
Constant |
getValue()
The constant value of the identifier.
|
Constant.Builder |
getValueBuilder()
The constant value of the identifier.
|
ConstantOrBuilder |
getValueOrBuilder()
The constant value of the identifier.
|
boolean |
hasType()
Required.
|
boolean |
hasValue()
The constant value of the identifier.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Decl.IdentDecl.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Decl.IdentDecl.Builder |
mergeFrom(Decl.IdentDecl other) |
Decl.IdentDecl.Builder |
mergeFrom(com.google.protobuf.Message other) |
Decl.IdentDecl.Builder |
mergeType(Type value)
Required.
|
Decl.IdentDecl.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Decl.IdentDecl.Builder |
mergeValue(Constant value)
The constant value of the identifier.
|
Decl.IdentDecl.Builder |
setDoc(String value)
Documentation string for the identifier.
|
Decl.IdentDecl.Builder |
setDocBytes(com.google.protobuf.ByteString value)
Documentation string for the identifier.
|
Decl.IdentDecl.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Decl.IdentDecl.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Decl.IdentDecl.Builder |
setType(Type.Builder builderForValue)
Required.
|
Decl.IdentDecl.Builder |
setType(Type value)
Required.
|
Decl.IdentDecl.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Decl.IdentDecl.Builder |
setValue(Constant.Builder builderForValue)
The constant value of the identifier.
|
Decl.IdentDecl.Builder |
setValue(Constant value)
The constant value of the identifier.
|
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.IdentDecl.Builder>public Decl.IdentDecl.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.IdentDecl.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.IdentDecl.Builder>public Decl.IdentDecl getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Decl.IdentDecl build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Decl.IdentDecl buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Decl.IdentDecl.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.IdentDecl.Builder>public Decl.IdentDecl.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.IdentDecl.Builder>public Decl.IdentDecl.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Decl.IdentDecl.Builder>public Decl.IdentDecl.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Decl.IdentDecl.Builder>public Decl.IdentDecl.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.IdentDecl.Builder>public Decl.IdentDecl.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.IdentDecl.Builder>public Decl.IdentDecl.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Decl.IdentDecl.Builder>public Decl.IdentDecl.Builder mergeFrom(Decl.IdentDecl other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Decl.IdentDecl.Builder>public Decl.IdentDecl.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.IdentDecl.Builder>IOExceptionpublic boolean hasType()
Required. The type of the identifier.
.google.api.expr.v1alpha1.Type type = 1;hasType in interface Decl.IdentDeclOrBuilderpublic Type getType()
Required. The type of the identifier.
.google.api.expr.v1alpha1.Type type = 1;getType in interface Decl.IdentDeclOrBuilderpublic Decl.IdentDecl.Builder setType(Type value)
Required. The type of the identifier.
.google.api.expr.v1alpha1.Type type = 1;public Decl.IdentDecl.Builder setType(Type.Builder builderForValue)
Required. The type of the identifier.
.google.api.expr.v1alpha1.Type type = 1;public Decl.IdentDecl.Builder mergeType(Type value)
Required. The type of the identifier.
.google.api.expr.v1alpha1.Type type = 1;public Decl.IdentDecl.Builder clearType()
Required. The type of the identifier.
.google.api.expr.v1alpha1.Type type = 1;public Type.Builder getTypeBuilder()
Required. The type of the identifier.
.google.api.expr.v1alpha1.Type type = 1;public TypeOrBuilder getTypeOrBuilder()
Required. The type of the identifier.
.google.api.expr.v1alpha1.Type type = 1;getTypeOrBuilder in interface Decl.IdentDeclOrBuilderpublic boolean hasValue()
The constant value of the identifier. If not specified, the identifier must be supplied at evaluation time.
.google.api.expr.v1alpha1.Constant value = 2;hasValue in interface Decl.IdentDeclOrBuilderpublic Constant getValue()
The constant value of the identifier. If not specified, the identifier must be supplied at evaluation time.
.google.api.expr.v1alpha1.Constant value = 2;getValue in interface Decl.IdentDeclOrBuilderpublic Decl.IdentDecl.Builder setValue(Constant value)
The constant value of the identifier. If not specified, the identifier must be supplied at evaluation time.
.google.api.expr.v1alpha1.Constant value = 2;public Decl.IdentDecl.Builder setValue(Constant.Builder builderForValue)
The constant value of the identifier. If not specified, the identifier must be supplied at evaluation time.
.google.api.expr.v1alpha1.Constant value = 2;public Decl.IdentDecl.Builder mergeValue(Constant value)
The constant value of the identifier. If not specified, the identifier must be supplied at evaluation time.
.google.api.expr.v1alpha1.Constant value = 2;public Decl.IdentDecl.Builder clearValue()
The constant value of the identifier. If not specified, the identifier must be supplied at evaluation time.
.google.api.expr.v1alpha1.Constant value = 2;public Constant.Builder getValueBuilder()
The constant value of the identifier. If not specified, the identifier must be supplied at evaluation time.
.google.api.expr.v1alpha1.Constant value = 2;public ConstantOrBuilder getValueOrBuilder()
The constant value of the identifier. If not specified, the identifier must be supplied at evaluation time.
.google.api.expr.v1alpha1.Constant value = 2;getValueOrBuilder in interface Decl.IdentDeclOrBuilderpublic String getDoc()
Documentation string for the identifier.
string doc = 3;getDoc in interface Decl.IdentDeclOrBuilderpublic com.google.protobuf.ByteString getDocBytes()
Documentation string for the identifier.
string doc = 3;getDocBytes in interface Decl.IdentDeclOrBuilderpublic Decl.IdentDecl.Builder setDoc(String value)
Documentation string for the identifier.
string doc = 3;public Decl.IdentDecl.Builder clearDoc()
Documentation string for the identifier.
string doc = 3;public Decl.IdentDecl.Builder setDocBytes(com.google.protobuf.ByteString value)
Documentation string for the identifier.
string doc = 3;public final Decl.IdentDecl.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Decl.IdentDecl.Builder>public final Decl.IdentDecl.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Decl.IdentDecl.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.