dev.cel.expr.MapValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of runtime Show documentation
Show all versions of runtime Show documentation
Common Expression Language Runtime for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: cel/expr/value.proto
// Protobuf Java Version: 4.28.2
package dev.cel.expr;
/**
*
* A map.
*
* Wrapped in a message so 'not set' and empty can be differentiated, which is
* required for use in a 'oneof'.
*
*
* Protobuf type {@code cel.expr.MapValue}
*/
public final class MapValue extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:cel.expr.MapValue)
MapValueOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 2,
/* suffix= */ "",
MapValue.class.getName());
}
// Use MapValue.newBuilder() to construct.
private MapValue(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private MapValue() {
entries_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return dev.cel.expr.ValueProto.internal_static_cel_expr_MapValue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return dev.cel.expr.ValueProto.internal_static_cel_expr_MapValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
dev.cel.expr.MapValue.class, dev.cel.expr.MapValue.Builder.class);
}
public interface EntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:cel.expr.MapValue.Entry)
com.google.protobuf.MessageOrBuilder {
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
* @return Whether the key field is set.
*/
boolean hasKey();
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
* @return The key.
*/
dev.cel.expr.Value getKey();
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
*/
dev.cel.expr.ValueOrBuilder getKeyOrBuilder();
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
* @return The value.
*/
dev.cel.expr.Value getValue();
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
*/
dev.cel.expr.ValueOrBuilder getValueOrBuilder();
}
/**
* Protobuf type {@code cel.expr.MapValue.Entry}
*/
public static final class Entry extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:cel.expr.MapValue.Entry)
EntryOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 2,
/* suffix= */ "",
Entry.class.getName());
}
// Use Entry.newBuilder() to construct.
private Entry(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private Entry() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return dev.cel.expr.ValueProto.internal_static_cel_expr_MapValue_Entry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return dev.cel.expr.ValueProto.internal_static_cel_expr_MapValue_Entry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
dev.cel.expr.MapValue.Entry.class, dev.cel.expr.MapValue.Entry.Builder.class);
}
private int bitField0_;
public static final int KEY_FIELD_NUMBER = 1;
private dev.cel.expr.Value key_;
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
* @return Whether the key field is set.
*/
@java.lang.Override
public boolean hasKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
* @return The key.
*/
@java.lang.Override
public dev.cel.expr.Value getKey() {
return key_ == null ? dev.cel.expr.Value.getDefaultInstance() : key_;
}
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
*/
@java.lang.Override
public dev.cel.expr.ValueOrBuilder getKeyOrBuilder() {
return key_ == null ? dev.cel.expr.Value.getDefaultInstance() : key_;
}
public static final int VALUE_FIELD_NUMBER = 2;
private dev.cel.expr.Value value_;
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
* @return The value.
*/
@java.lang.Override
public dev.cel.expr.Value getValue() {
return value_ == null ? dev.cel.expr.Value.getDefaultInstance() : value_;
}
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
*/
@java.lang.Override
public dev.cel.expr.ValueOrBuilder getValueOrBuilder() {
return value_ == null ? dev.cel.expr.Value.getDefaultInstance() : value_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getKey());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getValue());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getKey());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getValue());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof dev.cel.expr.MapValue.Entry)) {
return super.equals(obj);
}
dev.cel.expr.MapValue.Entry other = (dev.cel.expr.MapValue.Entry) obj;
if (hasKey() != other.hasKey()) return false;
if (hasKey()) {
if (!getKey()
.equals(other.getKey())) return false;
}
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue()
.equals(other.getValue())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasKey()) {
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
}
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static dev.cel.expr.MapValue.Entry parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static dev.cel.expr.MapValue.Entry parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static dev.cel.expr.MapValue.Entry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static dev.cel.expr.MapValue.Entry parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static dev.cel.expr.MapValue.Entry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static dev.cel.expr.MapValue.Entry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static dev.cel.expr.MapValue.Entry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static dev.cel.expr.MapValue.Entry parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static dev.cel.expr.MapValue.Entry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static dev.cel.expr.MapValue.Entry parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static dev.cel.expr.MapValue.Entry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static dev.cel.expr.MapValue.Entry parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(dev.cel.expr.MapValue.Entry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code cel.expr.MapValue.Entry}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:cel.expr.MapValue.Entry)
dev.cel.expr.MapValue.EntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return dev.cel.expr.ValueProto.internal_static_cel_expr_MapValue_Entry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return dev.cel.expr.ValueProto.internal_static_cel_expr_MapValue_Entry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
dev.cel.expr.MapValue.Entry.class, dev.cel.expr.MapValue.Entry.Builder.class);
}
// Construct using dev.cel.expr.MapValue.Entry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getKeyFieldBuilder();
getValueFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
key_ = null;
if (keyBuilder_ != null) {
keyBuilder_.dispose();
keyBuilder_ = null;
}
value_ = null;
if (valueBuilder_ != null) {
valueBuilder_.dispose();
valueBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return dev.cel.expr.ValueProto.internal_static_cel_expr_MapValue_Entry_descriptor;
}
@java.lang.Override
public dev.cel.expr.MapValue.Entry getDefaultInstanceForType() {
return dev.cel.expr.MapValue.Entry.getDefaultInstance();
}
@java.lang.Override
public dev.cel.expr.MapValue.Entry build() {
dev.cel.expr.MapValue.Entry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public dev.cel.expr.MapValue.Entry buildPartial() {
dev.cel.expr.MapValue.Entry result = new dev.cel.expr.MapValue.Entry(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(dev.cel.expr.MapValue.Entry result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.key_ = keyBuilder_ == null
? key_
: keyBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.value_ = valueBuilder_ == null
? value_
: valueBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof dev.cel.expr.MapValue.Entry) {
return mergeFrom((dev.cel.expr.MapValue.Entry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(dev.cel.expr.MapValue.Entry other) {
if (other == dev.cel.expr.MapValue.Entry.getDefaultInstance()) return this;
if (other.hasKey()) {
mergeKey(other.getKey());
}
if (other.hasValue()) {
mergeValue(other.getValue());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getKeyFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getValueFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private dev.cel.expr.Value key_;
private com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.Value, dev.cel.expr.Value.Builder, dev.cel.expr.ValueOrBuilder> keyBuilder_;
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
* @return Whether the key field is set.
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
* @return The key.
*/
public dev.cel.expr.Value getKey() {
if (keyBuilder_ == null) {
return key_ == null ? dev.cel.expr.Value.getDefaultInstance() : key_;
} else {
return keyBuilder_.getMessage();
}
}
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
*/
public Builder setKey(dev.cel.expr.Value value) {
if (keyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
} else {
keyBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
*/
public Builder setKey(
dev.cel.expr.Value.Builder builderForValue) {
if (keyBuilder_ == null) {
key_ = builderForValue.build();
} else {
keyBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
*/
public Builder mergeKey(dev.cel.expr.Value value) {
if (keyBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
key_ != null &&
key_ != dev.cel.expr.Value.getDefaultInstance()) {
getKeyBuilder().mergeFrom(value);
} else {
key_ = value;
}
} else {
keyBuilder_.mergeFrom(value);
}
if (key_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000001);
key_ = null;
if (keyBuilder_ != null) {
keyBuilder_.dispose();
keyBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
*/
public dev.cel.expr.Value.Builder getKeyBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getKeyFieldBuilder().getBuilder();
}
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
*/
public dev.cel.expr.ValueOrBuilder getKeyOrBuilder() {
if (keyBuilder_ != null) {
return keyBuilder_.getMessageOrBuilder();
} else {
return key_ == null ?
dev.cel.expr.Value.getDefaultInstance() : key_;
}
}
/**
*
* The key.
*
* Must be unique with in the map.
* Currently only boolean, int, uint, and string values can be keys.
*
*
* .cel.expr.Value key = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.Value, dev.cel.expr.Value.Builder, dev.cel.expr.ValueOrBuilder>
getKeyFieldBuilder() {
if (keyBuilder_ == null) {
keyBuilder_ = new com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.Value, dev.cel.expr.Value.Builder, dev.cel.expr.ValueOrBuilder>(
getKey(),
getParentForChildren(),
isClean());
key_ = null;
}
return keyBuilder_;
}
private dev.cel.expr.Value value_;
private com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.Value, dev.cel.expr.Value.Builder, dev.cel.expr.ValueOrBuilder> valueBuilder_;
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
* @return Whether the value field is set.
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
* @return The value.
*/
public dev.cel.expr.Value getValue() {
if (valueBuilder_ == null) {
return value_ == null ? dev.cel.expr.Value.getDefaultInstance() : value_;
} else {
return valueBuilder_.getMessage();
}
}
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
*/
public Builder setValue(dev.cel.expr.Value value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
} else {
valueBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
*/
public Builder setValue(
dev.cel.expr.Value.Builder builderForValue) {
if (valueBuilder_ == null) {
value_ = builderForValue.build();
} else {
valueBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
*/
public Builder mergeValue(dev.cel.expr.Value value) {
if (valueBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
value_ != null &&
value_ != dev.cel.expr.Value.getDefaultInstance()) {
getValueBuilder().mergeFrom(value);
} else {
value_ = value;
}
} else {
valueBuilder_.mergeFrom(value);
}
if (value_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = null;
if (valueBuilder_ != null) {
valueBuilder_.dispose();
valueBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
*/
public dev.cel.expr.Value.Builder getValueBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getValueFieldBuilder().getBuilder();
}
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
*/
public dev.cel.expr.ValueOrBuilder getValueOrBuilder() {
if (valueBuilder_ != null) {
return valueBuilder_.getMessageOrBuilder();
} else {
return value_ == null ?
dev.cel.expr.Value.getDefaultInstance() : value_;
}
}
/**
*
* The value.
*
*
* .cel.expr.Value value = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.Value, dev.cel.expr.Value.Builder, dev.cel.expr.ValueOrBuilder>
getValueFieldBuilder() {
if (valueBuilder_ == null) {
valueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
dev.cel.expr.Value, dev.cel.expr.Value.Builder, dev.cel.expr.ValueOrBuilder>(
getValue(),
getParentForChildren(),
isClean());
value_ = null;
}
return valueBuilder_;
}
// @@protoc_insertion_point(builder_scope:cel.expr.MapValue.Entry)
}
// @@protoc_insertion_point(class_scope:cel.expr.MapValue.Entry)
private static final dev.cel.expr.MapValue.Entry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new dev.cel.expr.MapValue.Entry();
}
public static dev.cel.expr.MapValue.Entry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Entry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public dev.cel.expr.MapValue.Entry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int ENTRIES_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List entries_;
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
@java.lang.Override
public java.util.List getEntriesList() {
return entries_;
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
@java.lang.Override
public java.util.List extends dev.cel.expr.MapValue.EntryOrBuilder>
getEntriesOrBuilderList() {
return entries_;
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
@java.lang.Override
public int getEntriesCount() {
return entries_.size();
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
@java.lang.Override
public dev.cel.expr.MapValue.Entry getEntries(int index) {
return entries_.get(index);
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
@java.lang.Override
public dev.cel.expr.MapValue.EntryOrBuilder getEntriesOrBuilder(
int index) {
return entries_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < entries_.size(); i++) {
output.writeMessage(1, entries_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < entries_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, entries_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof dev.cel.expr.MapValue)) {
return super.equals(obj);
}
dev.cel.expr.MapValue other = (dev.cel.expr.MapValue) obj;
if (!getEntriesList()
.equals(other.getEntriesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getEntriesCount() > 0) {
hash = (37 * hash) + ENTRIES_FIELD_NUMBER;
hash = (53 * hash) + getEntriesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static dev.cel.expr.MapValue parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static dev.cel.expr.MapValue parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static dev.cel.expr.MapValue parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static dev.cel.expr.MapValue parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static dev.cel.expr.MapValue parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static dev.cel.expr.MapValue parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static dev.cel.expr.MapValue parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static dev.cel.expr.MapValue parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static dev.cel.expr.MapValue parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static dev.cel.expr.MapValue parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static dev.cel.expr.MapValue parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static dev.cel.expr.MapValue parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(dev.cel.expr.MapValue prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* A map.
*
* Wrapped in a message so 'not set' and empty can be differentiated, which is
* required for use in a 'oneof'.
*
*
* Protobuf type {@code cel.expr.MapValue}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:cel.expr.MapValue)
dev.cel.expr.MapValueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return dev.cel.expr.ValueProto.internal_static_cel_expr_MapValue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return dev.cel.expr.ValueProto.internal_static_cel_expr_MapValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
dev.cel.expr.MapValue.class, dev.cel.expr.MapValue.Builder.class);
}
// Construct using dev.cel.expr.MapValue.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (entriesBuilder_ == null) {
entries_ = java.util.Collections.emptyList();
} else {
entries_ = null;
entriesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return dev.cel.expr.ValueProto.internal_static_cel_expr_MapValue_descriptor;
}
@java.lang.Override
public dev.cel.expr.MapValue getDefaultInstanceForType() {
return dev.cel.expr.MapValue.getDefaultInstance();
}
@java.lang.Override
public dev.cel.expr.MapValue build() {
dev.cel.expr.MapValue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public dev.cel.expr.MapValue buildPartial() {
dev.cel.expr.MapValue result = new dev.cel.expr.MapValue(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(dev.cel.expr.MapValue result) {
if (entriesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
entries_ = java.util.Collections.unmodifiableList(entries_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.entries_ = entries_;
} else {
result.entries_ = entriesBuilder_.build();
}
}
private void buildPartial0(dev.cel.expr.MapValue result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof dev.cel.expr.MapValue) {
return mergeFrom((dev.cel.expr.MapValue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(dev.cel.expr.MapValue other) {
if (other == dev.cel.expr.MapValue.getDefaultInstance()) return this;
if (entriesBuilder_ == null) {
if (!other.entries_.isEmpty()) {
if (entries_.isEmpty()) {
entries_ = other.entries_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEntriesIsMutable();
entries_.addAll(other.entries_);
}
onChanged();
}
} else {
if (!other.entries_.isEmpty()) {
if (entriesBuilder_.isEmpty()) {
entriesBuilder_.dispose();
entriesBuilder_ = null;
entries_ = other.entries_;
bitField0_ = (bitField0_ & ~0x00000001);
entriesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getEntriesFieldBuilder() : null;
} else {
entriesBuilder_.addAllMessages(other.entries_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
dev.cel.expr.MapValue.Entry m =
input.readMessage(
dev.cel.expr.MapValue.Entry.parser(),
extensionRegistry);
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.add(m);
} else {
entriesBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List entries_ =
java.util.Collections.emptyList();
private void ensureEntriesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
entries_ = new java.util.ArrayList(entries_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
dev.cel.expr.MapValue.Entry, dev.cel.expr.MapValue.Entry.Builder, dev.cel.expr.MapValue.EntryOrBuilder> entriesBuilder_;
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public java.util.List getEntriesList() {
if (entriesBuilder_ == null) {
return java.util.Collections.unmodifiableList(entries_);
} else {
return entriesBuilder_.getMessageList();
}
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public int getEntriesCount() {
if (entriesBuilder_ == null) {
return entries_.size();
} else {
return entriesBuilder_.getCount();
}
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public dev.cel.expr.MapValue.Entry getEntries(int index) {
if (entriesBuilder_ == null) {
return entries_.get(index);
} else {
return entriesBuilder_.getMessage(index);
}
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public Builder setEntries(
int index, dev.cel.expr.MapValue.Entry value) {
if (entriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
} else {
entriesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public Builder setEntries(
int index, dev.cel.expr.MapValue.Entry.Builder builderForValue) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.set(index, builderForValue.build());
onChanged();
} else {
entriesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public Builder addEntries(dev.cel.expr.MapValue.Entry value) {
if (entriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
} else {
entriesBuilder_.addMessage(value);
}
return this;
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public Builder addEntries(
int index, dev.cel.expr.MapValue.Entry value) {
if (entriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
} else {
entriesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public Builder addEntries(
dev.cel.expr.MapValue.Entry.Builder builderForValue) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.add(builderForValue.build());
onChanged();
} else {
entriesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public Builder addEntries(
int index, dev.cel.expr.MapValue.Entry.Builder builderForValue) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.add(index, builderForValue.build());
onChanged();
} else {
entriesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public Builder addAllEntries(
java.lang.Iterable extends dev.cel.expr.MapValue.Entry> values) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, entries_);
onChanged();
} else {
entriesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public Builder clearEntries() {
if (entriesBuilder_ == null) {
entries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
entriesBuilder_.clear();
}
return this;
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public Builder removeEntries(int index) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.remove(index);
onChanged();
} else {
entriesBuilder_.remove(index);
}
return this;
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public dev.cel.expr.MapValue.Entry.Builder getEntriesBuilder(
int index) {
return getEntriesFieldBuilder().getBuilder(index);
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public dev.cel.expr.MapValue.EntryOrBuilder getEntriesOrBuilder(
int index) {
if (entriesBuilder_ == null) {
return entries_.get(index); } else {
return entriesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public java.util.List extends dev.cel.expr.MapValue.EntryOrBuilder>
getEntriesOrBuilderList() {
if (entriesBuilder_ != null) {
return entriesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(entries_);
}
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public dev.cel.expr.MapValue.Entry.Builder addEntriesBuilder() {
return getEntriesFieldBuilder().addBuilder(
dev.cel.expr.MapValue.Entry.getDefaultInstance());
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public dev.cel.expr.MapValue.Entry.Builder addEntriesBuilder(
int index) {
return getEntriesFieldBuilder().addBuilder(
index, dev.cel.expr.MapValue.Entry.getDefaultInstance());
}
/**
*
* The set of map entries.
*
* CEL has fewer restrictions on keys, so a protobuf map representation
* cannot be used.
*
*
* repeated .cel.expr.MapValue.Entry entries = 1;
*/
public java.util.List
getEntriesBuilderList() {
return getEntriesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
dev.cel.expr.MapValue.Entry, dev.cel.expr.MapValue.Entry.Builder, dev.cel.expr.MapValue.EntryOrBuilder>
getEntriesFieldBuilder() {
if (entriesBuilder_ == null) {
entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
dev.cel.expr.MapValue.Entry, dev.cel.expr.MapValue.Entry.Builder, dev.cel.expr.MapValue.EntryOrBuilder>(
entries_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
entries_ = null;
}
return entriesBuilder_;
}
// @@protoc_insertion_point(builder_scope:cel.expr.MapValue)
}
// @@protoc_insertion_point(class_scope:cel.expr.MapValue)
private static final dev.cel.expr.MapValue DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new dev.cel.expr.MapValue();
}
public static dev.cel.expr.MapValue getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MapValue parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public dev.cel.expr.MapValue getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy