Package dev.cel.expr
Class Type.MapType.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
-
- dev.cel.expr.Type.MapType.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Type.MapTypeOrBuilder,java.lang.Cloneable
- Enclosing class:
- Type.MapType
public static final class Type.MapType.Builder extends com.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder> implements Type.MapTypeOrBuilder
Map type with parameterized key and value types, e.g. `map<string, int>`.
Protobuf typecel.expr.Type.MapType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Type.MapTypebuild()Type.MapTypebuildPartial()Type.MapType.Builderclear()Type.MapType.BuilderclearKeyType()The type of the key.Type.MapType.BuilderclearValueType()The type of the value.Type.MapTypegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()TypegetKeyType()The type of the key.Type.BuildergetKeyTypeBuilder()The type of the key.TypeOrBuildergetKeyTypeOrBuilder()The type of the key.TypegetValueType()The type of the value.Type.BuildergetValueTypeBuilder()The type of the value.TypeOrBuildergetValueTypeOrBuilder()The type of the value.booleanhasKeyType()The type of the key.booleanhasValueType()The type of the value.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Type.MapType.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Type.MapType.BuildermergeFrom(com.google.protobuf.Message other)Type.MapType.BuildermergeFrom(Type.MapType other)Type.MapType.BuildermergeKeyType(Type value)The type of the key.Type.MapType.BuildermergeValueType(Type value)The type of the value.Type.MapType.BuildersetKeyType(Type value)The type of the key.Type.MapType.BuildersetKeyType(Type.Builder builderForValue)The type of the key.Type.MapType.BuildersetValueType(Type value)The type of the value.Type.MapType.BuildersetValueType(Type.Builder builderForValue)The type of the value.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
-
clear
public Type.MapType.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
-
getDefaultInstanceForType
public Type.MapType getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Type.MapType build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Type.MapType buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Type.MapType.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Type.MapType.Builder>
-
mergeFrom
public Type.MapType.Builder mergeFrom(Type.MapType other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Type.MapType.Builder>
-
mergeFrom
public Type.MapType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Type.MapType.Builder>- Throws:
java.io.IOException
-
hasKeyType
public boolean hasKeyType()
The type of the key.
.cel.expr.Type key_type = 1;- Specified by:
hasKeyTypein interfaceType.MapTypeOrBuilder- Returns:
- Whether the keyType field is set.
-
getKeyType
public Type getKeyType()
The type of the key.
.cel.expr.Type key_type = 1;- Specified by:
getKeyTypein interfaceType.MapTypeOrBuilder- Returns:
- The keyType.
-
setKeyType
public Type.MapType.Builder setKeyType(Type value)
The type of the key.
.cel.expr.Type key_type = 1;
-
setKeyType
public Type.MapType.Builder setKeyType(Type.Builder builderForValue)
The type of the key.
.cel.expr.Type key_type = 1;
-
mergeKeyType
public Type.MapType.Builder mergeKeyType(Type value)
The type of the key.
.cel.expr.Type key_type = 1;
-
clearKeyType
public Type.MapType.Builder clearKeyType()
The type of the key.
.cel.expr.Type key_type = 1;
-
getKeyTypeBuilder
public Type.Builder getKeyTypeBuilder()
The type of the key.
.cel.expr.Type key_type = 1;
-
getKeyTypeOrBuilder
public TypeOrBuilder getKeyTypeOrBuilder()
The type of the key.
.cel.expr.Type key_type = 1;- Specified by:
getKeyTypeOrBuilderin interfaceType.MapTypeOrBuilder
-
hasValueType
public boolean hasValueType()
The type of the value.
.cel.expr.Type value_type = 2;- Specified by:
hasValueTypein interfaceType.MapTypeOrBuilder- Returns:
- Whether the valueType field is set.
-
getValueType
public Type getValueType()
The type of the value.
.cel.expr.Type value_type = 2;- Specified by:
getValueTypein interfaceType.MapTypeOrBuilder- Returns:
- The valueType.
-
setValueType
public Type.MapType.Builder setValueType(Type value)
The type of the value.
.cel.expr.Type value_type = 2;
-
setValueType
public Type.MapType.Builder setValueType(Type.Builder builderForValue)
The type of the value.
.cel.expr.Type value_type = 2;
-
mergeValueType
public Type.MapType.Builder mergeValueType(Type value)
The type of the value.
.cel.expr.Type value_type = 2;
-
clearValueType
public Type.MapType.Builder clearValueType()
The type of the value.
.cel.expr.Type value_type = 2;
-
getValueTypeBuilder
public Type.Builder getValueTypeBuilder()
The type of the value.
.cel.expr.Type value_type = 2;
-
getValueTypeOrBuilder
public TypeOrBuilder getValueTypeOrBuilder()
The type of the value.
.cel.expr.Type value_type = 2;- Specified by:
getValueTypeOrBuilderin interfaceType.MapTypeOrBuilder
-
-