index
int64
repo_id
string
file_path
string
content
string
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetFeatureValuesResponse.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/feature_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * Protobuf type {@code chalk.engine.v2.GetFeatureValuesResponse} */ public final class GetFeatureValuesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.GetFeatureValuesResponse) GetFeatureValuesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetFeatureValuesResponse.newBuilder() to construct. private GetFeatureValuesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetFeatureValuesResponse() { nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetFeatureValuesResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse.class, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse.Builder.class); } private int payloadCase_ = 0; @SuppressWarnings("serial") private java.lang.Object payload_; public enum PayloadCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PARQUET(3), PAYLOAD_NOT_SET(0); private final int value; private PayloadCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PayloadCase valueOf(int value) { return forNumber(value); } public static PayloadCase forNumber(int value) { switch (value) { case 3: return PARQUET; case 0: return PAYLOAD_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public PayloadCase getPayloadCase() { return PayloadCase.forNumber( payloadCase_); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return The nextPageToken. */ @java.lang.Override public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return The bytes for nextPageToken. */ @java.lang.Override public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOTAL_SIZE_FIELD_NUMBER = 2; private int totalSize_ = 0; /** * <pre> * The number of results returned * </pre> * * <code>int32 total_size = 2 [json_name = "totalSize"];</code> * @return The totalSize. */ @java.lang.Override public int getTotalSize() { return totalSize_; } public static final int PARQUET_FIELD_NUMBER = 3; /** * <code>bytes parquet = 3 [json_name = "parquet"];</code> * @return Whether the parquet field is set. */ @java.lang.Override public boolean hasParquet() { return payloadCase_ == 3; } /** * <code>bytes parquet = 3 [json_name = "parquet"];</code> * @return The parquet. */ @java.lang.Override public com.google.protobuf.ByteString getParquet() { if (payloadCase_ == 3) { return (com.google.protobuf.ByteString) payload_; } return com.google.protobuf.ByteString.EMPTY; } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nextPageToken_); } if (totalSize_ != 0) { output.writeInt32(2, totalSize_); } if (payloadCase_ == 3) { output.writeBytes( 3, (com.google.protobuf.ByteString) payload_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, nextPageToken_); } if (totalSize_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, totalSize_); } if (payloadCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeBytesSize( 3, (com.google.protobuf.ByteString) payload_); } 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 ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse other = (ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse) obj; if (!getNextPageToken() .equals(other.getNextPageToken())) return false; if (getTotalSize() != other.getTotalSize()) return false; if (!getPayloadCase().equals(other.getPayloadCase())) return false; switch (payloadCase_) { case 3: if (!getParquet() .equals(other.getParquet())) return false; break; case 0: default: } 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(); hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (37 * hash) + TOTAL_SIZE_FIELD_NUMBER; hash = (53 * hash) + getTotalSize(); switch (payloadCase_) { case 3: hash = (37 * hash) + PARQUET_FIELD_NUMBER; hash = (53 * hash) + getParquet().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.engine.v2.GetFeatureValuesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.GetFeatureValuesResponse) ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse.class, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; nextPageToken_ = ""; totalSize_ = 0; payloadCase_ = 0; payload_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesResponse_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse build() { ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse buildPartial() { ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse result = new ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.nextPageToken_ = nextPageToken_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.totalSize_ = totalSize_; } } private void buildPartialOneofs(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse result) { result.payloadCase_ = payloadCase_; result.payload_ = this.payload_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse other) { if (other == ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse.getDefaultInstance()) return this; if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; bitField0_ |= 0x00000001; onChanged(); } if (other.getTotalSize() != 0) { setTotalSize(other.getTotalSize()); } switch (other.getPayloadCase()) { case PARQUET: { setParquet(other.getParquet()); break; } case PAYLOAD_NOT_SET: { break; } } 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: { nextPageToken_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { totalSize_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { payload_ = input.readBytes(); payloadCase_ = 3; break; } // case 26 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 payloadCase_ = 0; private java.lang.Object payload_; public PayloadCase getPayloadCase() { return PayloadCase.forNumber( payloadCase_); } public Builder clearPayload() { payloadCase_ = 0; payload_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object nextPageToken_ = ""; /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @param value The nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return This builder for chaining. */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private int totalSize_ ; /** * <pre> * The number of results returned * </pre> * * <code>int32 total_size = 2 [json_name = "totalSize"];</code> * @return The totalSize. */ @java.lang.Override public int getTotalSize() { return totalSize_; } /** * <pre> * The number of results returned * </pre> * * <code>int32 total_size = 2 [json_name = "totalSize"];</code> * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { totalSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <pre> * The number of results returned * </pre> * * <code>int32 total_size = 2 [json_name = "totalSize"];</code> * @return This builder for chaining. */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000002); totalSize_ = 0; onChanged(); return this; } /** * <code>bytes parquet = 3 [json_name = "parquet"];</code> * @return Whether the parquet field is set. */ public boolean hasParquet() { return payloadCase_ == 3; } /** * <code>bytes parquet = 3 [json_name = "parquet"];</code> * @return The parquet. */ public com.google.protobuf.ByteString getParquet() { if (payloadCase_ == 3) { return (com.google.protobuf.ByteString) payload_; } return com.google.protobuf.ByteString.EMPTY; } /** * <code>bytes parquet = 3 [json_name = "parquet"];</code> * @param value The parquet to set. * @return This builder for chaining. */ public Builder setParquet(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } payloadCase_ = 3; payload_ = value; onChanged(); return this; } /** * <code>bytes parquet = 3 [json_name = "parquet"];</code> * @return This builder for chaining. */ public Builder clearParquet() { if (payloadCase_ == 3) { payloadCase_ = 0; payload_ = null; onChanged(); } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.GetFeatureValuesResponse) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.GetFeatureValuesResponse) private static final ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse(); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetFeatureValuesResponse> PARSER = new com.google.protobuf.AbstractParser<GetFeatureValuesResponse>() { @java.lang.Override public GetFeatureValuesResponse 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<GetFeatureValuesResponse> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetFeatureValuesResponse> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetFeatureValuesResponseOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/feature_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface GetFeatureValuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.GetFeatureValuesResponse) com.google.protobuf.MessageOrBuilder { /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); /** * <pre> * The number of results returned * </pre> * * <code>int32 total_size = 2 [json_name = "totalSize"];</code> * @return The totalSize. */ int getTotalSize(); /** * <code>bytes parquet = 3 [json_name = "parquet"];</code> * @return Whether the parquet field is set. */ boolean hasParquet(); /** * <code>bytes parquet = 3 [json_name = "parquet"];</code> * @return The parquet. */ com.google.protobuf.ByteString getParquet(); ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse.PayloadCase getPayloadCase(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetFeatureValuesTimeSeriesChartRequest.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/feature_values_chart.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * Protobuf type {@code chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest} */ public final class GetFeatureValuesTimeSeriesChartRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest) GetFeatureValuesTimeSeriesChartRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetFeatureValuesTimeSeriesChartRequest.newBuilder() to construct. private GetFeatureValuesTimeSeriesChartRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetFeatureValuesTimeSeriesChartRequest() { title_ = ""; series_ = java.util.Collections.emptyList(); timeSeries_ = 0; groupBy_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetFeatureValuesTimeSeriesChartRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest.class, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest.Builder.class); } private int bitField0_; public static final int TITLE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object title_ = ""; /** * <code>optional string title = 1 [json_name = "title"];</code> * @return Whether the title field is set. */ @java.lang.Override public boolean hasTitle() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>optional string title = 1 [json_name = "title"];</code> * @return The title. */ @java.lang.Override public java.lang.String getTitle() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** * <code>optional string title = 1 [json_name = "title"];</code> * @return The bytes for title. */ @java.lang.Override public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); title_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SERIES_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.engine.v2.FeatureValueSeries> series_; /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v2.FeatureValueSeries> getSeriesList() { return series_; } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.engine.v2.FeatureValueSeriesOrBuilder> getSeriesOrBuilderList() { return series_; } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ @java.lang.Override public int getSeriesCount() { return series_.size(); } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueSeries getSeries(int index) { return series_.get(index); } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueSeriesOrBuilder getSeriesOrBuilder( int index) { return series_.get(index); } public static final int WINDOW_PERIOD_FIELD_NUMBER = 3; private com.google.protobuf.Duration windowPeriod_; /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> * @return Whether the windowPeriod field is set. */ @java.lang.Override public boolean hasWindowPeriod() { return ((bitField0_ & 0x00000002) != 0); } /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> * @return The windowPeriod. */ @java.lang.Override public com.google.protobuf.Duration getWindowPeriod() { return windowPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : windowPeriod_; } /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getWindowPeriodOrBuilder() { return windowPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : windowPeriod_; } public static final int START_TIMESTAMP_INCLUSIVE_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTimestampInclusive_; /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> * @return Whether the startTimestampInclusive field is set. */ @java.lang.Override public boolean hasStartTimestampInclusive() { return ((bitField0_ & 0x00000004) != 0); } /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> * @return The startTimestampInclusive. */ @java.lang.Override public com.google.protobuf.Timestamp getStartTimestampInclusive() { return startTimestampInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTimestampInclusive_; } /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimestampInclusiveOrBuilder() { return startTimestampInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTimestampInclusive_; } public static final int END_TIMESTAMP_EXCLUSIVE_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp endTimestampExclusive_; /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> * @return Whether the endTimestampExclusive field is set. */ @java.lang.Override public boolean hasEndTimestampExclusive() { return ((bitField0_ & 0x00000008) != 0); } /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> * @return The endTimestampExclusive. */ @java.lang.Override public com.google.protobuf.Timestamp getEndTimestampExclusive() { return endTimestampExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTimestampExclusive_; } /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimestampExclusiveOrBuilder() { return endTimestampExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTimestampExclusive_; } public static final int TIME_SERIES_FIELD_NUMBER = 6; private int timeSeries_ = 0; /** * <pre> * The dimension to use as the time series axis. Defaults to inserted_at if not specified * </pre> * * <code>optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];</code> * @return Whether the timeSeries field is set. */ @java.lang.Override public boolean hasTimeSeries() { return ((bitField0_ & 0x00000010) != 0); } /** * <pre> * The dimension to use as the time series axis. Defaults to inserted_at if not specified * </pre> * * <code>optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];</code> * @return The enum numeric value on the wire for timeSeries. */ @java.lang.Override public int getTimeSeriesValue() { return timeSeries_; } /** * <pre> * The dimension to use as the time series axis. Defaults to inserted_at if not specified * </pre> * * <code>optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];</code> * @return The timeSeries. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueTimeSeries getTimeSeries() { ai.chalk.protos.chalk.engine.v2.FeatureValueTimeSeries result = ai.chalk.protos.chalk.engine.v2.FeatureValueTimeSeries.forNumber(timeSeries_); return result == null ? ai.chalk.protos.chalk.engine.v2.FeatureValueTimeSeries.UNRECOGNIZED : result; } public static final int GROUP_BY_FIELD_NUMBER = 7; @SuppressWarnings("serial") private java.util.List<java.lang.Integer> groupBy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy> groupBy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy>() { public ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy convert(java.lang.Integer from) { ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy result = ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy.forNumber(from); return result == null ? ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy.UNRECOGNIZED : result; } }; /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @return A list containing the groupBy. */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy> getGroupByList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy>(groupBy_, groupBy_converter_); } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @return The count of groupBy. */ @java.lang.Override public int getGroupByCount() { return groupBy_.size(); } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @param index The index of the element to return. * @return The groupBy at the given index. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy getGroupBy(int index) { return groupBy_converter_.convert(groupBy_.get(index)); } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @return A list containing the enum numeric values on the wire for groupBy. */ @java.lang.Override public java.util.List<java.lang.Integer> getGroupByValueList() { return groupBy_; } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @param index The index of the value to return. * @return The enum numeric value on the wire of groupBy at the given index. */ @java.lang.Override public int getGroupByValue(int index) { return groupBy_.get(index); } private int groupByMemoizedSerializedSize; public static final int GROUP_BY_SERIES_LIMIT_FIELD_NUMBER = 8; private int groupBySeriesLimit_ = 0; /** * <pre> * The maximum number of series produced by the group by. * Important because some group bys are high cardinality (ex. value) * </pre> * * <code>optional int32 group_by_series_limit = 8 [json_name = "groupBySeriesLimit"];</code> * @return Whether the groupBySeriesLimit field is set. */ @java.lang.Override public boolean hasGroupBySeriesLimit() { return ((bitField0_ & 0x00000020) != 0); } /** * <pre> * The maximum number of series produced by the group by. * Important because some group bys are high cardinality (ex. value) * </pre> * * <code>optional int32 group_by_series_limit = 8 [json_name = "groupBySeriesLimit"];</code> * @return The groupBySeriesLimit. */ @java.lang.Override public int getGroupBySeriesLimit() { return groupBySeriesLimit_; } 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 { getSerializedSize(); if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_); } for (int i = 0; i < series_.size(); i++) { output.writeMessage(2, series_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getWindowPeriod()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getStartTimestampInclusive()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(5, getEndTimestampExclusive()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeEnum(6, timeSeries_); } if (getGroupByList().size() > 0) { output.writeUInt32NoTag(58); output.writeUInt32NoTag(groupByMemoizedSerializedSize); } for (int i = 0; i < groupBy_.size(); i++) { output.writeEnumNoTag(groupBy_.get(i)); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt32(8, groupBySeriesLimit_); } 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.GeneratedMessageV3.computeStringSize(1, title_); } for (int i = 0; i < series_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, series_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getWindowPeriod()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getStartTimestampInclusive()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getEndTimestampExclusive()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, timeSeries_); } { int dataSize = 0; for (int i = 0; i < groupBy_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(groupBy_.get(i)); } size += dataSize; if (!getGroupByList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSize); }groupByMemoizedSerializedSize = dataSize; } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, groupBySeriesLimit_); } 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 ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest other = (ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest) obj; if (hasTitle() != other.hasTitle()) return false; if (hasTitle()) { if (!getTitle() .equals(other.getTitle())) return false; } if (!getSeriesList() .equals(other.getSeriesList())) return false; if (hasWindowPeriod() != other.hasWindowPeriod()) return false; if (hasWindowPeriod()) { if (!getWindowPeriod() .equals(other.getWindowPeriod())) return false; } if (hasStartTimestampInclusive() != other.hasStartTimestampInclusive()) return false; if (hasStartTimestampInclusive()) { if (!getStartTimestampInclusive() .equals(other.getStartTimestampInclusive())) return false; } if (hasEndTimestampExclusive() != other.hasEndTimestampExclusive()) return false; if (hasEndTimestampExclusive()) { if (!getEndTimestampExclusive() .equals(other.getEndTimestampExclusive())) return false; } if (hasTimeSeries() != other.hasTimeSeries()) return false; if (hasTimeSeries()) { if (timeSeries_ != other.timeSeries_) return false; } if (!groupBy_.equals(other.groupBy_)) return false; if (hasGroupBySeriesLimit() != other.hasGroupBySeriesLimit()) return false; if (hasGroupBySeriesLimit()) { if (getGroupBySeriesLimit() != other.getGroupBySeriesLimit()) 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 (hasTitle()) { hash = (37 * hash) + TITLE_FIELD_NUMBER; hash = (53 * hash) + getTitle().hashCode(); } if (getSeriesCount() > 0) { hash = (37 * hash) + SERIES_FIELD_NUMBER; hash = (53 * hash) + getSeriesList().hashCode(); } if (hasWindowPeriod()) { hash = (37 * hash) + WINDOW_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getWindowPeriod().hashCode(); } if (hasStartTimestampInclusive()) { hash = (37 * hash) + START_TIMESTAMP_INCLUSIVE_FIELD_NUMBER; hash = (53 * hash) + getStartTimestampInclusive().hashCode(); } if (hasEndTimestampExclusive()) { hash = (37 * hash) + END_TIMESTAMP_EXCLUSIVE_FIELD_NUMBER; hash = (53 * hash) + getEndTimestampExclusive().hashCode(); } if (hasTimeSeries()) { hash = (37 * hash) + TIME_SERIES_FIELD_NUMBER; hash = (53 * hash) + timeSeries_; } if (getGroupByCount() > 0) { hash = (37 * hash) + GROUP_BY_FIELD_NUMBER; hash = (53 * hash) + groupBy_.hashCode(); } if (hasGroupBySeriesLimit()) { hash = (37 * hash) + GROUP_BY_SERIES_LIMIT_FIELD_NUMBER; hash = (53 * hash) + getGroupBySeriesLimit(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest) ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest.class, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSeriesFieldBuilder(); getWindowPeriodFieldBuilder(); getStartTimestampInclusiveFieldBuilder(); getEndTimestampExclusiveFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; title_ = ""; if (seriesBuilder_ == null) { series_ = java.util.Collections.emptyList(); } else { series_ = null; seriesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); windowPeriod_ = null; if (windowPeriodBuilder_ != null) { windowPeriodBuilder_.dispose(); windowPeriodBuilder_ = null; } startTimestampInclusive_ = null; if (startTimestampInclusiveBuilder_ != null) { startTimestampInclusiveBuilder_.dispose(); startTimestampInclusiveBuilder_ = null; } endTimestampExclusive_ = null; if (endTimestampExclusiveBuilder_ != null) { endTimestampExclusiveBuilder_.dispose(); endTimestampExclusiveBuilder_ = null; } timeSeries_ = 0; groupBy_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); groupBySeriesLimit_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartRequest_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest build() { ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest buildPartial() { ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest result = new ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest result) { if (seriesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { series_ = java.util.Collections.unmodifiableList(series_); bitField0_ = (bitField0_ & ~0x00000002); } result.series_ = series_; } else { result.series_ = seriesBuilder_.build(); } if (((bitField0_ & 0x00000040) != 0)) { groupBy_ = java.util.Collections.unmodifiableList(groupBy_); bitField0_ = (bitField0_ & ~0x00000040); } result.groupBy_ = groupBy_; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.title_ = title_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.windowPeriod_ = windowPeriodBuilder_ == null ? windowPeriod_ : windowPeriodBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.startTimestampInclusive_ = startTimestampInclusiveBuilder_ == null ? startTimestampInclusive_ : startTimestampInclusiveBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { result.endTimestampExclusive_ = endTimestampExclusiveBuilder_ == null ? endTimestampExclusive_ : endTimestampExclusiveBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { result.timeSeries_ = timeSeries_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000080) != 0)) { result.groupBySeriesLimit_ = groupBySeriesLimit_; to_bitField0_ |= 0x00000020; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest other) { if (other == ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest.getDefaultInstance()) return this; if (other.hasTitle()) { title_ = other.title_; bitField0_ |= 0x00000001; onChanged(); } if (seriesBuilder_ == null) { if (!other.series_.isEmpty()) { if (series_.isEmpty()) { series_ = other.series_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSeriesIsMutable(); series_.addAll(other.series_); } onChanged(); } } else { if (!other.series_.isEmpty()) { if (seriesBuilder_.isEmpty()) { seriesBuilder_.dispose(); seriesBuilder_ = null; series_ = other.series_; bitField0_ = (bitField0_ & ~0x00000002); seriesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSeriesFieldBuilder() : null; } else { seriesBuilder_.addAllMessages(other.series_); } } } if (other.hasWindowPeriod()) { mergeWindowPeriod(other.getWindowPeriod()); } if (other.hasStartTimestampInclusive()) { mergeStartTimestampInclusive(other.getStartTimestampInclusive()); } if (other.hasEndTimestampExclusive()) { mergeEndTimestampExclusive(other.getEndTimestampExclusive()); } if (other.hasTimeSeries()) { setTimeSeries(other.getTimeSeries()); } if (!other.groupBy_.isEmpty()) { if (groupBy_.isEmpty()) { groupBy_ = other.groupBy_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureGroupByIsMutable(); groupBy_.addAll(other.groupBy_); } onChanged(); } if (other.hasGroupBySeriesLimit()) { setGroupBySeriesLimit(other.getGroupBySeriesLimit()); } 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: { title_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { ai.chalk.protos.chalk.engine.v2.FeatureValueSeries m = input.readMessage( ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.parser(), extensionRegistry); if (seriesBuilder_ == null) { ensureSeriesIsMutable(); series_.add(m); } else { seriesBuilder_.addMessage(m); } break; } // case 18 case 26: { input.readMessage( getWindowPeriodFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getStartTimestampInclusiveFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( getEndTimestampExclusiveFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 48: { timeSeries_ = input.readEnum(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { int tmpRaw = input.readEnum(); ensureGroupByIsMutable(); groupBy_.add(tmpRaw); break; } // case 56 case 58: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureGroupByIsMutable(); groupBy_.add(tmpRaw); } input.popLimit(oldLimit); break; } // case 58 case 64: { groupBySeriesLimit_ = input.readInt32(); bitField0_ |= 0x00000080; break; } // case 64 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.lang.Object title_ = ""; /** * <code>optional string title = 1 [json_name = "title"];</code> * @return Whether the title field is set. */ public boolean hasTitle() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>optional string title = 1 [json_name = "title"];</code> * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string title = 1 [json_name = "title"];</code> * @return The bytes for title. */ public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); title_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string title = 1 [json_name = "title"];</code> * @param value The title to set. * @return This builder for chaining. */ public Builder setTitle( java.lang.String value) { if (value == null) { throw new NullPointerException(); } title_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>optional string title = 1 [json_name = "title"];</code> * @return This builder for chaining. */ public Builder clearTitle() { title_ = getDefaultInstance().getTitle(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>optional string title = 1 [json_name = "title"];</code> * @param value The bytes for title to set. * @return This builder for chaining. */ public Builder setTitleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); title_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.util.List<ai.chalk.protos.chalk.engine.v2.FeatureValueSeries> series_ = java.util.Collections.emptyList(); private void ensureSeriesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { series_ = new java.util.ArrayList<ai.chalk.protos.chalk.engine.v2.FeatureValueSeries>(series_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.FeatureValueSeries, ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.Builder, ai.chalk.protos.chalk.engine.v2.FeatureValueSeriesOrBuilder> seriesBuilder_; /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v2.FeatureValueSeries> getSeriesList() { if (seriesBuilder_ == null) { return java.util.Collections.unmodifiableList(series_); } else { return seriesBuilder_.getMessageList(); } } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public int getSeriesCount() { if (seriesBuilder_ == null) { return series_.size(); } else { return seriesBuilder_.getCount(); } } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public ai.chalk.protos.chalk.engine.v2.FeatureValueSeries getSeries(int index) { if (seriesBuilder_ == null) { return series_.get(index); } else { return seriesBuilder_.getMessage(index); } } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public Builder setSeries( int index, ai.chalk.protos.chalk.engine.v2.FeatureValueSeries value) { if (seriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSeriesIsMutable(); series_.set(index, value); onChanged(); } else { seriesBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public Builder setSeries( int index, ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.Builder builderForValue) { if (seriesBuilder_ == null) { ensureSeriesIsMutable(); series_.set(index, builderForValue.build()); onChanged(); } else { seriesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public Builder addSeries(ai.chalk.protos.chalk.engine.v2.FeatureValueSeries value) { if (seriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSeriesIsMutable(); series_.add(value); onChanged(); } else { seriesBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public Builder addSeries( int index, ai.chalk.protos.chalk.engine.v2.FeatureValueSeries value) { if (seriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSeriesIsMutable(); series_.add(index, value); onChanged(); } else { seriesBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public Builder addSeries( ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.Builder builderForValue) { if (seriesBuilder_ == null) { ensureSeriesIsMutable(); series_.add(builderForValue.build()); onChanged(); } else { seriesBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public Builder addSeries( int index, ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.Builder builderForValue) { if (seriesBuilder_ == null) { ensureSeriesIsMutable(); series_.add(index, builderForValue.build()); onChanged(); } else { seriesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public Builder addAllSeries( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v2.FeatureValueSeries> values) { if (seriesBuilder_ == null) { ensureSeriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, series_); onChanged(); } else { seriesBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public Builder clearSeries() { if (seriesBuilder_ == null) { series_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { seriesBuilder_.clear(); } return this; } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public Builder removeSeries(int index) { if (seriesBuilder_ == null) { ensureSeriesIsMutable(); series_.remove(index); onChanged(); } else { seriesBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.Builder getSeriesBuilder( int index) { return getSeriesFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public ai.chalk.protos.chalk.engine.v2.FeatureValueSeriesOrBuilder getSeriesOrBuilder( int index) { if (seriesBuilder_ == null) { return series_.get(index); } else { return seriesBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.engine.v2.FeatureValueSeriesOrBuilder> getSeriesOrBuilderList() { if (seriesBuilder_ != null) { return seriesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(series_); } } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.Builder addSeriesBuilder() { return getSeriesFieldBuilder().addBuilder( ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.Builder addSeriesBuilder( int index) { return getSeriesFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.Builder> getSeriesBuilderList() { return getSeriesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.FeatureValueSeries, ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.Builder, ai.chalk.protos.chalk.engine.v2.FeatureValueSeriesOrBuilder> getSeriesFieldBuilder() { if (seriesBuilder_ == null) { seriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.FeatureValueSeries, ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.Builder, ai.chalk.protos.chalk.engine.v2.FeatureValueSeriesOrBuilder>( series_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); series_ = null; } return seriesBuilder_; } private com.google.protobuf.Duration windowPeriod_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> windowPeriodBuilder_; /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> * @return Whether the windowPeriod field is set. */ public boolean hasWindowPeriod() { return ((bitField0_ & 0x00000004) != 0); } /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> * @return The windowPeriod. */ public com.google.protobuf.Duration getWindowPeriod() { if (windowPeriodBuilder_ == null) { return windowPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : windowPeriod_; } else { return windowPeriodBuilder_.getMessage(); } } /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> */ public Builder setWindowPeriod(com.google.protobuf.Duration value) { if (windowPeriodBuilder_ == null) { if (value == null) { throw new NullPointerException(); } windowPeriod_ = value; } else { windowPeriodBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> */ public Builder setWindowPeriod( com.google.protobuf.Duration.Builder builderForValue) { if (windowPeriodBuilder_ == null) { windowPeriod_ = builderForValue.build(); } else { windowPeriodBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> */ public Builder mergeWindowPeriod(com.google.protobuf.Duration value) { if (windowPeriodBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && windowPeriod_ != null && windowPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { getWindowPeriodBuilder().mergeFrom(value); } else { windowPeriod_ = value; } } else { windowPeriodBuilder_.mergeFrom(value); } if (windowPeriod_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> */ public Builder clearWindowPeriod() { bitField0_ = (bitField0_ & ~0x00000004); windowPeriod_ = null; if (windowPeriodBuilder_ != null) { windowPeriodBuilder_.dispose(); windowPeriodBuilder_ = null; } onChanged(); return this; } /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> */ public com.google.protobuf.Duration.Builder getWindowPeriodBuilder() { bitField0_ |= 0x00000004; onChanged(); return getWindowPeriodFieldBuilder().getBuilder(); } /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> */ public com.google.protobuf.DurationOrBuilder getWindowPeriodOrBuilder() { if (windowPeriodBuilder_ != null) { return windowPeriodBuilder_.getMessageOrBuilder(); } else { return windowPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : windowPeriod_; } } /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getWindowPeriodFieldBuilder() { if (windowPeriodBuilder_ == null) { windowPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getWindowPeriod(), getParentForChildren(), isClean()); windowPeriod_ = null; } return windowPeriodBuilder_; } private com.google.protobuf.Timestamp startTimestampInclusive_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimestampInclusiveBuilder_; /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> * @return Whether the startTimestampInclusive field is set. */ public boolean hasStartTimestampInclusive() { return ((bitField0_ & 0x00000008) != 0); } /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> * @return The startTimestampInclusive. */ public com.google.protobuf.Timestamp getStartTimestampInclusive() { if (startTimestampInclusiveBuilder_ == null) { return startTimestampInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTimestampInclusive_; } else { return startTimestampInclusiveBuilder_.getMessage(); } } /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> */ public Builder setStartTimestampInclusive(com.google.protobuf.Timestamp value) { if (startTimestampInclusiveBuilder_ == null) { if (value == null) { throw new NullPointerException(); } startTimestampInclusive_ = value; } else { startTimestampInclusiveBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> */ public Builder setStartTimestampInclusive( com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimestampInclusiveBuilder_ == null) { startTimestampInclusive_ = builderForValue.build(); } else { startTimestampInclusiveBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> */ public Builder mergeStartTimestampInclusive(com.google.protobuf.Timestamp value) { if (startTimestampInclusiveBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && startTimestampInclusive_ != null && startTimestampInclusive_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimestampInclusiveBuilder().mergeFrom(value); } else { startTimestampInclusive_ = value; } } else { startTimestampInclusiveBuilder_.mergeFrom(value); } if (startTimestampInclusive_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> */ public Builder clearStartTimestampInclusive() { bitField0_ = (bitField0_ & ~0x00000008); startTimestampInclusive_ = null; if (startTimestampInclusiveBuilder_ != null) { startTimestampInclusiveBuilder_.dispose(); startTimestampInclusiveBuilder_ = null; } onChanged(); return this; } /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> */ public com.google.protobuf.Timestamp.Builder getStartTimestampInclusiveBuilder() { bitField0_ |= 0x00000008; onChanged(); return getStartTimestampInclusiveFieldBuilder().getBuilder(); } /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> */ public com.google.protobuf.TimestampOrBuilder getStartTimestampInclusiveOrBuilder() { if (startTimestampInclusiveBuilder_ != null) { return startTimestampInclusiveBuilder_.getMessageOrBuilder(); } else { return startTimestampInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTimestampInclusive_; } } /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimestampInclusiveFieldBuilder() { if (startTimestampInclusiveBuilder_ == null) { startTimestampInclusiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStartTimestampInclusive(), getParentForChildren(), isClean()); startTimestampInclusive_ = null; } return startTimestampInclusiveBuilder_; } private com.google.protobuf.Timestamp endTimestampExclusive_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimestampExclusiveBuilder_; /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> * @return Whether the endTimestampExclusive field is set. */ public boolean hasEndTimestampExclusive() { return ((bitField0_ & 0x00000010) != 0); } /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> * @return The endTimestampExclusive. */ public com.google.protobuf.Timestamp getEndTimestampExclusive() { if (endTimestampExclusiveBuilder_ == null) { return endTimestampExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTimestampExclusive_; } else { return endTimestampExclusiveBuilder_.getMessage(); } } /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> */ public Builder setEndTimestampExclusive(com.google.protobuf.Timestamp value) { if (endTimestampExclusiveBuilder_ == null) { if (value == null) { throw new NullPointerException(); } endTimestampExclusive_ = value; } else { endTimestampExclusiveBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> */ public Builder setEndTimestampExclusive( com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimestampExclusiveBuilder_ == null) { endTimestampExclusive_ = builderForValue.build(); } else { endTimestampExclusiveBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> */ public Builder mergeEndTimestampExclusive(com.google.protobuf.Timestamp value) { if (endTimestampExclusiveBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && endTimestampExclusive_ != null && endTimestampExclusive_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimestampExclusiveBuilder().mergeFrom(value); } else { endTimestampExclusive_ = value; } } else { endTimestampExclusiveBuilder_.mergeFrom(value); } if (endTimestampExclusive_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> */ public Builder clearEndTimestampExclusive() { bitField0_ = (bitField0_ & ~0x00000010); endTimestampExclusive_ = null; if (endTimestampExclusiveBuilder_ != null) { endTimestampExclusiveBuilder_.dispose(); endTimestampExclusiveBuilder_ = null; } onChanged(); return this; } /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> */ public com.google.protobuf.Timestamp.Builder getEndTimestampExclusiveBuilder() { bitField0_ |= 0x00000010; onChanged(); return getEndTimestampExclusiveFieldBuilder().getBuilder(); } /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> */ public com.google.protobuf.TimestampOrBuilder getEndTimestampExclusiveOrBuilder() { if (endTimestampExclusiveBuilder_ != null) { return endTimestampExclusiveBuilder_.getMessageOrBuilder(); } else { return endTimestampExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTimestampExclusive_; } } /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimestampExclusiveFieldBuilder() { if (endTimestampExclusiveBuilder_ == null) { endTimestampExclusiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getEndTimestampExclusive(), getParentForChildren(), isClean()); endTimestampExclusive_ = null; } return endTimestampExclusiveBuilder_; } private int timeSeries_ = 0; /** * <pre> * The dimension to use as the time series axis. Defaults to inserted_at if not specified * </pre> * * <code>optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];</code> * @return Whether the timeSeries field is set. */ @java.lang.Override public boolean hasTimeSeries() { return ((bitField0_ & 0x00000020) != 0); } /** * <pre> * The dimension to use as the time series axis. Defaults to inserted_at if not specified * </pre> * * <code>optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];</code> * @return The enum numeric value on the wire for timeSeries. */ @java.lang.Override public int getTimeSeriesValue() { return timeSeries_; } /** * <pre> * The dimension to use as the time series axis. Defaults to inserted_at if not specified * </pre> * * <code>optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];</code> * @param value The enum numeric value on the wire for timeSeries to set. * @return This builder for chaining. */ public Builder setTimeSeriesValue(int value) { timeSeries_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * <pre> * The dimension to use as the time series axis. Defaults to inserted_at if not specified * </pre> * * <code>optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];</code> * @return The timeSeries. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueTimeSeries getTimeSeries() { ai.chalk.protos.chalk.engine.v2.FeatureValueTimeSeries result = ai.chalk.protos.chalk.engine.v2.FeatureValueTimeSeries.forNumber(timeSeries_); return result == null ? ai.chalk.protos.chalk.engine.v2.FeatureValueTimeSeries.UNRECOGNIZED : result; } /** * <pre> * The dimension to use as the time series axis. Defaults to inserted_at if not specified * </pre> * * <code>optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];</code> * @param value The timeSeries to set. * @return This builder for chaining. */ public Builder setTimeSeries(ai.chalk.protos.chalk.engine.v2.FeatureValueTimeSeries value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; timeSeries_ = value.getNumber(); onChanged(); return this; } /** * <pre> * The dimension to use as the time series axis. Defaults to inserted_at if not specified * </pre> * * <code>optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];</code> * @return This builder for chaining. */ public Builder clearTimeSeries() { bitField0_ = (bitField0_ & ~0x00000020); timeSeries_ = 0; onChanged(); return this; } private java.util.List<java.lang.Integer> groupBy_ = java.util.Collections.emptyList(); private void ensureGroupByIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { groupBy_ = new java.util.ArrayList<java.lang.Integer>(groupBy_); bitField0_ |= 0x00000040; } } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @return A list containing the groupBy. */ public java.util.List<ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy> getGroupByList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy>(groupBy_, groupBy_converter_); } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @return The count of groupBy. */ public int getGroupByCount() { return groupBy_.size(); } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @param index The index of the element to return. * @return The groupBy at the given index. */ public ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy getGroupBy(int index) { return groupBy_converter_.convert(groupBy_.get(index)); } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @param index The index to set the value at. * @param value The groupBy to set. * @return This builder for chaining. */ public Builder setGroupBy( int index, ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy value) { if (value == null) { throw new NullPointerException(); } ensureGroupByIsMutable(); groupBy_.set(index, value.getNumber()); onChanged(); return this; } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @param value The groupBy to add. * @return This builder for chaining. */ public Builder addGroupBy(ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy value) { if (value == null) { throw new NullPointerException(); } ensureGroupByIsMutable(); groupBy_.add(value.getNumber()); onChanged(); return this; } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @param values The groupBy to add. * @return This builder for chaining. */ public Builder addAllGroupBy( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy> values) { ensureGroupByIsMutable(); for (ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy value : values) { groupBy_.add(value.getNumber()); } onChanged(); return this; } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @return This builder for chaining. */ public Builder clearGroupBy() { groupBy_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @return A list containing the enum numeric values on the wire for groupBy. */ public java.util.List<java.lang.Integer> getGroupByValueList() { return java.util.Collections.unmodifiableList(groupBy_); } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @param index The index of the value to return. * @return The enum numeric value on the wire of groupBy at the given index. */ public int getGroupByValue(int index) { return groupBy_.get(index); } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @param index The index to set the value at. * @param value The enum numeric value on the wire for groupBy to set. * @return This builder for chaining. */ public Builder setGroupByValue( int index, int value) { ensureGroupByIsMutable(); groupBy_.set(index, value); onChanged(); return this; } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @param value The enum numeric value on the wire for groupBy to add. * @return This builder for chaining. */ public Builder addGroupByValue(int value) { ensureGroupByIsMutable(); groupBy_.add(value); onChanged(); return this; } /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @param values The enum numeric values on the wire for groupBy to add. * @return This builder for chaining. */ public Builder addAllGroupByValue( java.lang.Iterable<java.lang.Integer> values) { ensureGroupByIsMutable(); for (int value : values) { groupBy_.add(value); } onChanged(); return this; } private int groupBySeriesLimit_ ; /** * <pre> * The maximum number of series produced by the group by. * Important because some group bys are high cardinality (ex. value) * </pre> * * <code>optional int32 group_by_series_limit = 8 [json_name = "groupBySeriesLimit"];</code> * @return Whether the groupBySeriesLimit field is set. */ @java.lang.Override public boolean hasGroupBySeriesLimit() { return ((bitField0_ & 0x00000080) != 0); } /** * <pre> * The maximum number of series produced by the group by. * Important because some group bys are high cardinality (ex. value) * </pre> * * <code>optional int32 group_by_series_limit = 8 [json_name = "groupBySeriesLimit"];</code> * @return The groupBySeriesLimit. */ @java.lang.Override public int getGroupBySeriesLimit() { return groupBySeriesLimit_; } /** * <pre> * The maximum number of series produced by the group by. * Important because some group bys are high cardinality (ex. value) * </pre> * * <code>optional int32 group_by_series_limit = 8 [json_name = "groupBySeriesLimit"];</code> * @param value The groupBySeriesLimit to set. * @return This builder for chaining. */ public Builder setGroupBySeriesLimit(int value) { groupBySeriesLimit_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** * <pre> * The maximum number of series produced by the group by. * Important because some group bys are high cardinality (ex. value) * </pre> * * <code>optional int32 group_by_series_limit = 8 [json_name = "groupBySeriesLimit"];</code> * @return This builder for chaining. */ public Builder clearGroupBySeriesLimit() { bitField0_ = (bitField0_ & ~0x00000080); groupBySeriesLimit_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest) private static final ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest(); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetFeatureValuesTimeSeriesChartRequest> PARSER = new com.google.protobuf.AbstractParser<GetFeatureValuesTimeSeriesChartRequest>() { @java.lang.Override public GetFeatureValuesTimeSeriesChartRequest 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<GetFeatureValuesTimeSeriesChartRequest> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetFeatureValuesTimeSeriesChartRequest> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetFeatureValuesTimeSeriesChartRequestOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/feature_values_chart.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface GetFeatureValuesTimeSeriesChartRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest) com.google.protobuf.MessageOrBuilder { /** * <code>optional string title = 1 [json_name = "title"];</code> * @return Whether the title field is set. */ boolean hasTitle(); /** * <code>optional string title = 1 [json_name = "title"];</code> * @return The title. */ java.lang.String getTitle(); /** * <code>optional string title = 1 [json_name = "title"];</code> * @return The bytes for title. */ com.google.protobuf.ByteString getTitleBytes(); /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ java.util.List<ai.chalk.protos.chalk.engine.v2.FeatureValueSeries> getSeriesList(); /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ ai.chalk.protos.chalk.engine.v2.FeatureValueSeries getSeries(int index); /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ int getSeriesCount(); /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.engine.v2.FeatureValueSeriesOrBuilder> getSeriesOrBuilderList(); /** * <code>repeated .chalk.engine.v2.FeatureValueSeries series = 2 [json_name = "series"];</code> */ ai.chalk.protos.chalk.engine.v2.FeatureValueSeriesOrBuilder getSeriesOrBuilder( int index); /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> * @return Whether the windowPeriod field is set. */ boolean hasWindowPeriod(); /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> * @return The windowPeriod. */ com.google.protobuf.Duration getWindowPeriod(); /** * <pre> * The size of each time bucket + how far apart time points are in the chart * Ideally a divisor of the total window between end and start ms * If not, the bucket aligned with end_timestamp_exclusive will be of size total_window % window_period * For JSON format, this is a string `${duration_in_seconds}s` * </pre> * * <code>.google.protobuf.Duration window_period = 3 [json_name = "windowPeriod"];</code> */ com.google.protobuf.DurationOrBuilder getWindowPeriodOrBuilder(); /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> * @return Whether the startTimestampInclusive field is set. */ boolean hasStartTimestampInclusive(); /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> * @return The startTimestampInclusive. */ com.google.protobuf.Timestamp getStartTimestampInclusive(); /** * <code>.google.protobuf.Timestamp start_timestamp_inclusive = 4 [json_name = "startTimestampInclusive"];</code> */ com.google.protobuf.TimestampOrBuilder getStartTimestampInclusiveOrBuilder(); /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> * @return Whether the endTimestampExclusive field is set. */ boolean hasEndTimestampExclusive(); /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> * @return The endTimestampExclusive. */ com.google.protobuf.Timestamp getEndTimestampExclusive(); /** * <pre> * If not provided, will assume current time is the ending time * </pre> * * <code>optional .google.protobuf.Timestamp end_timestamp_exclusive = 5 [json_name = "endTimestampExclusive"];</code> */ com.google.protobuf.TimestampOrBuilder getEndTimestampExclusiveOrBuilder(); /** * <pre> * The dimension to use as the time series axis. Defaults to inserted_at if not specified * </pre> * * <code>optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];</code> * @return Whether the timeSeries field is set. */ boolean hasTimeSeries(); /** * <pre> * The dimension to use as the time series axis. Defaults to inserted_at if not specified * </pre> * * <code>optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];</code> * @return The enum numeric value on the wire for timeSeries. */ int getTimeSeriesValue(); /** * <pre> * The dimension to use as the time series axis. Defaults to inserted_at if not specified * </pre> * * <code>optional .chalk.engine.v2.FeatureValueTimeSeries time_series = 6 [json_name = "timeSeries"];</code> * @return The timeSeries. */ ai.chalk.protos.chalk.engine.v2.FeatureValueTimeSeries getTimeSeries(); /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @return A list containing the groupBy. */ java.util.List<ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy> getGroupByList(); /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @return The count of groupBy. */ int getGroupByCount(); /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @param index The index of the element to return. * @return The groupBy at the given index. */ ai.chalk.protos.chalk.engine.v2.FeatureValueGroupBy getGroupBy(int index); /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @return A list containing the enum numeric values on the wire for groupBy. */ java.util.List<java.lang.Integer> getGroupByValueList(); /** * <pre> * The group bys to apply to this chart. Multiple group bys may produce high #'s of axes. * </pre> * * <code>repeated .chalk.engine.v2.FeatureValueGroupBy group_by = 7 [json_name = "groupBy"];</code> * @param index The index of the value to return. * @return The enum numeric value on the wire of groupBy at the given index. */ int getGroupByValue(int index); /** * <pre> * The maximum number of series produced by the group by. * Important because some group bys are high cardinality (ex. value) * </pre> * * <code>optional int32 group_by_series_limit = 8 [json_name = "groupBySeriesLimit"];</code> * @return Whether the groupBySeriesLimit field is set. */ boolean hasGroupBySeriesLimit(); /** * <pre> * The maximum number of series produced by the group by. * Important because some group bys are high cardinality (ex. value) * </pre> * * <code>optional int32 group_by_series_limit = 8 [json_name = "groupBySeriesLimit"];</code> * @return The groupBySeriesLimit. */ int getGroupBySeriesLimit(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetFeatureValuesTimeSeriesChartResponse.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/feature_values_chart.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * Protobuf type {@code chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse} */ public final class GetFeatureValuesTimeSeriesChartResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse) GetFeatureValuesTimeSeriesChartResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetFeatureValuesTimeSeriesChartResponse.newBuilder() to construct. private GetFeatureValuesTimeSeriesChartResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetFeatureValuesTimeSeriesChartResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetFeatureValuesTimeSeriesChartResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse.class, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse.Builder.class); } private int bitField0_; public static final int CHART_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart chart_; /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> * @return Whether the chart field is set. */ @java.lang.Override public boolean hasChart() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> * @return The chart. */ @java.lang.Override public ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart getChart() { return chart_ == null ? ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart.getDefaultInstance() : chart_; } /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChartOrBuilder getChartOrBuilder() { return chart_ == null ? ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart.getDefaultInstance() : chart_; } 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, getChart()); } 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, getChart()); } 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 ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse other = (ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse) obj; if (hasChart() != other.hasChart()) return false; if (hasChart()) { if (!getChart() .equals(other.getChart())) 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 (hasChart()) { hash = (37 * hash) + CHART_FIELD_NUMBER; hash = (53 * hash) + getChart().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse) ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse.class, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getChartFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; chart_ = null; if (chartBuilder_ != null) { chartBuilder_.dispose(); chartBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartResponse_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse build() { ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse buildPartial() { ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse result = new ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.chart_ = chartBuilder_ == null ? chart_ : chartBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse other) { if (other == ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse.getDefaultInstance()) return this; if (other.hasChart()) { mergeChart(other.getChart()); } 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( getChartFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; 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 ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart chart_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart, ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart.Builder, ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChartOrBuilder> chartBuilder_; /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> * @return Whether the chart field is set. */ public boolean hasChart() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> * @return The chart. */ public ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart getChart() { if (chartBuilder_ == null) { return chart_ == null ? ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart.getDefaultInstance() : chart_; } else { return chartBuilder_.getMessage(); } } /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> */ public Builder setChart(ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart value) { if (chartBuilder_ == null) { if (value == null) { throw new NullPointerException(); } chart_ = value; } else { chartBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> */ public Builder setChart( ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart.Builder builderForValue) { if (chartBuilder_ == null) { chart_ = builderForValue.build(); } else { chartBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> */ public Builder mergeChart(ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart value) { if (chartBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && chart_ != null && chart_ != ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart.getDefaultInstance()) { getChartBuilder().mergeFrom(value); } else { chart_ = value; } } else { chartBuilder_.mergeFrom(value); } if (chart_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> */ public Builder clearChart() { bitField0_ = (bitField0_ & ~0x00000001); chart_ = null; if (chartBuilder_ != null) { chartBuilder_.dispose(); chartBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> */ public ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart.Builder getChartBuilder() { bitField0_ |= 0x00000001; onChanged(); return getChartFieldBuilder().getBuilder(); } /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> */ public ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChartOrBuilder getChartOrBuilder() { if (chartBuilder_ != null) { return chartBuilder_.getMessageOrBuilder(); } else { return chart_ == null ? ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart.getDefaultInstance() : chart_; } } /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart, ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart.Builder, ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChartOrBuilder> getChartFieldBuilder() { if (chartBuilder_ == null) { chartBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart, ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart.Builder, ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChartOrBuilder>( getChart(), getParentForChildren(), isClean()); chart_ = null; } return chartBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse) private static final ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse(); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetFeatureValuesTimeSeriesChartResponse> PARSER = new com.google.protobuf.AbstractParser<GetFeatureValuesTimeSeriesChartResponse>() { @java.lang.Override public GetFeatureValuesTimeSeriesChartResponse 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<GetFeatureValuesTimeSeriesChartResponse> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetFeatureValuesTimeSeriesChartResponse> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetFeatureValuesTimeSeriesChartResponseOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/feature_values_chart.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface GetFeatureValuesTimeSeriesChartResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> * @return Whether the chart field is set. */ boolean hasChart(); /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> * @return The chart. */ ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChart getChart(); /** * <code>.chalk.chart.v1.DenseTimeSeriesChart chart = 1 [json_name = "chart"];</code> */ ai.chalk.protos.chalk.chart.v1.DenseTimeSeriesChartOrBuilder getChartOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetQueryLogEntriesPageToken.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * <pre> * Internal protobuf representing a next page token. Contains the operation id and the query timestamp for the last row * in the previous batch. Results are sorted query timestamp then by operation id lexicographically, so this is all we * need to know where the next page begins * </pre> * * Protobuf type {@code chalk.engine.v2.GetQueryLogEntriesPageToken} */ public final class GetQueryLogEntriesPageToken extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.GetQueryLogEntriesPageToken) GetQueryLogEntriesPageTokenOrBuilder { private static final long serialVersionUID = 0L; // Use GetQueryLogEntriesPageToken.newBuilder() to construct. private GetQueryLogEntriesPageToken(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetQueryLogEntriesPageToken() { operationIdHwm_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetQueryLogEntriesPageToken(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesPageToken_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesPageToken_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken.class, ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken.Builder.class); } private int bitField0_; public static final int OPERATION_ID_HWM_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object operationIdHwm_ = ""; /** * <code>string operation_id_hwm = 1 [json_name = "operationIdHwm"];</code> * @return The operationIdHwm. */ @java.lang.Override public java.lang.String getOperationIdHwm() { java.lang.Object ref = operationIdHwm_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationIdHwm_ = s; return s; } } /** * <code>string operation_id_hwm = 1 [json_name = "operationIdHwm"];</code> * @return The bytes for operationIdHwm. */ @java.lang.Override public com.google.protobuf.ByteString getOperationIdHwmBytes() { java.lang.Object ref = operationIdHwm_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationIdHwm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUERY_TIMESTAMP_HWM_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp queryTimestampHwm_; /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> * @return Whether the queryTimestampHwm field is set. */ @java.lang.Override public boolean hasQueryTimestampHwm() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> * @return The queryTimestampHwm. */ @java.lang.Override public com.google.protobuf.Timestamp getQueryTimestampHwm() { return queryTimestampHwm_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampHwm_; } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getQueryTimestampHwmOrBuilder() { return queryTimestampHwm_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampHwm_; } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationIdHwm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, operationIdHwm_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getQueryTimestampHwm()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationIdHwm_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, operationIdHwm_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getQueryTimestampHwm()); } 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 ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken other = (ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken) obj; if (!getOperationIdHwm() .equals(other.getOperationIdHwm())) return false; if (hasQueryTimestampHwm() != other.hasQueryTimestampHwm()) return false; if (hasQueryTimestampHwm()) { if (!getQueryTimestampHwm() .equals(other.getQueryTimestampHwm())) 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(); hash = (37 * hash) + OPERATION_ID_HWM_FIELD_NUMBER; hash = (53 * hash) + getOperationIdHwm().hashCode(); if (hasQueryTimestampHwm()) { hash = (37 * hash) + QUERY_TIMESTAMP_HWM_FIELD_NUMBER; hash = (53 * hash) + getQueryTimestampHwm().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * <pre> * Internal protobuf representing a next page token. Contains the operation id and the query timestamp for the last row * in the previous batch. Results are sorted query timestamp then by operation id lexicographically, so this is all we * need to know where the next page begins * </pre> * * Protobuf type {@code chalk.engine.v2.GetQueryLogEntriesPageToken} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.GetQueryLogEntriesPageToken) ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageTokenOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesPageToken_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesPageToken_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken.class, ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getQueryTimestampHwmFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; operationIdHwm_ = ""; queryTimestampHwm_ = null; if (queryTimestampHwmBuilder_ != null) { queryTimestampHwmBuilder_.dispose(); queryTimestampHwmBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesPageToken_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken build() { ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken buildPartial() { ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken result = new ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.operationIdHwm_ = operationIdHwm_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.queryTimestampHwm_ = queryTimestampHwmBuilder_ == null ? queryTimestampHwm_ : queryTimestampHwmBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken other) { if (other == ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken.getDefaultInstance()) return this; if (!other.getOperationIdHwm().isEmpty()) { operationIdHwm_ = other.operationIdHwm_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasQueryTimestampHwm()) { mergeQueryTimestampHwm(other.getQueryTimestampHwm()); } 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: { operationIdHwm_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getQueryTimestampHwmFieldBuilder().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 java.lang.Object operationIdHwm_ = ""; /** * <code>string operation_id_hwm = 1 [json_name = "operationIdHwm"];</code> * @return The operationIdHwm. */ public java.lang.String getOperationIdHwm() { java.lang.Object ref = operationIdHwm_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationIdHwm_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string operation_id_hwm = 1 [json_name = "operationIdHwm"];</code> * @return The bytes for operationIdHwm. */ public com.google.protobuf.ByteString getOperationIdHwmBytes() { java.lang.Object ref = operationIdHwm_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationIdHwm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string operation_id_hwm = 1 [json_name = "operationIdHwm"];</code> * @param value The operationIdHwm to set. * @return This builder for chaining. */ public Builder setOperationIdHwm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } operationIdHwm_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string operation_id_hwm = 1 [json_name = "operationIdHwm"];</code> * @return This builder for chaining. */ public Builder clearOperationIdHwm() { operationIdHwm_ = getDefaultInstance().getOperationIdHwm(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string operation_id_hwm = 1 [json_name = "operationIdHwm"];</code> * @param value The bytes for operationIdHwm to set. * @return This builder for chaining. */ public Builder setOperationIdHwmBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operationIdHwm_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private com.google.protobuf.Timestamp queryTimestampHwm_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> queryTimestampHwmBuilder_; /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> * @return Whether the queryTimestampHwm field is set. */ public boolean hasQueryTimestampHwm() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> * @return The queryTimestampHwm. */ public com.google.protobuf.Timestamp getQueryTimestampHwm() { if (queryTimestampHwmBuilder_ == null) { return queryTimestampHwm_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampHwm_; } else { return queryTimestampHwmBuilder_.getMessage(); } } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> */ public Builder setQueryTimestampHwm(com.google.protobuf.Timestamp value) { if (queryTimestampHwmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryTimestampHwm_ = value; } else { queryTimestampHwmBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> */ public Builder setQueryTimestampHwm( com.google.protobuf.Timestamp.Builder builderForValue) { if (queryTimestampHwmBuilder_ == null) { queryTimestampHwm_ = builderForValue.build(); } else { queryTimestampHwmBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> */ public Builder mergeQueryTimestampHwm(com.google.protobuf.Timestamp value) { if (queryTimestampHwmBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && queryTimestampHwm_ != null && queryTimestampHwm_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getQueryTimestampHwmBuilder().mergeFrom(value); } else { queryTimestampHwm_ = value; } } else { queryTimestampHwmBuilder_.mergeFrom(value); } if (queryTimestampHwm_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> */ public Builder clearQueryTimestampHwm() { bitField0_ = (bitField0_ & ~0x00000002); queryTimestampHwm_ = null; if (queryTimestampHwmBuilder_ != null) { queryTimestampHwmBuilder_.dispose(); queryTimestampHwmBuilder_ = null; } onChanged(); return this; } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> */ public com.google.protobuf.Timestamp.Builder getQueryTimestampHwmBuilder() { bitField0_ |= 0x00000002; onChanged(); return getQueryTimestampHwmFieldBuilder().getBuilder(); } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> */ public com.google.protobuf.TimestampOrBuilder getQueryTimestampHwmOrBuilder() { if (queryTimestampHwmBuilder_ != null) { return queryTimestampHwmBuilder_.getMessageOrBuilder(); } else { return queryTimestampHwm_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampHwm_; } } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getQueryTimestampHwmFieldBuilder() { if (queryTimestampHwmBuilder_ == null) { queryTimestampHwmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getQueryTimestampHwm(), getParentForChildren(), isClean()); queryTimestampHwm_ = null; } return queryTimestampHwmBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.GetQueryLogEntriesPageToken) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.GetQueryLogEntriesPageToken) private static final ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken(); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetQueryLogEntriesPageToken> PARSER = new com.google.protobuf.AbstractParser<GetQueryLogEntriesPageToken>() { @java.lang.Override public GetQueryLogEntriesPageToken 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<GetQueryLogEntriesPageToken> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetQueryLogEntriesPageToken> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesPageToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetQueryLogEntriesPageTokenOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface GetQueryLogEntriesPageTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.GetQueryLogEntriesPageToken) com.google.protobuf.MessageOrBuilder { /** * <code>string operation_id_hwm = 1 [json_name = "operationIdHwm"];</code> * @return The operationIdHwm. */ java.lang.String getOperationIdHwm(); /** * <code>string operation_id_hwm = 1 [json_name = "operationIdHwm"];</code> * @return The bytes for operationIdHwm. */ com.google.protobuf.ByteString getOperationIdHwmBytes(); /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> * @return Whether the queryTimestampHwm field is set. */ boolean hasQueryTimestampHwm(); /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> * @return The queryTimestampHwm. */ com.google.protobuf.Timestamp getQueryTimestampHwm(); /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 2 [json_name = "queryTimestampHwm"];</code> */ com.google.protobuf.TimestampOrBuilder getQueryTimestampHwmOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetQueryLogEntriesRequest.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * Protobuf type {@code chalk.engine.v2.GetQueryLogEntriesRequest} */ public final class GetQueryLogEntriesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.GetQueryLogEntriesRequest) GetQueryLogEntriesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetQueryLogEntriesRequest.newBuilder() to construct. private GetQueryLogEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetQueryLogEntriesRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetQueryLogEntriesRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest.class, ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest.Builder.class); } private int bitField0_; public static final int QUERY_TIMESTAMP_LOWER_BOUND_INCLUSIVE_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp queryTimestampLowerBoundInclusive_; /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> * @return Whether the queryTimestampLowerBoundInclusive field is set. */ @java.lang.Override public boolean hasQueryTimestampLowerBoundInclusive() { return ((bitField0_ & 0x00000001) != 0); } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> * @return The queryTimestampLowerBoundInclusive. */ @java.lang.Override public com.google.protobuf.Timestamp getQueryTimestampLowerBoundInclusive() { return queryTimestampLowerBoundInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampLowerBoundInclusive_; } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getQueryTimestampLowerBoundInclusiveOrBuilder() { return queryTimestampLowerBoundInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampLowerBoundInclusive_; } public static final int QUERY_TIMESTAMP_UPPER_BOUND_EXCLUSIVE_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp queryTimestampUpperBoundExclusive_; /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> * @return Whether the queryTimestampUpperBoundExclusive field is set. */ @java.lang.Override public boolean hasQueryTimestampUpperBoundExclusive() { return ((bitField0_ & 0x00000002) != 0); } /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> * @return The queryTimestampUpperBoundExclusive. */ @java.lang.Override public com.google.protobuf.Timestamp getQueryTimestampUpperBoundExclusive() { return queryTimestampUpperBoundExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampUpperBoundExclusive_; } /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getQueryTimestampUpperBoundExclusiveOrBuilder() { return queryTimestampUpperBoundExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampUpperBoundExclusive_; } public static final int FILTERS_FIELD_NUMBER = 3; private ai.chalk.protos.chalk.engine.v2.QueryLogFilters filters_; /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> * @return Whether the filters field is set. */ @java.lang.Override public boolean hasFilters() { return ((bitField0_ & 0x00000004) != 0); } /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> * @return The filters. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.QueryLogFilters getFilters() { return filters_ == null ? ai.chalk.protos.chalk.engine.v2.QueryLogFilters.getDefaultInstance() : filters_; } /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.QueryLogFiltersOrBuilder getFiltersOrBuilder() { return filters_ == null ? ai.chalk.protos.chalk.engine.v2.QueryLogFilters.getDefaultInstance() : filters_; } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** * <pre> * The (maximum) page size. If zero, the server gets to choose. * </pre> * * <code>int32 page_size = 4 [json_name = "pageSize"];</code> * @return The pageSize. */ @java.lang.Override public int getPageSize() { return pageSize_; } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** * <pre> * When dealing with paginated responses, the next token can be provided to get the next page of responses * The query parameters above must be exactly the same when using a next token * This is opaque to the clients, but in practice, it is an encoding of the GetQueryLogEntriesPageToken * </pre> * * <code>string page_token = 5 [json_name = "pageToken"];</code> * @return The pageToken. */ @java.lang.Override public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** * <pre> * When dealing with paginated responses, the next token can be provided to get the next page of responses * The query parameters above must be exactly the same when using a next token * This is opaque to the clients, but in practice, it is an encoding of the GetQueryLogEntriesPageToken * </pre> * * <code>string page_token = 5 [json_name = "pageToken"];</code> * @return The bytes for pageToken. */ @java.lang.Override public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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, getQueryTimestampLowerBoundInclusive()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getQueryTimestampUpperBoundExclusive()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getFilters()); } if (pageSize_ != 0) { output.writeInt32(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, pageToken_); } 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, getQueryTimestampLowerBoundInclusive()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getQueryTimestampUpperBoundExclusive()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getFilters()); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); } 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 ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest other = (ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest) obj; if (hasQueryTimestampLowerBoundInclusive() != other.hasQueryTimestampLowerBoundInclusive()) return false; if (hasQueryTimestampLowerBoundInclusive()) { if (!getQueryTimestampLowerBoundInclusive() .equals(other.getQueryTimestampLowerBoundInclusive())) return false; } if (hasQueryTimestampUpperBoundExclusive() != other.hasQueryTimestampUpperBoundExclusive()) return false; if (hasQueryTimestampUpperBoundExclusive()) { if (!getQueryTimestampUpperBoundExclusive() .equals(other.getQueryTimestampUpperBoundExclusive())) return false; } if (hasFilters() != other.hasFilters()) return false; if (hasFilters()) { if (!getFilters() .equals(other.getFilters())) return false; } if (getPageSize() != other.getPageSize()) return false; if (!getPageToken() .equals(other.getPageToken())) 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 (hasQueryTimestampLowerBoundInclusive()) { hash = (37 * hash) + QUERY_TIMESTAMP_LOWER_BOUND_INCLUSIVE_FIELD_NUMBER; hash = (53 * hash) + getQueryTimestampLowerBoundInclusive().hashCode(); } if (hasQueryTimestampUpperBoundExclusive()) { hash = (37 * hash) + QUERY_TIMESTAMP_UPPER_BOUND_EXCLUSIVE_FIELD_NUMBER; hash = (53 * hash) + getQueryTimestampUpperBoundExclusive().hashCode(); } if (hasFilters()) { hash = (37 * hash) + FILTERS_FIELD_NUMBER; hash = (53 * hash) + getFilters().hashCode(); } hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.engine.v2.GetQueryLogEntriesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.GetQueryLogEntriesRequest) ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest.class, ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getQueryTimestampLowerBoundInclusiveFieldBuilder(); getQueryTimestampUpperBoundExclusiveFieldBuilder(); getFiltersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; queryTimestampLowerBoundInclusive_ = null; if (queryTimestampLowerBoundInclusiveBuilder_ != null) { queryTimestampLowerBoundInclusiveBuilder_.dispose(); queryTimestampLowerBoundInclusiveBuilder_ = null; } queryTimestampUpperBoundExclusive_ = null; if (queryTimestampUpperBoundExclusiveBuilder_ != null) { queryTimestampUpperBoundExclusiveBuilder_.dispose(); queryTimestampUpperBoundExclusiveBuilder_ = null; } filters_ = null; if (filtersBuilder_ != null) { filtersBuilder_.dispose(); filtersBuilder_ = null; } pageSize_ = 0; pageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesRequest_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest build() { ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest buildPartial() { ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest result = new ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.queryTimestampLowerBoundInclusive_ = queryTimestampLowerBoundInclusiveBuilder_ == null ? queryTimestampLowerBoundInclusive_ : queryTimestampLowerBoundInclusiveBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.queryTimestampUpperBoundExclusive_ = queryTimestampUpperBoundExclusiveBuilder_ == null ? queryTimestampUpperBoundExclusive_ : queryTimestampUpperBoundExclusiveBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.filters_ = filtersBuilder_ == null ? filters_ : filtersBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.pageSize_ = pageSize_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.pageToken_ = pageToken_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest other) { if (other == ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest.getDefaultInstance()) return this; if (other.hasQueryTimestampLowerBoundInclusive()) { mergeQueryTimestampLowerBoundInclusive(other.getQueryTimestampLowerBoundInclusive()); } if (other.hasQueryTimestampUpperBoundExclusive()) { mergeQueryTimestampUpperBoundExclusive(other.getQueryTimestampUpperBoundExclusive()); } if (other.hasFilters()) { mergeFilters(other.getFilters()); } if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; bitField0_ |= 0x00000010; onChanged(); } 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( getQueryTimestampLowerBoundInclusiveFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getQueryTimestampUpperBoundExclusiveFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getFiltersFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 32: { pageSize_ = input.readInt32(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { pageToken_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 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 com.google.protobuf.Timestamp queryTimestampLowerBoundInclusive_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> queryTimestampLowerBoundInclusiveBuilder_; /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> * @return Whether the queryTimestampLowerBoundInclusive field is set. */ public boolean hasQueryTimestampLowerBoundInclusive() { return ((bitField0_ & 0x00000001) != 0); } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> * @return The queryTimestampLowerBoundInclusive. */ public com.google.protobuf.Timestamp getQueryTimestampLowerBoundInclusive() { if (queryTimestampLowerBoundInclusiveBuilder_ == null) { return queryTimestampLowerBoundInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampLowerBoundInclusive_; } else { return queryTimestampLowerBoundInclusiveBuilder_.getMessage(); } } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ public Builder setQueryTimestampLowerBoundInclusive(com.google.protobuf.Timestamp value) { if (queryTimestampLowerBoundInclusiveBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryTimestampLowerBoundInclusive_ = value; } else { queryTimestampLowerBoundInclusiveBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ public Builder setQueryTimestampLowerBoundInclusive( com.google.protobuf.Timestamp.Builder builderForValue) { if (queryTimestampLowerBoundInclusiveBuilder_ == null) { queryTimestampLowerBoundInclusive_ = builderForValue.build(); } else { queryTimestampLowerBoundInclusiveBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ public Builder mergeQueryTimestampLowerBoundInclusive(com.google.protobuf.Timestamp value) { if (queryTimestampLowerBoundInclusiveBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && queryTimestampLowerBoundInclusive_ != null && queryTimestampLowerBoundInclusive_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getQueryTimestampLowerBoundInclusiveBuilder().mergeFrom(value); } else { queryTimestampLowerBoundInclusive_ = value; } } else { queryTimestampLowerBoundInclusiveBuilder_.mergeFrom(value); } if (queryTimestampLowerBoundInclusive_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ public Builder clearQueryTimestampLowerBoundInclusive() { bitField0_ = (bitField0_ & ~0x00000001); queryTimestampLowerBoundInclusive_ = null; if (queryTimestampLowerBoundInclusiveBuilder_ != null) { queryTimestampLowerBoundInclusiveBuilder_.dispose(); queryTimestampLowerBoundInclusiveBuilder_ = null; } onChanged(); return this; } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ public com.google.protobuf.Timestamp.Builder getQueryTimestampLowerBoundInclusiveBuilder() { bitField0_ |= 0x00000001; onChanged(); return getQueryTimestampLowerBoundInclusiveFieldBuilder().getBuilder(); } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ public com.google.protobuf.TimestampOrBuilder getQueryTimestampLowerBoundInclusiveOrBuilder() { if (queryTimestampLowerBoundInclusiveBuilder_ != null) { return queryTimestampLowerBoundInclusiveBuilder_.getMessageOrBuilder(); } else { return queryTimestampLowerBoundInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampLowerBoundInclusive_; } } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getQueryTimestampLowerBoundInclusiveFieldBuilder() { if (queryTimestampLowerBoundInclusiveBuilder_ == null) { queryTimestampLowerBoundInclusiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getQueryTimestampLowerBoundInclusive(), getParentForChildren(), isClean()); queryTimestampLowerBoundInclusive_ = null; } return queryTimestampLowerBoundInclusiveBuilder_; } private com.google.protobuf.Timestamp queryTimestampUpperBoundExclusive_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> queryTimestampUpperBoundExclusiveBuilder_; /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> * @return Whether the queryTimestampUpperBoundExclusive field is set. */ public boolean hasQueryTimestampUpperBoundExclusive() { return ((bitField0_ & 0x00000002) != 0); } /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> * @return The queryTimestampUpperBoundExclusive. */ public com.google.protobuf.Timestamp getQueryTimestampUpperBoundExclusive() { if (queryTimestampUpperBoundExclusiveBuilder_ == null) { return queryTimestampUpperBoundExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampUpperBoundExclusive_; } else { return queryTimestampUpperBoundExclusiveBuilder_.getMessage(); } } /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ public Builder setQueryTimestampUpperBoundExclusive(com.google.protobuf.Timestamp value) { if (queryTimestampUpperBoundExclusiveBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryTimestampUpperBoundExclusive_ = value; } else { queryTimestampUpperBoundExclusiveBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ public Builder setQueryTimestampUpperBoundExclusive( com.google.protobuf.Timestamp.Builder builderForValue) { if (queryTimestampUpperBoundExclusiveBuilder_ == null) { queryTimestampUpperBoundExclusive_ = builderForValue.build(); } else { queryTimestampUpperBoundExclusiveBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ public Builder mergeQueryTimestampUpperBoundExclusive(com.google.protobuf.Timestamp value) { if (queryTimestampUpperBoundExclusiveBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && queryTimestampUpperBoundExclusive_ != null && queryTimestampUpperBoundExclusive_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getQueryTimestampUpperBoundExclusiveBuilder().mergeFrom(value); } else { queryTimestampUpperBoundExclusive_ = value; } } else { queryTimestampUpperBoundExclusiveBuilder_.mergeFrom(value); } if (queryTimestampUpperBoundExclusive_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ public Builder clearQueryTimestampUpperBoundExclusive() { bitField0_ = (bitField0_ & ~0x00000002); queryTimestampUpperBoundExclusive_ = null; if (queryTimestampUpperBoundExclusiveBuilder_ != null) { queryTimestampUpperBoundExclusiveBuilder_.dispose(); queryTimestampUpperBoundExclusiveBuilder_ = null; } onChanged(); return this; } /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ public com.google.protobuf.Timestamp.Builder getQueryTimestampUpperBoundExclusiveBuilder() { bitField0_ |= 0x00000002; onChanged(); return getQueryTimestampUpperBoundExclusiveFieldBuilder().getBuilder(); } /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ public com.google.protobuf.TimestampOrBuilder getQueryTimestampUpperBoundExclusiveOrBuilder() { if (queryTimestampUpperBoundExclusiveBuilder_ != null) { return queryTimestampUpperBoundExclusiveBuilder_.getMessageOrBuilder(); } else { return queryTimestampUpperBoundExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampUpperBoundExclusive_; } } /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getQueryTimestampUpperBoundExclusiveFieldBuilder() { if (queryTimestampUpperBoundExclusiveBuilder_ == null) { queryTimestampUpperBoundExclusiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getQueryTimestampUpperBoundExclusive(), getParentForChildren(), isClean()); queryTimestampUpperBoundExclusive_ = null; } return queryTimestampUpperBoundExclusiveBuilder_; } private ai.chalk.protos.chalk.engine.v2.QueryLogFilters filters_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.QueryLogFilters, ai.chalk.protos.chalk.engine.v2.QueryLogFilters.Builder, ai.chalk.protos.chalk.engine.v2.QueryLogFiltersOrBuilder> filtersBuilder_; /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> * @return Whether the filters field is set. */ public boolean hasFilters() { return ((bitField0_ & 0x00000004) != 0); } /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> * @return The filters. */ public ai.chalk.protos.chalk.engine.v2.QueryLogFilters getFilters() { if (filtersBuilder_ == null) { return filters_ == null ? ai.chalk.protos.chalk.engine.v2.QueryLogFilters.getDefaultInstance() : filters_; } else { return filtersBuilder_.getMessage(); } } /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> */ public Builder setFilters(ai.chalk.protos.chalk.engine.v2.QueryLogFilters value) { if (filtersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filters_ = value; } else { filtersBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> */ public Builder setFilters( ai.chalk.protos.chalk.engine.v2.QueryLogFilters.Builder builderForValue) { if (filtersBuilder_ == null) { filters_ = builderForValue.build(); } else { filtersBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> */ public Builder mergeFilters(ai.chalk.protos.chalk.engine.v2.QueryLogFilters value) { if (filtersBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && filters_ != null && filters_ != ai.chalk.protos.chalk.engine.v2.QueryLogFilters.getDefaultInstance()) { getFiltersBuilder().mergeFrom(value); } else { filters_ = value; } } else { filtersBuilder_.mergeFrom(value); } if (filters_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> */ public Builder clearFilters() { bitField0_ = (bitField0_ & ~0x00000004); filters_ = null; if (filtersBuilder_ != null) { filtersBuilder_.dispose(); filtersBuilder_ = null; } onChanged(); return this; } /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> */ public ai.chalk.protos.chalk.engine.v2.QueryLogFilters.Builder getFiltersBuilder() { bitField0_ |= 0x00000004; onChanged(); return getFiltersFieldBuilder().getBuilder(); } /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> */ public ai.chalk.protos.chalk.engine.v2.QueryLogFiltersOrBuilder getFiltersOrBuilder() { if (filtersBuilder_ != null) { return filtersBuilder_.getMessageOrBuilder(); } else { return filters_ == null ? ai.chalk.protos.chalk.engine.v2.QueryLogFilters.getDefaultInstance() : filters_; } } /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.QueryLogFilters, ai.chalk.protos.chalk.engine.v2.QueryLogFilters.Builder, ai.chalk.protos.chalk.engine.v2.QueryLogFiltersOrBuilder> getFiltersFieldBuilder() { if (filtersBuilder_ == null) { filtersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.QueryLogFilters, ai.chalk.protos.chalk.engine.v2.QueryLogFilters.Builder, ai.chalk.protos.chalk.engine.v2.QueryLogFiltersOrBuilder>( getFilters(), getParentForChildren(), isClean()); filters_ = null; } return filtersBuilder_; } private int pageSize_ ; /** * <pre> * The (maximum) page size. If zero, the server gets to choose. * </pre> * * <code>int32 page_size = 4 [json_name = "pageSize"];</code> * @return The pageSize. */ @java.lang.Override public int getPageSize() { return pageSize_; } /** * <pre> * The (maximum) page size. If zero, the server gets to choose. * </pre> * * <code>int32 page_size = 4 [json_name = "pageSize"];</code> * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { pageSize_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * <pre> * The (maximum) page size. If zero, the server gets to choose. * </pre> * * <code>int32 page_size = 4 [json_name = "pageSize"];</code> * @return This builder for chaining. */ public Builder clearPageSize() { bitField0_ = (bitField0_ & ~0x00000008); pageSize_ = 0; onChanged(); return this; } private java.lang.Object pageToken_ = ""; /** * <pre> * When dealing with paginated responses, the next token can be provided to get the next page of responses * The query parameters above must be exactly the same when using a next token * This is opaque to the clients, but in practice, it is an encoding of the GetQueryLogEntriesPageToken * </pre> * * <code>string page_token = 5 [json_name = "pageToken"];</code> * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * <pre> * When dealing with paginated responses, the next token can be provided to get the next page of responses * The query parameters above must be exactly the same when using a next token * This is opaque to the clients, but in practice, it is an encoding of the GetQueryLogEntriesPageToken * </pre> * * <code>string page_token = 5 [json_name = "pageToken"];</code> * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <pre> * When dealing with paginated responses, the next token can be provided to get the next page of responses * The query parameters above must be exactly the same when using a next token * This is opaque to the clients, but in practice, it is an encoding of the GetQueryLogEntriesPageToken * </pre> * * <code>string page_token = 5 [json_name = "pageToken"];</code> * @param value The pageToken to set. * @return This builder for chaining. */ public Builder setPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * <pre> * When dealing with paginated responses, the next token can be provided to get the next page of responses * The query parameters above must be exactly the same when using a next token * This is opaque to the clients, but in practice, it is an encoding of the GetQueryLogEntriesPageToken * </pre> * * <code>string page_token = 5 [json_name = "pageToken"];</code> * @return This builder for chaining. */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * <pre> * When dealing with paginated responses, the next token can be provided to get the next page of responses * The query parameters above must be exactly the same when using a next token * This is opaque to the clients, but in practice, it is an encoding of the GetQueryLogEntriesPageToken * </pre> * * <code>string page_token = 5 [json_name = "pageToken"];</code> * @param value The bytes for pageToken to set. * @return This builder for chaining. */ public Builder setPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.GetQueryLogEntriesRequest) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.GetQueryLogEntriesRequest) private static final ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest(); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetQueryLogEntriesRequest> PARSER = new com.google.protobuf.AbstractParser<GetQueryLogEntriesRequest>() { @java.lang.Override public GetQueryLogEntriesRequest 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<GetQueryLogEntriesRequest> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetQueryLogEntriesRequest> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetQueryLogEntriesRequestOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface GetQueryLogEntriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.GetQueryLogEntriesRequest) com.google.protobuf.MessageOrBuilder { /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> * @return Whether the queryTimestampLowerBoundInclusive field is set. */ boolean hasQueryTimestampLowerBoundInclusive(); /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> * @return The queryTimestampLowerBoundInclusive. */ com.google.protobuf.Timestamp getQueryTimestampLowerBoundInclusive(); /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 1 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ com.google.protobuf.TimestampOrBuilder getQueryTimestampLowerBoundInclusiveOrBuilder(); /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> * @return Whether the queryTimestampUpperBoundExclusive field is set. */ boolean hasQueryTimestampUpperBoundExclusive(); /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> * @return The queryTimestampUpperBoundExclusive. */ com.google.protobuf.Timestamp getQueryTimestampUpperBoundExclusive(); /** * <pre> * If the upper bound is omitted, then the lower bound will be used as an "equality" filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 2 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ com.google.protobuf.TimestampOrBuilder getQueryTimestampUpperBoundExclusiveOrBuilder(); /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> * @return Whether the filters field is set. */ boolean hasFilters(); /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> * @return The filters. */ ai.chalk.protos.chalk.engine.v2.QueryLogFilters getFilters(); /** * <pre> * Any filters for searching the query log. See the QueryLogFilters message above * </pre> * * <code>.chalk.engine.v2.QueryLogFilters filters = 3 [json_name = "filters"];</code> */ ai.chalk.protos.chalk.engine.v2.QueryLogFiltersOrBuilder getFiltersOrBuilder(); /** * <pre> * The (maximum) page size. If zero, the server gets to choose. * </pre> * * <code>int32 page_size = 4 [json_name = "pageSize"];</code> * @return The pageSize. */ int getPageSize(); /** * <pre> * When dealing with paginated responses, the next token can be provided to get the next page of responses * The query parameters above must be exactly the same when using a next token * This is opaque to the clients, but in practice, it is an encoding of the GetQueryLogEntriesPageToken * </pre> * * <code>string page_token = 5 [json_name = "pageToken"];</code> * @return The pageToken. */ java.lang.String getPageToken(); /** * <pre> * When dealing with paginated responses, the next token can be provided to get the next page of responses * The query parameters above must be exactly the same when using a next token * This is opaque to the clients, but in practice, it is an encoding of the GetQueryLogEntriesPageToken * </pre> * * <code>string page_token = 5 [json_name = "pageToken"];</code> * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetQueryLogEntriesResponse.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * Protobuf type {@code chalk.engine.v2.GetQueryLogEntriesResponse} */ public final class GetQueryLogEntriesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.GetQueryLogEntriesResponse) GetQueryLogEntriesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetQueryLogEntriesResponse.newBuilder() to construct. private GetQueryLogEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetQueryLogEntriesResponse() { entries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetQueryLogEntriesResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse.class, ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse.Builder.class); } public static final int ENTRIES_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.engine.v2.QueryLogEntry> entries_; /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v2.QueryLogEntry> getEntriesList() { return entries_; } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.engine.v2.QueryLogEntryOrBuilder> getEntriesOrBuilderList() { return entries_; } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ @java.lang.Override public int getEntriesCount() { return entries_.size(); } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.QueryLogEntry getEntries(int index) { return entries_.get(index); } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.QueryLogEntryOrBuilder getEntriesOrBuilder( int index) { return entries_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** * <pre> * If the next_page_token is non-empty, then there may be more rows, even if the entries are empty. * </pre> * * <code>string next_page_token = 2 [json_name = "nextPageToken"];</code> * @return The nextPageToken. */ @java.lang.Override public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** * <pre> * If the next_page_token is non-empty, then there may be more rows, even if the entries are empty. * </pre> * * <code>string next_page_token = 2 [json_name = "nextPageToken"];</code> * @return The bytes for nextPageToken. */ @java.lang.Override public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } 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)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } 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 ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse other = (ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse) obj; if (!getEntriesList() .equals(other.getEntriesList())) return false; if (!getNextPageToken() .equals(other.getNextPageToken())) 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 = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.engine.v2.GetQueryLogEntriesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.GetQueryLogEntriesResponse) ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse.class, ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.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); nextPageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_GetQueryLogEntriesResponse_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse build() { ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse buildPartial() { ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse result = new ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse 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(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse other) { if (other == ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse.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.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } } } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; bitField0_ |= 0x00000002; onChanged(); } 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: { ai.chalk.protos.chalk.engine.v2.QueryLogEntry m = input.readMessage( ai.chalk.protos.chalk.engine.v2.QueryLogEntry.parser(), extensionRegistry); if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(m); } else { entriesBuilder_.addMessage(m); } break; } // case 10 case 18: { nextPageToken_ = input.readStringRequireUtf8(); 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 java.util.List<ai.chalk.protos.chalk.engine.v2.QueryLogEntry> entries_ = java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { entries_ = new java.util.ArrayList<ai.chalk.protos.chalk.engine.v2.QueryLogEntry>(entries_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.QueryLogEntry, ai.chalk.protos.chalk.engine.v2.QueryLogEntry.Builder, ai.chalk.protos.chalk.engine.v2.QueryLogEntryOrBuilder> entriesBuilder_; /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v2.QueryLogEntry> getEntriesList() { if (entriesBuilder_ == null) { return java.util.Collections.unmodifiableList(entries_); } else { return entriesBuilder_.getMessageList(); } } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public int getEntriesCount() { if (entriesBuilder_ == null) { return entries_.size(); } else { return entriesBuilder_.getCount(); } } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public ai.chalk.protos.chalk.engine.v2.QueryLogEntry getEntries(int index) { if (entriesBuilder_ == null) { return entries_.get(index); } else { return entriesBuilder_.getMessage(index); } } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public Builder setEntries( int index, ai.chalk.protos.chalk.engine.v2.QueryLogEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntriesIsMutable(); entries_.set(index, value); onChanged(); } else { entriesBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public Builder setEntries( int index, ai.chalk.protos.chalk.engine.v2.QueryLogEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.set(index, builderForValue.build()); onChanged(); } else { entriesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public Builder addEntries(ai.chalk.protos.chalk.engine.v2.QueryLogEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntriesIsMutable(); entries_.add(value); onChanged(); } else { entriesBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public Builder addEntries( int index, ai.chalk.protos.chalk.engine.v2.QueryLogEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntriesIsMutable(); entries_.add(index, value); onChanged(); } else { entriesBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public Builder addEntries( ai.chalk.protos.chalk.engine.v2.QueryLogEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); onChanged(); } else { entriesBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public Builder addEntries( int index, ai.chalk.protos.chalk.engine.v2.QueryLogEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(index, builderForValue.build()); onChanged(); } else { entriesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public Builder addAllEntries( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v2.QueryLogEntry> values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public Builder clearEntries() { if (entriesBuilder_ == null) { entries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entriesBuilder_.clear(); } return this; } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public Builder removeEntries(int index) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.remove(index); onChanged(); } else { entriesBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public ai.chalk.protos.chalk.engine.v2.QueryLogEntry.Builder getEntriesBuilder( int index) { return getEntriesFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public ai.chalk.protos.chalk.engine.v2.QueryLogEntryOrBuilder getEntriesOrBuilder( int index) { if (entriesBuilder_ == null) { return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.engine.v2.QueryLogEntryOrBuilder> getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entries_); } } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public ai.chalk.protos.chalk.engine.v2.QueryLogEntry.Builder addEntriesBuilder() { return getEntriesFieldBuilder().addBuilder( ai.chalk.protos.chalk.engine.v2.QueryLogEntry.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public ai.chalk.protos.chalk.engine.v2.QueryLogEntry.Builder addEntriesBuilder( int index) { return getEntriesFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.engine.v2.QueryLogEntry.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v2.QueryLogEntry.Builder> getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.QueryLogEntry, ai.chalk.protos.chalk.engine.v2.QueryLogEntry.Builder, ai.chalk.protos.chalk.engine.v2.QueryLogEntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.QueryLogEntry, ai.chalk.protos.chalk.engine.v2.QueryLogEntry.Builder, ai.chalk.protos.chalk.engine.v2.QueryLogEntryOrBuilder>( entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entries_ = null; } return entriesBuilder_; } private java.lang.Object nextPageToken_ = ""; /** * <pre> * If the next_page_token is non-empty, then there may be more rows, even if the entries are empty. * </pre> * * <code>string next_page_token = 2 [json_name = "nextPageToken"];</code> * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * <pre> * If the next_page_token is non-empty, then there may be more rows, even if the entries are empty. * </pre> * * <code>string next_page_token = 2 [json_name = "nextPageToken"];</code> * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <pre> * If the next_page_token is non-empty, then there may be more rows, even if the entries are empty. * </pre> * * <code>string next_page_token = 2 [json_name = "nextPageToken"];</code> * @param value The nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <pre> * If the next_page_token is non-empty, then there may be more rows, even if the entries are empty. * </pre> * * <code>string next_page_token = 2 [json_name = "nextPageToken"];</code> * @return This builder for chaining. */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * <pre> * If the next_page_token is non-empty, then there may be more rows, even if the entries are empty. * </pre> * * <code>string next_page_token = 2 [json_name = "nextPageToken"];</code> * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.GetQueryLogEntriesResponse) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.GetQueryLogEntriesResponse) private static final ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse(); } public static ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetQueryLogEntriesResponse> PARSER = new com.google.protobuf.AbstractParser<GetQueryLogEntriesResponse>() { @java.lang.Override public GetQueryLogEntriesResponse 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<GetQueryLogEntriesResponse> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetQueryLogEntriesResponse> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetQueryLogEntriesResponseOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface GetQueryLogEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.GetQueryLogEntriesResponse) com.google.protobuf.MessageOrBuilder { /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ java.util.List<ai.chalk.protos.chalk.engine.v2.QueryLogEntry> getEntriesList(); /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ ai.chalk.protos.chalk.engine.v2.QueryLogEntry getEntries(int index); /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ int getEntriesCount(); /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.engine.v2.QueryLogEntryOrBuilder> getEntriesOrBuilderList(); /** * <code>repeated .chalk.engine.v2.QueryLogEntry entries = 1 [json_name = "entries"];</code> */ ai.chalk.protos.chalk.engine.v2.QueryLogEntryOrBuilder getEntriesOrBuilder( int index); /** * <pre> * If the next_page_token is non-empty, then there may be more rows, even if the entries are empty. * </pre> * * <code>string next_page_token = 2 [json_name = "nextPageToken"];</code> * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** * <pre> * If the next_page_token is non-empty, then there may be more rows, even if the entries are empty. * </pre> * * <code>string next_page_token = 2 [json_name = "nextPageToken"];</code> * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetQueryValuesPageToken.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * <pre> * Internal protobuf representing a next page token. Contains the operation id and the query timestamp for the last row in the pervious batch. Results are sorted query timestamp * then by operation id lexagraphically then by row id, so this is all we need to know where the next page begins * </pre> * * Protobuf type {@code chalk.engine.v2.GetQueryValuesPageToken} */ public final class GetQueryValuesPageToken extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.GetQueryValuesPageToken) GetQueryValuesPageTokenOrBuilder { private static final long serialVersionUID = 0L; // Use GetQueryValuesPageToken.newBuilder() to construct. private GetQueryValuesPageToken(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetQueryValuesPageToken() { operationIdHwm_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetQueryValuesPageToken(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesPageToken_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesPageToken_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken.class, ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken.Builder.class); } private int bitField0_; public static final int QUERY_TIMESTAMP_HWM_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp queryTimestampHwm_; /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> * @return Whether the queryTimestampHwm field is set. */ @java.lang.Override public boolean hasQueryTimestampHwm() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> * @return The queryTimestampHwm. */ @java.lang.Override public com.google.protobuf.Timestamp getQueryTimestampHwm() { return queryTimestampHwm_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampHwm_; } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getQueryTimestampHwmOrBuilder() { return queryTimestampHwm_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampHwm_; } public static final int OPERATION_ID_HWM_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object operationIdHwm_ = ""; /** * <code>string operation_id_hwm = 2 [json_name = "operationIdHwm"];</code> * @return The operationIdHwm. */ @java.lang.Override public java.lang.String getOperationIdHwm() { java.lang.Object ref = operationIdHwm_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationIdHwm_ = s; return s; } } /** * <code>string operation_id_hwm = 2 [json_name = "operationIdHwm"];</code> * @return The bytes for operationIdHwm. */ @java.lang.Override public com.google.protobuf.ByteString getOperationIdHwmBytes() { java.lang.Object ref = operationIdHwm_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationIdHwm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ROW_ID_HWM_FIELD_NUMBER = 3; private long rowIdHwm_ = 0L; /** * <code>int64 row_id_hwm = 3 [json_name = "rowIdHwm"];</code> * @return The rowIdHwm. */ @java.lang.Override public long getRowIdHwm() { return rowIdHwm_; } 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, getQueryTimestampHwm()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationIdHwm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, operationIdHwm_); } if (rowIdHwm_ != 0L) { output.writeInt64(3, rowIdHwm_); } 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, getQueryTimestampHwm()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationIdHwm_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operationIdHwm_); } if (rowIdHwm_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, rowIdHwm_); } 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 ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken other = (ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken) obj; if (hasQueryTimestampHwm() != other.hasQueryTimestampHwm()) return false; if (hasQueryTimestampHwm()) { if (!getQueryTimestampHwm() .equals(other.getQueryTimestampHwm())) return false; } if (!getOperationIdHwm() .equals(other.getOperationIdHwm())) return false; if (getRowIdHwm() != other.getRowIdHwm()) 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 (hasQueryTimestampHwm()) { hash = (37 * hash) + QUERY_TIMESTAMP_HWM_FIELD_NUMBER; hash = (53 * hash) + getQueryTimestampHwm().hashCode(); } hash = (37 * hash) + OPERATION_ID_HWM_FIELD_NUMBER; hash = (53 * hash) + getOperationIdHwm().hashCode(); hash = (37 * hash) + ROW_ID_HWM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRowIdHwm()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * <pre> * Internal protobuf representing a next page token. Contains the operation id and the query timestamp for the last row in the pervious batch. Results are sorted query timestamp * then by operation id lexagraphically then by row id, so this is all we need to know where the next page begins * </pre> * * Protobuf type {@code chalk.engine.v2.GetQueryValuesPageToken} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.GetQueryValuesPageToken) ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageTokenOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesPageToken_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesPageToken_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken.class, ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getQueryTimestampHwmFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; queryTimestampHwm_ = null; if (queryTimestampHwmBuilder_ != null) { queryTimestampHwmBuilder_.dispose(); queryTimestampHwmBuilder_ = null; } operationIdHwm_ = ""; rowIdHwm_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesPageToken_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken build() { ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken buildPartial() { ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken result = new ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.queryTimestampHwm_ = queryTimestampHwmBuilder_ == null ? queryTimestampHwm_ : queryTimestampHwmBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.operationIdHwm_ = operationIdHwm_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.rowIdHwm_ = rowIdHwm_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken other) { if (other == ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken.getDefaultInstance()) return this; if (other.hasQueryTimestampHwm()) { mergeQueryTimestampHwm(other.getQueryTimestampHwm()); } if (!other.getOperationIdHwm().isEmpty()) { operationIdHwm_ = other.operationIdHwm_; bitField0_ |= 0x00000002; onChanged(); } if (other.getRowIdHwm() != 0L) { setRowIdHwm(other.getRowIdHwm()); } 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( getQueryTimestampHwmFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { operationIdHwm_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { rowIdHwm_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 24 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 com.google.protobuf.Timestamp queryTimestampHwm_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> queryTimestampHwmBuilder_; /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> * @return Whether the queryTimestampHwm field is set. */ public boolean hasQueryTimestampHwm() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> * @return The queryTimestampHwm. */ public com.google.protobuf.Timestamp getQueryTimestampHwm() { if (queryTimestampHwmBuilder_ == null) { return queryTimestampHwm_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampHwm_; } else { return queryTimestampHwmBuilder_.getMessage(); } } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> */ public Builder setQueryTimestampHwm(com.google.protobuf.Timestamp value) { if (queryTimestampHwmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryTimestampHwm_ = value; } else { queryTimestampHwmBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> */ public Builder setQueryTimestampHwm( com.google.protobuf.Timestamp.Builder builderForValue) { if (queryTimestampHwmBuilder_ == null) { queryTimestampHwm_ = builderForValue.build(); } else { queryTimestampHwmBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> */ public Builder mergeQueryTimestampHwm(com.google.protobuf.Timestamp value) { if (queryTimestampHwmBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && queryTimestampHwm_ != null && queryTimestampHwm_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getQueryTimestampHwmBuilder().mergeFrom(value); } else { queryTimestampHwm_ = value; } } else { queryTimestampHwmBuilder_.mergeFrom(value); } if (queryTimestampHwm_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> */ public Builder clearQueryTimestampHwm() { bitField0_ = (bitField0_ & ~0x00000001); queryTimestampHwm_ = null; if (queryTimestampHwmBuilder_ != null) { queryTimestampHwmBuilder_.dispose(); queryTimestampHwmBuilder_ = null; } onChanged(); return this; } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> */ public com.google.protobuf.Timestamp.Builder getQueryTimestampHwmBuilder() { bitField0_ |= 0x00000001; onChanged(); return getQueryTimestampHwmFieldBuilder().getBuilder(); } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> */ public com.google.protobuf.TimestampOrBuilder getQueryTimestampHwmOrBuilder() { if (queryTimestampHwmBuilder_ != null) { return queryTimestampHwmBuilder_.getMessageOrBuilder(); } else { return queryTimestampHwm_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampHwm_; } } /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getQueryTimestampHwmFieldBuilder() { if (queryTimestampHwmBuilder_ == null) { queryTimestampHwmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getQueryTimestampHwm(), getParentForChildren(), isClean()); queryTimestampHwm_ = null; } return queryTimestampHwmBuilder_; } private java.lang.Object operationIdHwm_ = ""; /** * <code>string operation_id_hwm = 2 [json_name = "operationIdHwm"];</code> * @return The operationIdHwm. */ public java.lang.String getOperationIdHwm() { java.lang.Object ref = operationIdHwm_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationIdHwm_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string operation_id_hwm = 2 [json_name = "operationIdHwm"];</code> * @return The bytes for operationIdHwm. */ public com.google.protobuf.ByteString getOperationIdHwmBytes() { java.lang.Object ref = operationIdHwm_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationIdHwm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string operation_id_hwm = 2 [json_name = "operationIdHwm"];</code> * @param value The operationIdHwm to set. * @return This builder for chaining. */ public Builder setOperationIdHwm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } operationIdHwm_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>string operation_id_hwm = 2 [json_name = "operationIdHwm"];</code> * @return This builder for chaining. */ public Builder clearOperationIdHwm() { operationIdHwm_ = getDefaultInstance().getOperationIdHwm(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * <code>string operation_id_hwm = 2 [json_name = "operationIdHwm"];</code> * @param value The bytes for operationIdHwm to set. * @return This builder for chaining. */ public Builder setOperationIdHwmBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operationIdHwm_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private long rowIdHwm_ ; /** * <code>int64 row_id_hwm = 3 [json_name = "rowIdHwm"];</code> * @return The rowIdHwm. */ @java.lang.Override public long getRowIdHwm() { return rowIdHwm_; } /** * <code>int64 row_id_hwm = 3 [json_name = "rowIdHwm"];</code> * @param value The rowIdHwm to set. * @return This builder for chaining. */ public Builder setRowIdHwm(long value) { rowIdHwm_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>int64 row_id_hwm = 3 [json_name = "rowIdHwm"];</code> * @return This builder for chaining. */ public Builder clearRowIdHwm() { bitField0_ = (bitField0_ & ~0x00000004); rowIdHwm_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.GetQueryValuesPageToken) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.GetQueryValuesPageToken) private static final ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken(); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetQueryValuesPageToken> PARSER = new com.google.protobuf.AbstractParser<GetQueryValuesPageToken>() { @java.lang.Override public GetQueryValuesPageToken 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<GetQueryValuesPageToken> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetQueryValuesPageToken> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryValuesPageToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetQueryValuesPageTokenOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface GetQueryValuesPageTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.GetQueryValuesPageToken) com.google.protobuf.MessageOrBuilder { /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> * @return Whether the queryTimestampHwm field is set. */ boolean hasQueryTimestampHwm(); /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> * @return The queryTimestampHwm. */ com.google.protobuf.Timestamp getQueryTimestampHwm(); /** * <code>.google.protobuf.Timestamp query_timestamp_hwm = 1 [json_name = "queryTimestampHwm"];</code> */ com.google.protobuf.TimestampOrBuilder getQueryTimestampHwmOrBuilder(); /** * <code>string operation_id_hwm = 2 [json_name = "operationIdHwm"];</code> * @return The operationIdHwm. */ java.lang.String getOperationIdHwm(); /** * <code>string operation_id_hwm = 2 [json_name = "operationIdHwm"];</code> * @return The bytes for operationIdHwm. */ com.google.protobuf.ByteString getOperationIdHwmBytes(); /** * <code>int64 row_id_hwm = 3 [json_name = "rowIdHwm"];</code> * @return The rowIdHwm. */ long getRowIdHwm(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetQueryValuesRequest.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * Protobuf type {@code chalk.engine.v2.GetQueryValuesRequest} */ public final class GetQueryValuesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.GetQueryValuesRequest) GetQueryValuesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetQueryValuesRequest.newBuilder() to construct. private GetQueryValuesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetQueryValuesRequest() { features_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetQueryValuesRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest.class, ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest.Builder.class); } private int bitField0_; private int tableIdentifierCase_ = 0; @SuppressWarnings("serial") private java.lang.Object tableIdentifier_; public enum TableIdentifierCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { OPERATION_ID_IDENTIFIER(1), TABLE_NAME_IDENTIFIER(2), TABLEIDENTIFIER_NOT_SET(0); private final int value; private TableIdentifierCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TableIdentifierCase valueOf(int value) { return forNumber(value); } public static TableIdentifierCase forNumber(int value) { switch (value) { case 1: return OPERATION_ID_IDENTIFIER; case 2: return TABLE_NAME_IDENTIFIER; case 0: return TABLEIDENTIFIER_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public TableIdentifierCase getTableIdentifierCase() { return TableIdentifierCase.forNumber( tableIdentifierCase_); } public static final int OPERATION_ID_IDENTIFIER_FIELD_NUMBER = 1; /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> * @return Whether the operationIdIdentifier field is set. */ @java.lang.Override public boolean hasOperationIdIdentifier() { return tableIdentifierCase_ == 1; } /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> * @return The operationIdIdentifier. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier getOperationIdIdentifier() { if (tableIdentifierCase_ == 1) { return (ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier) tableIdentifier_; } return ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.getDefaultInstance(); } /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifierOrBuilder getOperationIdIdentifierOrBuilder() { if (tableIdentifierCase_ == 1) { return (ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier) tableIdentifier_; } return ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.getDefaultInstance(); } public static final int TABLE_NAME_IDENTIFIER_FIELD_NUMBER = 2; /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> * @return Whether the tableNameIdentifier field is set. */ @java.lang.Override public boolean hasTableNameIdentifier() { return tableIdentifierCase_ == 2; } /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> * @return The tableNameIdentifier. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier getTableNameIdentifier() { if (tableIdentifierCase_ == 2) { return (ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier) tableIdentifier_; } return ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.getDefaultInstance(); } /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifierOrBuilder getTableNameIdentifierOrBuilder() { if (tableIdentifierCase_ == 2) { return (ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier) tableIdentifier_; } return ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.getDefaultInstance(); } public static final int QUERY_TIMESTAMP_LOWER_BOUND_INCLUSIVE_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp queryTimestampLowerBoundInclusive_; /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> * @return Whether the queryTimestampLowerBoundInclusive field is set. */ @java.lang.Override public boolean hasQueryTimestampLowerBoundInclusive() { return ((bitField0_ & 0x00000001) != 0); } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> * @return The queryTimestampLowerBoundInclusive. */ @java.lang.Override public com.google.protobuf.Timestamp getQueryTimestampLowerBoundInclusive() { return queryTimestampLowerBoundInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampLowerBoundInclusive_; } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getQueryTimestampLowerBoundInclusiveOrBuilder() { return queryTimestampLowerBoundInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampLowerBoundInclusive_; } public static final int QUERY_TIMESTAMP_UPPER_BOUND_EXCLUSIVE_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp queryTimestampUpperBoundExclusive_; /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> * @return Whether the queryTimestampUpperBoundExclusive field is set. */ @java.lang.Override public boolean hasQueryTimestampUpperBoundExclusive() { return ((bitField0_ & 0x00000002) != 0); } /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> * @return The queryTimestampUpperBoundExclusive. */ @java.lang.Override public com.google.protobuf.Timestamp getQueryTimestampUpperBoundExclusive() { return queryTimestampUpperBoundExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampUpperBoundExclusive_; } /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getQueryTimestampUpperBoundExclusiveOrBuilder() { return queryTimestampUpperBoundExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampUpperBoundExclusive_; } public static final int FEATURES_FIELD_NUMBER = 5; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList features_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @return A list containing the features. */ public com.google.protobuf.ProtocolStringList getFeaturesList() { return features_; } /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @return The count of features. */ public int getFeaturesCount() { return features_.size(); } /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @param index The index of the element to return. * @return The features at the given index. */ public java.lang.String getFeatures(int index) { return features_.get(index); } /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @param index The index of the value to return. * @return The bytes of the features at the given index. */ public com.google.protobuf.ByteString getFeaturesBytes(int index) { return features_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 7; private int pageSize_ = 0; /** * <pre> * The (maximum) page size for results. If zero, then the server picks. * </pre> * * <code>int32 page_size = 7 [json_name = "pageSize"];</code> * @return The pageSize. */ @java.lang.Override public int getPageSize() { return pageSize_; } public static final int PAGE_TOKEN_FIELD_NUMBER = 8; @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** * <pre> * When dealing with paginated responses, specify the next token to resume where you left off. The subsequent request must be identicial to the original (except for the value of the next_token) * Leave empty if querying for the zeroth page. * </pre> * * <code>string page_token = 8 [json_name = "pageToken"];</code> * @return The pageToken. */ @java.lang.Override public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** * <pre> * When dealing with paginated responses, specify the next token to resume where you left off. The subsequent request must be identicial to the original (except for the value of the next_token) * Leave empty if querying for the zeroth page. * </pre> * * <code>string page_token = 8 [json_name = "pageToken"];</code> * @return The bytes for pageToken. */ @java.lang.Override public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (tableIdentifierCase_ == 1) { output.writeMessage(1, (ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier) tableIdentifier_); } if (tableIdentifierCase_ == 2) { output.writeMessage(2, (ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier) tableIdentifier_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getQueryTimestampLowerBoundInclusive()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getQueryTimestampUpperBoundExclusive()); } for (int i = 0; i < features_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, features_.getRaw(i)); } if (pageSize_ != 0) { output.writeInt32(7, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, pageToken_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tableIdentifierCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier) tableIdentifier_); } if (tableIdentifierCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier) tableIdentifier_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getQueryTimestampLowerBoundInclusive()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getQueryTimestampUpperBoundExclusive()); } { int dataSize = 0; for (int i = 0; i < features_.size(); i++) { dataSize += computeStringSizeNoTag(features_.getRaw(i)); } size += dataSize; size += 1 * getFeaturesList().size(); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, pageToken_); } 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 ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest other = (ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest) obj; if (hasQueryTimestampLowerBoundInclusive() != other.hasQueryTimestampLowerBoundInclusive()) return false; if (hasQueryTimestampLowerBoundInclusive()) { if (!getQueryTimestampLowerBoundInclusive() .equals(other.getQueryTimestampLowerBoundInclusive())) return false; } if (hasQueryTimestampUpperBoundExclusive() != other.hasQueryTimestampUpperBoundExclusive()) return false; if (hasQueryTimestampUpperBoundExclusive()) { if (!getQueryTimestampUpperBoundExclusive() .equals(other.getQueryTimestampUpperBoundExclusive())) return false; } if (!getFeaturesList() .equals(other.getFeaturesList())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getPageToken() .equals(other.getPageToken())) return false; if (!getTableIdentifierCase().equals(other.getTableIdentifierCase())) return false; switch (tableIdentifierCase_) { case 1: if (!getOperationIdIdentifier() .equals(other.getOperationIdIdentifier())) return false; break; case 2: if (!getTableNameIdentifier() .equals(other.getTableNameIdentifier())) return false; break; case 0: default: } 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 (hasQueryTimestampLowerBoundInclusive()) { hash = (37 * hash) + QUERY_TIMESTAMP_LOWER_BOUND_INCLUSIVE_FIELD_NUMBER; hash = (53 * hash) + getQueryTimestampLowerBoundInclusive().hashCode(); } if (hasQueryTimestampUpperBoundExclusive()) { hash = (37 * hash) + QUERY_TIMESTAMP_UPPER_BOUND_EXCLUSIVE_FIELD_NUMBER; hash = (53 * hash) + getQueryTimestampUpperBoundExclusive().hashCode(); } if (getFeaturesCount() > 0) { hash = (37 * hash) + FEATURES_FIELD_NUMBER; hash = (53 * hash) + getFeaturesList().hashCode(); } hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); switch (tableIdentifierCase_) { case 1: hash = (37 * hash) + OPERATION_ID_IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getOperationIdIdentifier().hashCode(); break; case 2: hash = (37 * hash) + TABLE_NAME_IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getTableNameIdentifier().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.engine.v2.GetQueryValuesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.GetQueryValuesRequest) ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest.class, ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getQueryTimestampLowerBoundInclusiveFieldBuilder(); getQueryTimestampUpperBoundExclusiveFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (operationIdIdentifierBuilder_ != null) { operationIdIdentifierBuilder_.clear(); } if (tableNameIdentifierBuilder_ != null) { tableNameIdentifierBuilder_.clear(); } queryTimestampLowerBoundInclusive_ = null; if (queryTimestampLowerBoundInclusiveBuilder_ != null) { queryTimestampLowerBoundInclusiveBuilder_.dispose(); queryTimestampLowerBoundInclusiveBuilder_ = null; } queryTimestampUpperBoundExclusive_ = null; if (queryTimestampUpperBoundExclusiveBuilder_ != null) { queryTimestampUpperBoundExclusiveBuilder_.dispose(); queryTimestampUpperBoundExclusiveBuilder_ = null; } features_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageSize_ = 0; pageToken_ = ""; tableIdentifierCase_ = 0; tableIdentifier_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesRequest_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest build() { ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest buildPartial() { ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest result = new ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.queryTimestampLowerBoundInclusive_ = queryTimestampLowerBoundInclusiveBuilder_ == null ? queryTimestampLowerBoundInclusive_ : queryTimestampLowerBoundInclusiveBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.queryTimestampUpperBoundExclusive_ = queryTimestampUpperBoundExclusiveBuilder_ == null ? queryTimestampUpperBoundExclusive_ : queryTimestampUpperBoundExclusiveBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { features_.makeImmutable(); result.features_ = features_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.pageSize_ = pageSize_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.pageToken_ = pageToken_; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest result) { result.tableIdentifierCase_ = tableIdentifierCase_; result.tableIdentifier_ = this.tableIdentifier_; if (tableIdentifierCase_ == 1 && operationIdIdentifierBuilder_ != null) { result.tableIdentifier_ = operationIdIdentifierBuilder_.build(); } if (tableIdentifierCase_ == 2 && tableNameIdentifierBuilder_ != null) { result.tableIdentifier_ = tableNameIdentifierBuilder_.build(); } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest other) { if (other == ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest.getDefaultInstance()) return this; if (other.hasQueryTimestampLowerBoundInclusive()) { mergeQueryTimestampLowerBoundInclusive(other.getQueryTimestampLowerBoundInclusive()); } if (other.hasQueryTimestampUpperBoundExclusive()) { mergeQueryTimestampUpperBoundExclusive(other.getQueryTimestampUpperBoundExclusive()); } if (!other.features_.isEmpty()) { if (features_.isEmpty()) { features_ = other.features_; bitField0_ |= 0x00000010; } else { ensureFeaturesIsMutable(); features_.addAll(other.features_); } onChanged(); } if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; bitField0_ |= 0x00000040; onChanged(); } switch (other.getTableIdentifierCase()) { case OPERATION_ID_IDENTIFIER: { mergeOperationIdIdentifier(other.getOperationIdIdentifier()); break; } case TABLE_NAME_IDENTIFIER: { mergeTableNameIdentifier(other.getTableNameIdentifier()); break; } case TABLEIDENTIFIER_NOT_SET: { break; } } 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( getOperationIdIdentifierFieldBuilder().getBuilder(), extensionRegistry); tableIdentifierCase_ = 1; break; } // case 10 case 18: { input.readMessage( getTableNameIdentifierFieldBuilder().getBuilder(), extensionRegistry); tableIdentifierCase_ = 2; break; } // case 18 case 26: { input.readMessage( getQueryTimestampLowerBoundInclusiveFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getQueryTimestampUpperBoundExclusiveFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { java.lang.String s = input.readStringRequireUtf8(); ensureFeaturesIsMutable(); features_.add(s); break; } // case 42 case 56: { pageSize_ = input.readInt32(); bitField0_ |= 0x00000020; break; } // case 56 case 66: { pageToken_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000040; break; } // case 66 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 tableIdentifierCase_ = 0; private java.lang.Object tableIdentifier_; public TableIdentifierCase getTableIdentifierCase() { return TableIdentifierCase.forNumber( tableIdentifierCase_); } public Builder clearTableIdentifier() { tableIdentifierCase_ = 0; tableIdentifier_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier, ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.Builder, ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifierOrBuilder> operationIdIdentifierBuilder_; /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> * @return Whether the operationIdIdentifier field is set. */ @java.lang.Override public boolean hasOperationIdIdentifier() { return tableIdentifierCase_ == 1; } /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> * @return The operationIdIdentifier. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier getOperationIdIdentifier() { if (operationIdIdentifierBuilder_ == null) { if (tableIdentifierCase_ == 1) { return (ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier) tableIdentifier_; } return ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.getDefaultInstance(); } else { if (tableIdentifierCase_ == 1) { return operationIdIdentifierBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.getDefaultInstance(); } } /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> */ public Builder setOperationIdIdentifier(ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier value) { if (operationIdIdentifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableIdentifier_ = value; onChanged(); } else { operationIdIdentifierBuilder_.setMessage(value); } tableIdentifierCase_ = 1; return this; } /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> */ public Builder setOperationIdIdentifier( ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.Builder builderForValue) { if (operationIdIdentifierBuilder_ == null) { tableIdentifier_ = builderForValue.build(); onChanged(); } else { operationIdIdentifierBuilder_.setMessage(builderForValue.build()); } tableIdentifierCase_ = 1; return this; } /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> */ public Builder mergeOperationIdIdentifier(ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier value) { if (operationIdIdentifierBuilder_ == null) { if (tableIdentifierCase_ == 1 && tableIdentifier_ != ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.getDefaultInstance()) { tableIdentifier_ = ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.newBuilder((ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier) tableIdentifier_) .mergeFrom(value).buildPartial(); } else { tableIdentifier_ = value; } onChanged(); } else { if (tableIdentifierCase_ == 1) { operationIdIdentifierBuilder_.mergeFrom(value); } else { operationIdIdentifierBuilder_.setMessage(value); } } tableIdentifierCase_ = 1; return this; } /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> */ public Builder clearOperationIdIdentifier() { if (operationIdIdentifierBuilder_ == null) { if (tableIdentifierCase_ == 1) { tableIdentifierCase_ = 0; tableIdentifier_ = null; onChanged(); } } else { if (tableIdentifierCase_ == 1) { tableIdentifierCase_ = 0; tableIdentifier_ = null; } operationIdIdentifierBuilder_.clear(); } return this; } /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> */ public ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.Builder getOperationIdIdentifierBuilder() { return getOperationIdIdentifierFieldBuilder().getBuilder(); } /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifierOrBuilder getOperationIdIdentifierOrBuilder() { if ((tableIdentifierCase_ == 1) && (operationIdIdentifierBuilder_ != null)) { return operationIdIdentifierBuilder_.getMessageOrBuilder(); } else { if (tableIdentifierCase_ == 1) { return (ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier) tableIdentifier_; } return ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.getDefaultInstance(); } } /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier, ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.Builder, ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifierOrBuilder> getOperationIdIdentifierFieldBuilder() { if (operationIdIdentifierBuilder_ == null) { if (!(tableIdentifierCase_ == 1)) { tableIdentifier_ = ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.getDefaultInstance(); } operationIdIdentifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier, ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.Builder, ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifierOrBuilder>( (ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier) tableIdentifier_, getParentForChildren(), isClean()); tableIdentifier_ = null; } tableIdentifierCase_ = 1; onChanged(); return operationIdIdentifierBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier, ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.Builder, ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifierOrBuilder> tableNameIdentifierBuilder_; /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> * @return Whether the tableNameIdentifier field is set. */ @java.lang.Override public boolean hasTableNameIdentifier() { return tableIdentifierCase_ == 2; } /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> * @return The tableNameIdentifier. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier getTableNameIdentifier() { if (tableNameIdentifierBuilder_ == null) { if (tableIdentifierCase_ == 2) { return (ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier) tableIdentifier_; } return ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.getDefaultInstance(); } else { if (tableIdentifierCase_ == 2) { return tableNameIdentifierBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.getDefaultInstance(); } } /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> */ public Builder setTableNameIdentifier(ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier value) { if (tableNameIdentifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableIdentifier_ = value; onChanged(); } else { tableNameIdentifierBuilder_.setMessage(value); } tableIdentifierCase_ = 2; return this; } /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> */ public Builder setTableNameIdentifier( ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.Builder builderForValue) { if (tableNameIdentifierBuilder_ == null) { tableIdentifier_ = builderForValue.build(); onChanged(); } else { tableNameIdentifierBuilder_.setMessage(builderForValue.build()); } tableIdentifierCase_ = 2; return this; } /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> */ public Builder mergeTableNameIdentifier(ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier value) { if (tableNameIdentifierBuilder_ == null) { if (tableIdentifierCase_ == 2 && tableIdentifier_ != ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.getDefaultInstance()) { tableIdentifier_ = ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.newBuilder((ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier) tableIdentifier_) .mergeFrom(value).buildPartial(); } else { tableIdentifier_ = value; } onChanged(); } else { if (tableIdentifierCase_ == 2) { tableNameIdentifierBuilder_.mergeFrom(value); } else { tableNameIdentifierBuilder_.setMessage(value); } } tableIdentifierCase_ = 2; return this; } /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> */ public Builder clearTableNameIdentifier() { if (tableNameIdentifierBuilder_ == null) { if (tableIdentifierCase_ == 2) { tableIdentifierCase_ = 0; tableIdentifier_ = null; onChanged(); } } else { if (tableIdentifierCase_ == 2) { tableIdentifierCase_ = 0; tableIdentifier_ = null; } tableNameIdentifierBuilder_.clear(); } return this; } /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> */ public ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.Builder getTableNameIdentifierBuilder() { return getTableNameIdentifierFieldBuilder().getBuilder(); } /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifierOrBuilder getTableNameIdentifierOrBuilder() { if ((tableIdentifierCase_ == 2) && (tableNameIdentifierBuilder_ != null)) { return tableNameIdentifierBuilder_.getMessageOrBuilder(); } else { if (tableIdentifierCase_ == 2) { return (ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier) tableIdentifier_; } return ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.getDefaultInstance(); } } /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier, ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.Builder, ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifierOrBuilder> getTableNameIdentifierFieldBuilder() { if (tableNameIdentifierBuilder_ == null) { if (!(tableIdentifierCase_ == 2)) { tableIdentifier_ = ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.getDefaultInstance(); } tableNameIdentifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier, ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.Builder, ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifierOrBuilder>( (ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier) tableIdentifier_, getParentForChildren(), isClean()); tableIdentifier_ = null; } tableIdentifierCase_ = 2; onChanged(); return tableNameIdentifierBuilder_; } private com.google.protobuf.Timestamp queryTimestampLowerBoundInclusive_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> queryTimestampLowerBoundInclusiveBuilder_; /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> * @return Whether the queryTimestampLowerBoundInclusive field is set. */ public boolean hasQueryTimestampLowerBoundInclusive() { return ((bitField0_ & 0x00000004) != 0); } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> * @return The queryTimestampLowerBoundInclusive. */ public com.google.protobuf.Timestamp getQueryTimestampLowerBoundInclusive() { if (queryTimestampLowerBoundInclusiveBuilder_ == null) { return queryTimestampLowerBoundInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampLowerBoundInclusive_; } else { return queryTimestampLowerBoundInclusiveBuilder_.getMessage(); } } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ public Builder setQueryTimestampLowerBoundInclusive(com.google.protobuf.Timestamp value) { if (queryTimestampLowerBoundInclusiveBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryTimestampLowerBoundInclusive_ = value; } else { queryTimestampLowerBoundInclusiveBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ public Builder setQueryTimestampLowerBoundInclusive( com.google.protobuf.Timestamp.Builder builderForValue) { if (queryTimestampLowerBoundInclusiveBuilder_ == null) { queryTimestampLowerBoundInclusive_ = builderForValue.build(); } else { queryTimestampLowerBoundInclusiveBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ public Builder mergeQueryTimestampLowerBoundInclusive(com.google.protobuf.Timestamp value) { if (queryTimestampLowerBoundInclusiveBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && queryTimestampLowerBoundInclusive_ != null && queryTimestampLowerBoundInclusive_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getQueryTimestampLowerBoundInclusiveBuilder().mergeFrom(value); } else { queryTimestampLowerBoundInclusive_ = value; } } else { queryTimestampLowerBoundInclusiveBuilder_.mergeFrom(value); } if (queryTimestampLowerBoundInclusive_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ public Builder clearQueryTimestampLowerBoundInclusive() { bitField0_ = (bitField0_ & ~0x00000004); queryTimestampLowerBoundInclusive_ = null; if (queryTimestampLowerBoundInclusiveBuilder_ != null) { queryTimestampLowerBoundInclusiveBuilder_.dispose(); queryTimestampLowerBoundInclusiveBuilder_ = null; } onChanged(); return this; } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ public com.google.protobuf.Timestamp.Builder getQueryTimestampLowerBoundInclusiveBuilder() { bitField0_ |= 0x00000004; onChanged(); return getQueryTimestampLowerBoundInclusiveFieldBuilder().getBuilder(); } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ public com.google.protobuf.TimestampOrBuilder getQueryTimestampLowerBoundInclusiveOrBuilder() { if (queryTimestampLowerBoundInclusiveBuilder_ != null) { return queryTimestampLowerBoundInclusiveBuilder_.getMessageOrBuilder(); } else { return queryTimestampLowerBoundInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampLowerBoundInclusive_; } } /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getQueryTimestampLowerBoundInclusiveFieldBuilder() { if (queryTimestampLowerBoundInclusiveBuilder_ == null) { queryTimestampLowerBoundInclusiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getQueryTimestampLowerBoundInclusive(), getParentForChildren(), isClean()); queryTimestampLowerBoundInclusive_ = null; } return queryTimestampLowerBoundInclusiveBuilder_; } private com.google.protobuf.Timestamp queryTimestampUpperBoundExclusive_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> queryTimestampUpperBoundExclusiveBuilder_; /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> * @return Whether the queryTimestampUpperBoundExclusive field is set. */ public boolean hasQueryTimestampUpperBoundExclusive() { return ((bitField0_ & 0x00000008) != 0); } /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> * @return The queryTimestampUpperBoundExclusive. */ public com.google.protobuf.Timestamp getQueryTimestampUpperBoundExclusive() { if (queryTimestampUpperBoundExclusiveBuilder_ == null) { return queryTimestampUpperBoundExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampUpperBoundExclusive_; } else { return queryTimestampUpperBoundExclusiveBuilder_.getMessage(); } } /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ public Builder setQueryTimestampUpperBoundExclusive(com.google.protobuf.Timestamp value) { if (queryTimestampUpperBoundExclusiveBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryTimestampUpperBoundExclusive_ = value; } else { queryTimestampUpperBoundExclusiveBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ public Builder setQueryTimestampUpperBoundExclusive( com.google.protobuf.Timestamp.Builder builderForValue) { if (queryTimestampUpperBoundExclusiveBuilder_ == null) { queryTimestampUpperBoundExclusive_ = builderForValue.build(); } else { queryTimestampUpperBoundExclusiveBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ public Builder mergeQueryTimestampUpperBoundExclusive(com.google.protobuf.Timestamp value) { if (queryTimestampUpperBoundExclusiveBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && queryTimestampUpperBoundExclusive_ != null && queryTimestampUpperBoundExclusive_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getQueryTimestampUpperBoundExclusiveBuilder().mergeFrom(value); } else { queryTimestampUpperBoundExclusive_ = value; } } else { queryTimestampUpperBoundExclusiveBuilder_.mergeFrom(value); } if (queryTimestampUpperBoundExclusive_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ public Builder clearQueryTimestampUpperBoundExclusive() { bitField0_ = (bitField0_ & ~0x00000008); queryTimestampUpperBoundExclusive_ = null; if (queryTimestampUpperBoundExclusiveBuilder_ != null) { queryTimestampUpperBoundExclusiveBuilder_.dispose(); queryTimestampUpperBoundExclusiveBuilder_ = null; } onChanged(); return this; } /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ public com.google.protobuf.Timestamp.Builder getQueryTimestampUpperBoundExclusiveBuilder() { bitField0_ |= 0x00000008; onChanged(); return getQueryTimestampUpperBoundExclusiveFieldBuilder().getBuilder(); } /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ public com.google.protobuf.TimestampOrBuilder getQueryTimestampUpperBoundExclusiveOrBuilder() { if (queryTimestampUpperBoundExclusiveBuilder_ != null) { return queryTimestampUpperBoundExclusiveBuilder_.getMessageOrBuilder(); } else { return queryTimestampUpperBoundExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestampUpperBoundExclusive_; } } /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getQueryTimestampUpperBoundExclusiveFieldBuilder() { if (queryTimestampUpperBoundExclusiveBuilder_ == null) { queryTimestampUpperBoundExclusiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getQueryTimestampUpperBoundExclusive(), getParentForChildren(), isClean()); queryTimestampUpperBoundExclusive_ = null; } return queryTimestampUpperBoundExclusiveBuilder_; } private com.google.protobuf.LazyStringArrayList features_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureFeaturesIsMutable() { if (!features_.isModifiable()) { features_ = new com.google.protobuf.LazyStringArrayList(features_); } bitField0_ |= 0x00000010; } /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @return A list containing the features. */ public com.google.protobuf.ProtocolStringList getFeaturesList() { features_.makeImmutable(); return features_; } /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @return The count of features. */ public int getFeaturesCount() { return features_.size(); } /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @param index The index of the element to return. * @return The features at the given index. */ public java.lang.String getFeatures(int index) { return features_.get(index); } /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @param index The index of the value to return. * @return The bytes of the features at the given index. */ public com.google.protobuf.ByteString getFeaturesBytes(int index) { return features_.getByteString(index); } /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @param index The index to set the value at. * @param value The features to set. * @return This builder for chaining. */ public Builder setFeatures( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFeaturesIsMutable(); features_.set(index, value); bitField0_ |= 0x00000010; onChanged(); return this; } /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @param value The features to add. * @return This builder for chaining. */ public Builder addFeatures( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFeaturesIsMutable(); features_.add(value); bitField0_ |= 0x00000010; onChanged(); return this; } /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @param values The features to add. * @return This builder for chaining. */ public Builder addAllFeatures( java.lang.Iterable<java.lang.String> values) { ensureFeaturesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, features_); bitField0_ |= 0x00000010; onChanged(); return this; } /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @return This builder for chaining. */ public Builder clearFeatures() { features_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @param value The bytes of the features to add. * @return This builder for chaining. */ public Builder addFeaturesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFeaturesIsMutable(); features_.add(value); bitField0_ |= 0x00000010; onChanged(); return this; } private int pageSize_ ; /** * <pre> * The (maximum) page size for results. If zero, then the server picks. * </pre> * * <code>int32 page_size = 7 [json_name = "pageSize"];</code> * @return The pageSize. */ @java.lang.Override public int getPageSize() { return pageSize_; } /** * <pre> * The (maximum) page size for results. If zero, then the server picks. * </pre> * * <code>int32 page_size = 7 [json_name = "pageSize"];</code> * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { pageSize_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * <pre> * The (maximum) page size for results. If zero, then the server picks. * </pre> * * <code>int32 page_size = 7 [json_name = "pageSize"];</code> * @return This builder for chaining. */ public Builder clearPageSize() { bitField0_ = (bitField0_ & ~0x00000020); pageSize_ = 0; onChanged(); return this; } private java.lang.Object pageToken_ = ""; /** * <pre> * When dealing with paginated responses, specify the next token to resume where you left off. The subsequent request must be identicial to the original (except for the value of the next_token) * Leave empty if querying for the zeroth page. * </pre> * * <code>string page_token = 8 [json_name = "pageToken"];</code> * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * <pre> * When dealing with paginated responses, specify the next token to resume where you left off. The subsequent request must be identicial to the original (except for the value of the next_token) * Leave empty if querying for the zeroth page. * </pre> * * <code>string page_token = 8 [json_name = "pageToken"];</code> * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <pre> * When dealing with paginated responses, specify the next token to resume where you left off. The subsequent request must be identicial to the original (except for the value of the next_token) * Leave empty if querying for the zeroth page. * </pre> * * <code>string page_token = 8 [json_name = "pageToken"];</code> * @param value The pageToken to set. * @return This builder for chaining. */ public Builder setPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * <pre> * When dealing with paginated responses, specify the next token to resume where you left off. The subsequent request must be identicial to the original (except for the value of the next_token) * Leave empty if querying for the zeroth page. * </pre> * * <code>string page_token = 8 [json_name = "pageToken"];</code> * @return This builder for chaining. */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** * <pre> * When dealing with paginated responses, specify the next token to resume where you left off. The subsequent request must be identicial to the original (except for the value of the next_token) * Leave empty if querying for the zeroth page. * </pre> * * <code>string page_token = 8 [json_name = "pageToken"];</code> * @param value The bytes for pageToken to set. * @return This builder for chaining. */ public Builder setPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.GetQueryValuesRequest) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.GetQueryValuesRequest) private static final ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest(); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetQueryValuesRequest> PARSER = new com.google.protobuf.AbstractParser<GetQueryValuesRequest>() { @java.lang.Override public GetQueryValuesRequest 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<GetQueryValuesRequest> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetQueryValuesRequest> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetQueryValuesRequestOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface GetQueryValuesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.GetQueryValuesRequest) com.google.protobuf.MessageOrBuilder { /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> * @return Whether the operationIdIdentifier field is set. */ boolean hasOperationIdIdentifier(); /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> * @return The operationIdIdentifier. */ ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier getOperationIdIdentifier(); /** * <pre> * Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, * and the engine can figure out what table to query. * </pre> * * <code>.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];</code> */ ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifierOrBuilder getOperationIdIdentifierOrBuilder(); /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> * @return Whether the tableNameIdentifier field is set. */ boolean hasTableNameIdentifier(); /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> * @return The tableNameIdentifier. */ ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier getTableNameIdentifier(); /** * <pre> * For use case 2, you have to specify which table name to look up, if you want to query across multiple queries * </pre> * * <code>.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];</code> */ ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifierOrBuilder getTableNameIdentifierOrBuilder(); /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> * @return Whether the queryTimestampLowerBoundInclusive field is set. */ boolean hasQueryTimestampLowerBoundInclusive(); /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> * @return The queryTimestampLowerBoundInclusive. */ com.google.protobuf.Timestamp getQueryTimestampLowerBoundInclusive(); /** * <pre> * The query log table is partitioned / sorted by timestamp, so we must provide these * for the queries to be efficient, even if we are querying for a single operation id * This is always required. * If you know the operation id, then its feasible that you know the exact query timestamp, too. * </pre> * * <code>.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];</code> */ com.google.protobuf.TimestampOrBuilder getQueryTimestampLowerBoundInclusiveOrBuilder(); /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> * @return Whether the queryTimestampUpperBoundExclusive field is set. */ boolean hasQueryTimestampUpperBoundExclusive(); /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> * @return The queryTimestampUpperBoundExclusive. */ com.google.protobuf.Timestamp getQueryTimestampUpperBoundExclusive(); /** * <pre> * If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter * </pre> * * <code>optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];</code> */ com.google.protobuf.TimestampOrBuilder getQueryTimestampUpperBoundExclusiveOrBuilder(); /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @return A list containing the features. */ java.util.List<java.lang.String> getFeaturesList(); /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @return The count of features. */ int getFeaturesCount(); /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @param index The index of the element to return. * @return The features at the given index. */ java.lang.String getFeatures(int index); /** * <pre> * If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. * If empty, all features will be returned * </pre> * * <code>repeated string features = 5 [json_name = "features"];</code> * @param index The index of the value to return. * @return The bytes of the features at the given index. */ com.google.protobuf.ByteString getFeaturesBytes(int index); /** * <pre> * The (maximum) page size for results. If zero, then the server picks. * </pre> * * <code>int32 page_size = 7 [json_name = "pageSize"];</code> * @return The pageSize. */ int getPageSize(); /** * <pre> * When dealing with paginated responses, specify the next token to resume where you left off. The subsequent request must be identicial to the original (except for the value of the next_token) * Leave empty if querying for the zeroth page. * </pre> * * <code>string page_token = 8 [json_name = "pageToken"];</code> * @return The pageToken. */ java.lang.String getPageToken(); /** * <pre> * When dealing with paginated responses, specify the next token to resume where you left off. The subsequent request must be identicial to the original (except for the value of the next_token) * Leave empty if querying for the zeroth page. * </pre> * * <code>string page_token = 8 [json_name = "pageToken"];</code> * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest.TableIdentifierCase getTableIdentifierCase(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetQueryValuesResponse.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * Protobuf type {@code chalk.engine.v2.GetQueryValuesResponse} */ public final class GetQueryValuesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.GetQueryValuesResponse) GetQueryValuesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetQueryValuesResponse.newBuilder() to construct. private GetQueryValuesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetQueryValuesResponse() { nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetQueryValuesResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse.class, ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse.Builder.class); } private int payloadCase_ = 0; @SuppressWarnings("serial") private java.lang.Object payload_; public enum PayloadCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PARQUET(2), PAYLOAD_NOT_SET(0); private final int value; private PayloadCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PayloadCase valueOf(int value) { return forNumber(value); } public static PayloadCase forNumber(int value) { switch (value) { case 2: return PARQUET; case 0: return PAYLOAD_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public PayloadCase getPayloadCase() { return PayloadCase.forNumber( payloadCase_); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return The nextPageToken. */ @java.lang.Override public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return The bytes for nextPageToken. */ @java.lang.Override public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARQUET_FIELD_NUMBER = 2; /** * <code>bytes parquet = 2 [json_name = "parquet"];</code> * @return Whether the parquet field is set. */ @java.lang.Override public boolean hasParquet() { return payloadCase_ == 2; } /** * <code>bytes parquet = 2 [json_name = "parquet"];</code> * @return The parquet. */ @java.lang.Override public com.google.protobuf.ByteString getParquet() { if (payloadCase_ == 2) { return (com.google.protobuf.ByteString) payload_; } return com.google.protobuf.ByteString.EMPTY; } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nextPageToken_); } if (payloadCase_ == 2) { output.writeBytes( 2, (com.google.protobuf.ByteString) payload_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, nextPageToken_); } if (payloadCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeBytesSize( 2, (com.google.protobuf.ByteString) payload_); } 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 ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse other = (ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse) obj; if (!getNextPageToken() .equals(other.getNextPageToken())) return false; if (!getPayloadCase().equals(other.getPayloadCase())) return false; switch (payloadCase_) { case 2: if (!getParquet() .equals(other.getParquet())) return false; break; case 0: default: } 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(); hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); switch (payloadCase_) { case 2: hash = (37 * hash) + PARQUET_FIELD_NUMBER; hash = (53 * hash) + getParquet().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.engine.v2.GetQueryValuesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.GetQueryValuesResponse) ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse.class, ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; nextPageToken_ = ""; payloadCase_ = 0; payload_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_GetQueryValuesResponse_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse build() { ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse buildPartial() { ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse result = new ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.nextPageToken_ = nextPageToken_; } } private void buildPartialOneofs(ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse result) { result.payloadCase_ = payloadCase_; result.payload_ = this.payload_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse other) { if (other == ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse.getDefaultInstance()) return this; if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getPayloadCase()) { case PARQUET: { setParquet(other.getParquet()); break; } case PAYLOAD_NOT_SET: { break; } } 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: { nextPageToken_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { payload_ = input.readBytes(); payloadCase_ = 2; 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 payloadCase_ = 0; private java.lang.Object payload_; public PayloadCase getPayloadCase() { return PayloadCase.forNumber( payloadCase_); } public Builder clearPayload() { payloadCase_ = 0; payload_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object nextPageToken_ = ""; /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @param value The nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return This builder for chaining. */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>bytes parquet = 2 [json_name = "parquet"];</code> * @return Whether the parquet field is set. */ public boolean hasParquet() { return payloadCase_ == 2; } /** * <code>bytes parquet = 2 [json_name = "parquet"];</code> * @return The parquet. */ public com.google.protobuf.ByteString getParquet() { if (payloadCase_ == 2) { return (com.google.protobuf.ByteString) payload_; } return com.google.protobuf.ByteString.EMPTY; } /** * <code>bytes parquet = 2 [json_name = "parquet"];</code> * @param value The parquet to set. * @return This builder for chaining. */ public Builder setParquet(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } payloadCase_ = 2; payload_ = value; onChanged(); return this; } /** * <code>bytes parquet = 2 [json_name = "parquet"];</code> * @return This builder for chaining. */ public Builder clearParquet() { if (payloadCase_ == 2) { payloadCase_ = 0; payload_ = null; onChanged(); } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.GetQueryValuesResponse) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.GetQueryValuesResponse) private static final ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse(); } public static ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetQueryValuesResponse> PARSER = new com.google.protobuf.AbstractParser<GetQueryValuesResponse>() { @java.lang.Override public GetQueryValuesResponse 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<GetQueryValuesResponse> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetQueryValuesResponse> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/GetQueryValuesResponseOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface GetQueryValuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.GetQueryValuesResponse) com.google.protobuf.MessageOrBuilder { /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** * <pre> * If non-empty, call this endpoint again, with this next token to get the next page of responses. * </pre> * * <code>string next_page_token = 1 [json_name = "nextPageToken"];</code> * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); /** * <code>bytes parquet = 2 [json_name = "parquet"];</code> * @return Whether the parquet field is set. */ boolean hasParquet(); /** * <code>bytes parquet = 2 [json_name = "parquet"];</code> * @return The parquet. */ com.google.protobuf.ByteString getParquet(); ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse.PayloadCase getPayloadCase(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/OfflineStoreServiceDummy.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/offline_store_service.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * Protobuf type {@code chalk.engine.v2.OfflineStoreServiceDummy} */ public final class OfflineStoreServiceDummy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.OfflineStoreServiceDummy) OfflineStoreServiceDummyOrBuilder { private static final long serialVersionUID = 0L; // Use OfflineStoreServiceDummy.newBuilder() to construct. private OfflineStoreServiceDummy(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private OfflineStoreServiceDummy() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OfflineStoreServiceDummy(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceProto.internal_static_chalk_engine_v2_OfflineStoreServiceDummy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceProto.internal_static_chalk_engine_v2_OfflineStoreServiceDummy_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy.class, ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy.Builder.class); } 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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy other = (ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy) obj; 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(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.engine.v2.OfflineStoreServiceDummy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.OfflineStoreServiceDummy) ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceProto.internal_static_chalk_engine_v2_OfflineStoreServiceDummy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceProto.internal_static_chalk_engine_v2_OfflineStoreServiceDummy_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy.class, ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceProto.internal_static_chalk_engine_v2_OfflineStoreServiceDummy_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy build() { ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy buildPartial() { ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy result = new ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy other) { if (other == ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy.getDefaultInstance()) return this; 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; 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; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.OfflineStoreServiceDummy) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.OfflineStoreServiceDummy) private static final ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy(); } public static ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<OfflineStoreServiceDummy> PARSER = new com.google.protobuf.AbstractParser<OfflineStoreServiceDummy>() { @java.lang.Override public OfflineStoreServiceDummy 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<OfflineStoreServiceDummy> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<OfflineStoreServiceDummy> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceDummy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/OfflineStoreServiceDummyOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/offline_store_service.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface OfflineStoreServiceDummyOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.OfflineStoreServiceDummy) com.google.protobuf.MessageOrBuilder { }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/OfflineStoreServiceGrpc.java
package ai.chalk.protos.chalk.engine.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** * <pre> * This service exposes endpoints for dealing with the offline store. It should never depend on the python graph. * v2 introduces two breaking changes: * Uses messages from engine.v2 instead of common.v1 (common is not meant for engine-specific messages) * Removes certain endpoints added and had to be immediately deprecated due to deprecation * </pre> */ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.64.0)", comments = "Source: chalk/engine/v2/offline_store_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class OfflineStoreServiceGrpc { private OfflineStoreServiceGrpc() {} public static final java.lang.String SERVICE_NAME = "chalk.engine.v2.OfflineStoreService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest, ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse> getGetQueryLogEntriesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetQueryLogEntries", requestType = ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest.class, responseType = ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest, ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse> getGetQueryLogEntriesMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest, ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse> getGetQueryLogEntriesMethod; if ((getGetQueryLogEntriesMethod = OfflineStoreServiceGrpc.getGetQueryLogEntriesMethod) == null) { synchronized (OfflineStoreServiceGrpc.class) { if ((getGetQueryLogEntriesMethod = OfflineStoreServiceGrpc.getGetQueryLogEntriesMethod) == null) { OfflineStoreServiceGrpc.getGetQueryLogEntriesMethod = getGetQueryLogEntriesMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest, ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueryLogEntries")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse.getDefaultInstance())) .setSchemaDescriptor(new OfflineStoreServiceMethodDescriptorSupplier("GetQueryLogEntries")) .build(); } } } return getGetQueryLogEntriesMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest, ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse> getGetQueryValuesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetQueryValues", requestType = ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest.class, responseType = ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest, ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse> getGetQueryValuesMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest, ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse> getGetQueryValuesMethod; if ((getGetQueryValuesMethod = OfflineStoreServiceGrpc.getGetQueryValuesMethod) == null) { synchronized (OfflineStoreServiceGrpc.class) { if ((getGetQueryValuesMethod = OfflineStoreServiceGrpc.getGetQueryValuesMethod) == null) { OfflineStoreServiceGrpc.getGetQueryValuesMethod = getGetQueryValuesMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest, ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueryValues")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse.getDefaultInstance())) .setSchemaDescriptor(new OfflineStoreServiceMethodDescriptorSupplier("GetQueryValues")) .build(); } } } return getGetQueryValuesMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse> getGetFeatureValuesTimeSeriesChartMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetFeatureValuesTimeSeriesChart", requestType = ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest.class, responseType = ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse> getGetFeatureValuesTimeSeriesChartMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse> getGetFeatureValuesTimeSeriesChartMethod; if ((getGetFeatureValuesTimeSeriesChartMethod = OfflineStoreServiceGrpc.getGetFeatureValuesTimeSeriesChartMethod) == null) { synchronized (OfflineStoreServiceGrpc.class) { if ((getGetFeatureValuesTimeSeriesChartMethod = OfflineStoreServiceGrpc.getGetFeatureValuesTimeSeriesChartMethod) == null) { OfflineStoreServiceGrpc.getGetFeatureValuesTimeSeriesChartMethod = getGetFeatureValuesTimeSeriesChartMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeatureValuesTimeSeriesChart")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse.getDefaultInstance())) .setSchemaDescriptor(new OfflineStoreServiceMethodDescriptorSupplier("GetFeatureValuesTimeSeriesChart")) .build(); } } } return getGetFeatureValuesTimeSeriesChartMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse> getGetFeatureValuesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetFeatureValues", requestType = ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest.class, responseType = ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse> getGetFeatureValuesMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse> getGetFeatureValuesMethod; if ((getGetFeatureValuesMethod = OfflineStoreServiceGrpc.getGetFeatureValuesMethod) == null) { synchronized (OfflineStoreServiceGrpc.class) { if ((getGetFeatureValuesMethod = OfflineStoreServiceGrpc.getGetFeatureValuesMethod) == null) { OfflineStoreServiceGrpc.getGetFeatureValuesMethod = getGetFeatureValuesMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeatureValues")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse.getDefaultInstance())) .setSchemaDescriptor(new OfflineStoreServiceMethodDescriptorSupplier("GetFeatureValues")) .build(); } } } return getGetFeatureValuesMethod; } /** * Creates a new async stub that supports all call types for the service */ public static OfflineStoreServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory<OfflineStoreServiceStub> factory = new io.grpc.stub.AbstractStub.StubFactory<OfflineStoreServiceStub>() { @java.lang.Override public OfflineStoreServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OfflineStoreServiceStub(channel, callOptions); } }; return OfflineStoreServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static OfflineStoreServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory<OfflineStoreServiceBlockingStub> factory = new io.grpc.stub.AbstractStub.StubFactory<OfflineStoreServiceBlockingStub>() { @java.lang.Override public OfflineStoreServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OfflineStoreServiceBlockingStub(channel, callOptions); } }; return OfflineStoreServiceBlockingStub.newStub(factory, channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static OfflineStoreServiceFutureStub newFutureStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory<OfflineStoreServiceFutureStub> factory = new io.grpc.stub.AbstractStub.StubFactory<OfflineStoreServiceFutureStub>() { @java.lang.Override public OfflineStoreServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OfflineStoreServiceFutureStub(channel, callOptions); } }; return OfflineStoreServiceFutureStub.newStub(factory, channel); } /** * <pre> * This service exposes endpoints for dealing with the offline store. It should never depend on the python graph. * v2 introduces two breaking changes: * Uses messages from engine.v2 instead of common.v1 (common is not meant for engine-specific messages) * Removes certain endpoints added and had to be immediately deprecated due to deprecation * </pre> */ public interface AsyncService { /** */ default void getQueryLogEntries(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueryLogEntriesMethod(), responseObserver); } /** */ default void getQueryValues(ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueryValuesMethod(), responseObserver); } /** */ default void getFeatureValuesTimeSeriesChart(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeatureValuesTimeSeriesChartMethod(), responseObserver); } /** */ default void getFeatureValues(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeatureValuesMethod(), responseObserver); } } /** * Base class for the server implementation of the service OfflineStoreService. * <pre> * This service exposes endpoints for dealing with the offline store. It should never depend on the python graph. * v2 introduces two breaking changes: * Uses messages from engine.v2 instead of common.v1 (common is not meant for engine-specific messages) * Removes certain endpoints added and had to be immediately deprecated due to deprecation * </pre> */ public static abstract class OfflineStoreServiceImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return OfflineStoreServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service OfflineStoreService. * <pre> * This service exposes endpoints for dealing with the offline store. It should never depend on the python graph. * v2 introduces two breaking changes: * Uses messages from engine.v2 instead of common.v1 (common is not meant for engine-specific messages) * Removes certain endpoints added and had to be immediately deprecated due to deprecation * </pre> */ public static final class OfflineStoreServiceStub extends io.grpc.stub.AbstractAsyncStub<OfflineStoreServiceStub> { private OfflineStoreServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected OfflineStoreServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OfflineStoreServiceStub(channel, callOptions); } /** */ public void getQueryLogEntries(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueryLogEntriesMethod(), getCallOptions()), request, responseObserver); } /** */ public void getQueryValues(ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueryValuesMethod(), getCallOptions()), request, responseObserver); } /** */ public void getFeatureValuesTimeSeriesChart(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetFeatureValuesTimeSeriesChartMethod(), getCallOptions()), request, responseObserver); } /** */ public void getFeatureValues(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetFeatureValuesMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service OfflineStoreService. * <pre> * This service exposes endpoints for dealing with the offline store. It should never depend on the python graph. * v2 introduces two breaking changes: * Uses messages from engine.v2 instead of common.v1 (common is not meant for engine-specific messages) * Removes certain endpoints added and had to be immediately deprecated due to deprecation * </pre> */ public static final class OfflineStoreServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<OfflineStoreServiceBlockingStub> { private OfflineStoreServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected OfflineStoreServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OfflineStoreServiceBlockingStub(channel, callOptions); } /** */ public ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse getQueryLogEntries(ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueryLogEntriesMethod(), getCallOptions(), request); } /** */ public ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse getQueryValues(ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueryValuesMethod(), getCallOptions(), request); } /** */ public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse getFeatureValuesTimeSeriesChart(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFeatureValuesTimeSeriesChartMethod(), getCallOptions(), request); } /** */ public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse getFeatureValues(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFeatureValuesMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service OfflineStoreService. * <pre> * This service exposes endpoints for dealing with the offline store. It should never depend on the python graph. * v2 introduces two breaking changes: * Uses messages from engine.v2 instead of common.v1 (common is not meant for engine-specific messages) * Removes certain endpoints added and had to be immediately deprecated due to deprecation * </pre> */ public static final class OfflineStoreServiceFutureStub extends io.grpc.stub.AbstractFutureStub<OfflineStoreServiceFutureStub> { private OfflineStoreServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected OfflineStoreServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OfflineStoreServiceFutureStub(channel, callOptions); } /** */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse> getQueryLogEntries( ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueryLogEntriesMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse> getQueryValues( ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueryValuesMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse> getFeatureValuesTimeSeriesChart( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetFeatureValuesTimeSeriesChartMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse> getFeatureValues( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetFeatureValuesMethod(), getCallOptions()), request); } } private static final int METHODID_GET_QUERY_LOG_ENTRIES = 0; private static final int METHODID_GET_QUERY_VALUES = 1; private static final int METHODID_GET_FEATURE_VALUES_TIME_SERIES_CHART = 2; private static final int METHODID_GET_FEATURE_VALUES = 3; private static final class MethodHandlers<Req, Resp> implements io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>, io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>, io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>, io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> { private final AsyncService serviceImpl; private final int methodId; MethodHandlers(AsyncService serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) { switch (methodId) { case METHODID_GET_QUERY_LOG_ENTRIES: serviceImpl.getQueryLogEntries((ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse>) responseObserver); break; case METHODID_GET_QUERY_VALUES: serviceImpl.getQueryValues((ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse>) responseObserver); break; case METHODID_GET_FEATURE_VALUES_TIME_SERIES_CHART: serviceImpl.getFeatureValuesTimeSeriesChart((ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse>) responseObserver); break; case METHODID_GET_FEATURE_VALUES: serviceImpl.getFeatureValues((ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse>) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver<Req> invoke( io.grpc.stub.StreamObserver<Resp> responseObserver) { switch (methodId) { default: throw new AssertionError(); } } } public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getGetQueryLogEntriesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesRequest, ai.chalk.protos.chalk.engine.v2.GetQueryLogEntriesResponse>( service, METHODID_GET_QUERY_LOG_ENTRIES))) .addMethod( getGetQueryValuesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest, ai.chalk.protos.chalk.engine.v2.GetQueryValuesResponse>( service, METHODID_GET_QUERY_VALUES))) .addMethod( getGetFeatureValuesTimeSeriesChartMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse>( service, METHODID_GET_FEATURE_VALUES_TIME_SERIES_CHART))) .addMethod( getGetFeatureValuesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesResponse>( service, METHODID_GET_FEATURE_VALUES))) .build(); } private static abstract class OfflineStoreServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { OfflineStoreServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return ai.chalk.protos.chalk.engine.v2.OfflineStoreServiceProto.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("OfflineStoreService"); } } private static final class OfflineStoreServiceFileDescriptorSupplier extends OfflineStoreServiceBaseDescriptorSupplier { OfflineStoreServiceFileDescriptorSupplier() {} } private static final class OfflineStoreServiceMethodDescriptorSupplier extends OfflineStoreServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final java.lang.String methodName; OfflineStoreServiceMethodDescriptorSupplier(java.lang.String methodName) { this.methodName = methodName; } @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (OfflineStoreServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new OfflineStoreServiceFileDescriptorSupplier()) .addMethod(getGetQueryLogEntriesMethod()) .addMethod(getGetQueryValuesMethod()) .addMethod(getGetFeatureValuesTimeSeriesChartMethod()) .addMethod(getGetFeatureValuesMethod()) .build(); } } } return result; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/OfflineStoreServiceProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/offline_store_service.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public final class OfflineStoreServiceProto { private OfflineStoreServiceProto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_OfflineStoreServiceDummy_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_OfflineStoreServiceDummy_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n+chalk/engine/v2/offline_store_service." + "proto\022\017chalk.engine.v2\032\037chalk/auth/v1/pe" + "rmissions.proto\032$chalk/engine/v2/feature" + "_values.proto\032*chalk/engine/v2/feature_v" + "alues_chart.proto\032\037chalk/engine/v2/query" + "_log.proto\032\"chalk/engine/v2/query_values" + ".proto\"\032\n\030OfflineStoreServiceDummy2\373\003\n\023O" + "fflineStoreService\022r\n\022GetQueryLogEntries" + "\022*.chalk.engine.v2.GetQueryLogEntriesReq" + "uest\032+.chalk.engine.v2.GetQueryLogEntrie" + "sResponse\"\003\200}\004\022f\n\016GetQueryValues\022&.chalk" + ".engine.v2.GetQueryValuesRequest\032\'.chalk" + ".engine.v2.GetQueryValuesResponse\"\003\200}\004\022\231" + "\001\n\037GetFeatureValuesTimeSeriesChart\0227.cha" + "lk.engine.v2.GetFeatureValuesTimeSeriesC" + "hartRequest\0328.chalk.engine.v2.GetFeature" + "ValuesTimeSeriesChartResponse\"\003\200}\004\022l\n\020Ge" + "tFeatureValues\022(.chalk.engine.v2.GetFeat" + "ureValuesRequest\032).chalk.engine.v2.GetFe" + "atureValuesResponse\"\003\200}\004B\231\001\n\037ai.chalk.pr" + "otos.chalk.engine.v2B\030OfflineStoreServic" + "eProtoP\001\242\002\003CEX\252\002\017Chalk.Engine.V2\312\002\017Chalk" + "\\Engine\\V2\342\002\033Chalk\\Engine\\V2\\GPBMetadata" + "\352\002\021Chalk::Engine::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { ai.chalk.protos.chalk.auth.v1.PermissionsProto.getDescriptor(), ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.getDescriptor(), ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.getDescriptor(), ai.chalk.protos.chalk.engine.v2.QueryLogProto.getDescriptor(), ai.chalk.protos.chalk.engine.v2.QueryValuesProto.getDescriptor(), }); internal_static_chalk_engine_v2_OfflineStoreServiceDummy_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_engine_v2_OfflineStoreServiceDummy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_OfflineStoreServiceDummy_descriptor, new java.lang.String[] { }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(ai.chalk.protos.chalk.auth.v1.PermissionsProto.permission); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); ai.chalk.protos.chalk.auth.v1.PermissionsProto.getDescriptor(); ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.getDescriptor(); ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.getDescriptor(); ai.chalk.protos.chalk.engine.v2.QueryLogProto.getDescriptor(); ai.chalk.protos.chalk.engine.v2.QueryValuesProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/OperationIdTableIdentifier.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * Protobuf type {@code chalk.engine.v2.OperationIdTableIdentifier} */ public final class OperationIdTableIdentifier extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.OperationIdTableIdentifier) OperationIdTableIdentifierOrBuilder { private static final long serialVersionUID = 0L; // Use OperationIdTableIdentifier.newBuilder() to construct. private OperationIdTableIdentifier(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private OperationIdTableIdentifier() { operationId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OperationIdTableIdentifier(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_OperationIdTableIdentifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_OperationIdTableIdentifier_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.class, ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.Builder.class); } public static final int OPERATION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object operationId_ = ""; /** * <pre> * If you want the results for a particular operation id, no need to look up the value tables separately. * The engine will do that for you * </pre> * * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return The operationId. */ @java.lang.Override public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** * <pre> * If you want the results for a particular operation id, no need to look up the value tables separately. * The engine will do that for you * </pre> * * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return The bytes for operationId. */ @java.lang.Override public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, operationId_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, operationId_); } 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 ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier other = (ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier) obj; if (!getOperationId() .equals(other.getOperationId())) 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(); hash = (37 * hash) + OPERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getOperationId().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.engine.v2.OperationIdTableIdentifier} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.OperationIdTableIdentifier) ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifierOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_OperationIdTableIdentifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_OperationIdTableIdentifier_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.class, ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; operationId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_OperationIdTableIdentifier_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier build() { ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier buildPartial() { ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier result = new ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.operationId_ = operationId_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier other) { if (other == ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier.getDefaultInstance()) return this; if (!other.getOperationId().isEmpty()) { operationId_ = other.operationId_; bitField0_ |= 0x00000001; onChanged(); } 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: { operationId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; 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.lang.Object operationId_ = ""; /** * <pre> * If you want the results for a particular operation id, no need to look up the value tables separately. * The engine will do that for you * </pre> * * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return The operationId. */ public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } else { return (java.lang.String) ref; } } /** * <pre> * If you want the results for a particular operation id, no need to look up the value tables separately. * The engine will do that for you * </pre> * * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return The bytes for operationId. */ public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <pre> * If you want the results for a particular operation id, no need to look up the value tables separately. * The engine will do that for you * </pre> * * <code>string operation_id = 1 [json_name = "operationId"];</code> * @param value The operationId to set. * @return This builder for chaining. */ public Builder setOperationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } operationId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * If you want the results for a particular operation id, no need to look up the value tables separately. * The engine will do that for you * </pre> * * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return This builder for chaining. */ public Builder clearOperationId() { operationId_ = getDefaultInstance().getOperationId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <pre> * If you want the results for a particular operation id, no need to look up the value tables separately. * The engine will do that for you * </pre> * * <code>string operation_id = 1 [json_name = "operationId"];</code> * @param value The bytes for operationId to set. * @return This builder for chaining. */ public Builder setOperationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operationId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.OperationIdTableIdentifier) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.OperationIdTableIdentifier) private static final ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier(); } public static ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<OperationIdTableIdentifier> PARSER = new com.google.protobuf.AbstractParser<OperationIdTableIdentifier>() { @java.lang.Override public OperationIdTableIdentifier 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<OperationIdTableIdentifier> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<OperationIdTableIdentifier> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.OperationIdTableIdentifier getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/OperationIdTableIdentifierOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface OperationIdTableIdentifierOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.OperationIdTableIdentifier) com.google.protobuf.MessageOrBuilder { /** * <pre> * If you want the results for a particular operation id, no need to look up the value tables separately. * The engine will do that for you * </pre> * * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return The operationId. */ java.lang.String getOperationId(); /** * <pre> * If you want the results for a particular operation id, no need to look up the value tables separately. * The engine will do that for you * </pre> * * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return The bytes for operationId. */ com.google.protobuf.ByteString getOperationIdBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/QueryLogEntry.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * <pre> * This is a proto representation of the SQL QueryLogModel. * </pre> * * Protobuf type {@code chalk.engine.v2.QueryLogEntry} */ public final class QueryLogEntry extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.QueryLogEntry) QueryLogEntryOrBuilder { private static final long serialVersionUID = 0L; // Use QueryLogEntry.newBuilder() to construct. private QueryLogEntry(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private QueryLogEntry() { operationId_ = ""; environmentId_ = ""; deploymentId_ = ""; operationKind_ = 0; queryStatus_ = 0; queryName_ = ""; queryNameVersion_ = ""; agentId_ = ""; branchName_ = ""; correlationId_ = ""; traceId_ = ""; queryPlanId_ = ""; valueTables_ = com.google.protobuf.LazyStringArrayList.emptyList(); metaQueryHash_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryLogEntry(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_QueryLogEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_QueryLogEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.QueryLogEntry.class, ai.chalk.protos.chalk.engine.v2.QueryLogEntry.Builder.class); } private int bitField0_; public static final int OPERATION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object operationId_ = ""; /** * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return The operationId. */ @java.lang.Override public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return The bytes for operationId. */ @java.lang.Override public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENVIRONMENT_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object environmentId_ = ""; /** * <code>string environment_id = 2 [json_name = "environmentId"];</code> * @return The environmentId. */ @java.lang.Override public java.lang.String getEnvironmentId() { java.lang.Object ref = environmentId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environmentId_ = s; return s; } } /** * <code>string environment_id = 2 [json_name = "environmentId"];</code> * @return The bytes for environmentId. */ @java.lang.Override public com.google.protobuf.ByteString getEnvironmentIdBytes() { java.lang.Object ref = environmentId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); environmentId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEPLOYMENT_ID_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object deploymentId_ = ""; /** * <code>string deployment_id = 3 [json_name = "deploymentId"];</code> * @return The deploymentId. */ @java.lang.Override public java.lang.String getDeploymentId() { java.lang.Object ref = deploymentId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deploymentId_ = s; return s; } } /** * <code>string deployment_id = 3 [json_name = "deploymentId"];</code> * @return The bytes for deploymentId. */ @java.lang.Override public com.google.protobuf.ByteString getDeploymentIdBytes() { java.lang.Object ref = deploymentId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deploymentId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATION_KIND_FIELD_NUMBER = 4; private int operationKind_ = 0; /** * <code>.chalk.common.v1.OperationKind operation_kind = 4 [json_name = "operationKind"];</code> * @return The enum numeric value on the wire for operationKind. */ @java.lang.Override public int getOperationKindValue() { return operationKind_; } /** * <code>.chalk.common.v1.OperationKind operation_kind = 4 [json_name = "operationKind"];</code> * @return The operationKind. */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.OperationKind getOperationKind() { ai.chalk.protos.chalk.common.v1.OperationKind result = ai.chalk.protos.chalk.common.v1.OperationKind.forNumber(operationKind_); return result == null ? ai.chalk.protos.chalk.common.v1.OperationKind.UNRECOGNIZED : result; } public static final int QUERY_TIMESTAMP_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp queryTimestamp_; /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> * @return Whether the queryTimestamp field is set. */ @java.lang.Override public boolean hasQueryTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> * @return The queryTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getQueryTimestamp() { return queryTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestamp_; } /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getQueryTimestampOrBuilder() { return queryTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestamp_; } public static final int EXECUTION_STARTED_AT_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp executionStartedAt_; /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> * @return Whether the executionStartedAt field is set. */ @java.lang.Override public boolean hasExecutionStartedAt() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> * @return The executionStartedAt. */ @java.lang.Override public com.google.protobuf.Timestamp getExecutionStartedAt() { return executionStartedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executionStartedAt_; } /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExecutionStartedAtOrBuilder() { return executionStartedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executionStartedAt_; } public static final int EXECUTION_FINISHED_AT_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp executionFinishedAt_; /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> * @return Whether the executionFinishedAt field is set. */ @java.lang.Override public boolean hasExecutionFinishedAt() { return ((bitField0_ & 0x00000004) != 0); } /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> * @return The executionFinishedAt. */ @java.lang.Override public com.google.protobuf.Timestamp getExecutionFinishedAt() { return executionFinishedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executionFinishedAt_; } /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExecutionFinishedAtOrBuilder() { return executionFinishedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executionFinishedAt_; } public static final int QUERY_STATUS_FIELD_NUMBER = 8; private int queryStatus_ = 0; /** * <code>.chalk.common.v1.QueryStatus query_status = 8 [json_name = "queryStatus"];</code> * @return The enum numeric value on the wire for queryStatus. */ @java.lang.Override public int getQueryStatusValue() { return queryStatus_; } /** * <code>.chalk.common.v1.QueryStatus query_status = 8 [json_name = "queryStatus"];</code> * @return The queryStatus. */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryStatus getQueryStatus() { ai.chalk.protos.chalk.common.v1.QueryStatus result = ai.chalk.protos.chalk.common.v1.QueryStatus.forNumber(queryStatus_); return result == null ? ai.chalk.protos.chalk.common.v1.QueryStatus.UNRECOGNIZED : result; } public static final int QUERY_NAME_FIELD_NUMBER = 9; @SuppressWarnings("serial") private volatile java.lang.Object queryName_ = ""; /** * <code>string query_name = 9 [json_name = "queryName"];</code> * @return The queryName. */ @java.lang.Override public java.lang.String getQueryName() { java.lang.Object ref = queryName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryName_ = s; return s; } } /** * <code>string query_name = 9 [json_name = "queryName"];</code> * @return The bytes for queryName. */ @java.lang.Override public com.google.protobuf.ByteString getQueryNameBytes() { java.lang.Object ref = queryName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUERY_NAME_VERSION_FIELD_NUMBER = 10; @SuppressWarnings("serial") private volatile java.lang.Object queryNameVersion_ = ""; /** * <code>string query_name_version = 10 [json_name = "queryNameVersion"];</code> * @return The queryNameVersion. */ @java.lang.Override public java.lang.String getQueryNameVersion() { java.lang.Object ref = queryNameVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryNameVersion_ = s; return s; } } /** * <code>string query_name_version = 10 [json_name = "queryNameVersion"];</code> * @return The bytes for queryNameVersion. */ @java.lang.Override public com.google.protobuf.ByteString getQueryNameVersionBytes() { java.lang.Object ref = queryNameVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryNameVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AGENT_ID_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object agentId_ = ""; /** * <code>string agent_id = 11 [json_name = "agentId"];</code> * @return The agentId. */ @java.lang.Override public java.lang.String getAgentId() { java.lang.Object ref = agentId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentId_ = s; return s; } } /** * <code>string agent_id = 11 [json_name = "agentId"];</code> * @return The bytes for agentId. */ @java.lang.Override public com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); agentId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BRANCH_NAME_FIELD_NUMBER = 12; @SuppressWarnings("serial") private volatile java.lang.Object branchName_ = ""; /** * <code>string branch_name = 12 [json_name = "branchName"];</code> * @return The branchName. */ @java.lang.Override public java.lang.String getBranchName() { java.lang.Object ref = branchName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); branchName_ = s; return s; } } /** * <code>string branch_name = 12 [json_name = "branchName"];</code> * @return The bytes for branchName. */ @java.lang.Override public com.google.protobuf.ByteString getBranchNameBytes() { java.lang.Object ref = branchName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); branchName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CORRELATION_ID_FIELD_NUMBER = 13; @SuppressWarnings("serial") private volatile java.lang.Object correlationId_ = ""; /** * <code>string correlation_id = 13 [json_name = "correlationId"];</code> * @return The correlationId. */ @java.lang.Override public java.lang.String getCorrelationId() { java.lang.Object ref = correlationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correlationId_ = s; return s; } } /** * <code>string correlation_id = 13 [json_name = "correlationId"];</code> * @return The bytes for correlationId. */ @java.lang.Override public com.google.protobuf.ByteString getCorrelationIdBytes() { java.lang.Object ref = correlationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); correlationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRACE_ID_FIELD_NUMBER = 14; @SuppressWarnings("serial") private volatile java.lang.Object traceId_ = ""; /** * <code>string trace_id = 14 [json_name = "traceId"];</code> * @return The traceId. */ @java.lang.Override public java.lang.String getTraceId() { java.lang.Object ref = traceId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceId_ = s; return s; } } /** * <code>string trace_id = 14 [json_name = "traceId"];</code> * @return The bytes for traceId. */ @java.lang.Override public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); traceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUERY_PLAN_ID_FIELD_NUMBER = 15; @SuppressWarnings("serial") private volatile java.lang.Object queryPlanId_ = ""; /** * <code>string query_plan_id = 15 [json_name = "queryPlanId"];</code> * @return The queryPlanId. */ @java.lang.Override public java.lang.String getQueryPlanId() { java.lang.Object ref = queryPlanId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryPlanId_ = s; return s; } } /** * <code>string query_plan_id = 15 [json_name = "queryPlanId"];</code> * @return The bytes for queryPlanId. */ @java.lang.Override public com.google.protobuf.ByteString getQueryPlanIdBytes() { java.lang.Object ref = queryPlanId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryPlanId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VALUE_TABLES_FIELD_NUMBER = 16; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList valueTables_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @return A list containing the valueTables. */ public com.google.protobuf.ProtocolStringList getValueTablesList() { return valueTables_; } /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @return The count of valueTables. */ public int getValueTablesCount() { return valueTables_.size(); } /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @param index The index of the element to return. * @return The valueTables at the given index. */ public java.lang.String getValueTables(int index) { return valueTables_.get(index); } /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @param index The index of the value to return. * @return The bytes of the valueTables at the given index. */ public com.google.protobuf.ByteString getValueTablesBytes(int index) { return valueTables_.getByteString(index); } public static final int META_QUERY_HASH_FIELD_NUMBER = 17; @SuppressWarnings("serial") private volatile java.lang.Object metaQueryHash_ = ""; /** * <code>string meta_query_hash = 17 [json_name = "metaQueryHash"];</code> * @return The metaQueryHash. */ @java.lang.Override public java.lang.String getMetaQueryHash() { java.lang.Object ref = metaQueryHash_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metaQueryHash_ = s; return s; } } /** * <code>string meta_query_hash = 17 [json_name = "metaQueryHash"];</code> * @return The bytes for metaQueryHash. */ @java.lang.Override public com.google.protobuf.ByteString getMetaQueryHashBytes() { java.lang.Object ref = metaQueryHash_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); metaQueryHash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, operationId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environmentId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, environmentId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deploymentId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deploymentId_); } if (operationKind_ != ai.chalk.protos.chalk.common.v1.OperationKind.OPERATION_KIND_UNSPECIFIED.getNumber()) { output.writeEnum(4, operationKind_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getQueryTimestamp()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(6, getExecutionStartedAt()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(7, getExecutionFinishedAt()); } if (queryStatus_ != ai.chalk.protos.chalk.common.v1.QueryStatus.QUERY_STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(8, queryStatus_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, queryName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryNameVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, queryNameVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, agentId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(branchName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, branchName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correlationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, correlationId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, traceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryPlanId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, queryPlanId_); } for (int i = 0; i < valueTables_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, valueTables_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metaQueryHash_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, metaQueryHash_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, operationId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environmentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, environmentId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deploymentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, deploymentId_); } if (operationKind_ != ai.chalk.protos.chalk.common.v1.OperationKind.OPERATION_KIND_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, operationKind_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getQueryTimestamp()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getExecutionStartedAt()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getExecutionFinishedAt()); } if (queryStatus_ != ai.chalk.protos.chalk.common.v1.QueryStatus.QUERY_STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, queryStatus_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, queryName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryNameVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, queryNameVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, agentId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(branchName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, branchName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correlationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, correlationId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, traceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryPlanId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, queryPlanId_); } { int dataSize = 0; for (int i = 0; i < valueTables_.size(); i++) { dataSize += computeStringSizeNoTag(valueTables_.getRaw(i)); } size += dataSize; size += 2 * getValueTablesList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metaQueryHash_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, metaQueryHash_); } 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 ai.chalk.protos.chalk.engine.v2.QueryLogEntry)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.QueryLogEntry other = (ai.chalk.protos.chalk.engine.v2.QueryLogEntry) obj; if (!getOperationId() .equals(other.getOperationId())) return false; if (!getEnvironmentId() .equals(other.getEnvironmentId())) return false; if (!getDeploymentId() .equals(other.getDeploymentId())) return false; if (operationKind_ != other.operationKind_) return false; if (hasQueryTimestamp() != other.hasQueryTimestamp()) return false; if (hasQueryTimestamp()) { if (!getQueryTimestamp() .equals(other.getQueryTimestamp())) return false; } if (hasExecutionStartedAt() != other.hasExecutionStartedAt()) return false; if (hasExecutionStartedAt()) { if (!getExecutionStartedAt() .equals(other.getExecutionStartedAt())) return false; } if (hasExecutionFinishedAt() != other.hasExecutionFinishedAt()) return false; if (hasExecutionFinishedAt()) { if (!getExecutionFinishedAt() .equals(other.getExecutionFinishedAt())) return false; } if (queryStatus_ != other.queryStatus_) return false; if (!getQueryName() .equals(other.getQueryName())) return false; if (!getQueryNameVersion() .equals(other.getQueryNameVersion())) return false; if (!getAgentId() .equals(other.getAgentId())) return false; if (!getBranchName() .equals(other.getBranchName())) return false; if (!getCorrelationId() .equals(other.getCorrelationId())) return false; if (!getTraceId() .equals(other.getTraceId())) return false; if (!getQueryPlanId() .equals(other.getQueryPlanId())) return false; if (!getValueTablesList() .equals(other.getValueTablesList())) return false; if (!getMetaQueryHash() .equals(other.getMetaQueryHash())) 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(); hash = (37 * hash) + OPERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getOperationId().hashCode(); hash = (37 * hash) + ENVIRONMENT_ID_FIELD_NUMBER; hash = (53 * hash) + getEnvironmentId().hashCode(); hash = (37 * hash) + DEPLOYMENT_ID_FIELD_NUMBER; hash = (53 * hash) + getDeploymentId().hashCode(); hash = (37 * hash) + OPERATION_KIND_FIELD_NUMBER; hash = (53 * hash) + operationKind_; if (hasQueryTimestamp()) { hash = (37 * hash) + QUERY_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getQueryTimestamp().hashCode(); } if (hasExecutionStartedAt()) { hash = (37 * hash) + EXECUTION_STARTED_AT_FIELD_NUMBER; hash = (53 * hash) + getExecutionStartedAt().hashCode(); } if (hasExecutionFinishedAt()) { hash = (37 * hash) + EXECUTION_FINISHED_AT_FIELD_NUMBER; hash = (53 * hash) + getExecutionFinishedAt().hashCode(); } hash = (37 * hash) + QUERY_STATUS_FIELD_NUMBER; hash = (53 * hash) + queryStatus_; hash = (37 * hash) + QUERY_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueryName().hashCode(); hash = (37 * hash) + QUERY_NAME_VERSION_FIELD_NUMBER; hash = (53 * hash) + getQueryNameVersion().hashCode(); hash = (37 * hash) + AGENT_ID_FIELD_NUMBER; hash = (53 * hash) + getAgentId().hashCode(); hash = (37 * hash) + BRANCH_NAME_FIELD_NUMBER; hash = (53 * hash) + getBranchName().hashCode(); hash = (37 * hash) + CORRELATION_ID_FIELD_NUMBER; hash = (53 * hash) + getCorrelationId().hashCode(); hash = (37 * hash) + TRACE_ID_FIELD_NUMBER; hash = (53 * hash) + getTraceId().hashCode(); hash = (37 * hash) + QUERY_PLAN_ID_FIELD_NUMBER; hash = (53 * hash) + getQueryPlanId().hashCode(); if (getValueTablesCount() > 0) { hash = (37 * hash) + VALUE_TABLES_FIELD_NUMBER; hash = (53 * hash) + getValueTablesList().hashCode(); } hash = (37 * hash) + META_QUERY_HASH_FIELD_NUMBER; hash = (53 * hash) + getMetaQueryHash().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.QueryLogEntry 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * <pre> * This is a proto representation of the SQL QueryLogModel. * </pre> * * Protobuf type {@code chalk.engine.v2.QueryLogEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.QueryLogEntry) ai.chalk.protos.chalk.engine.v2.QueryLogEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_QueryLogEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_QueryLogEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.QueryLogEntry.class, ai.chalk.protos.chalk.engine.v2.QueryLogEntry.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.QueryLogEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getQueryTimestampFieldBuilder(); getExecutionStartedAtFieldBuilder(); getExecutionFinishedAtFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; operationId_ = ""; environmentId_ = ""; deploymentId_ = ""; operationKind_ = 0; queryTimestamp_ = null; if (queryTimestampBuilder_ != null) { queryTimestampBuilder_.dispose(); queryTimestampBuilder_ = null; } executionStartedAt_ = null; if (executionStartedAtBuilder_ != null) { executionStartedAtBuilder_.dispose(); executionStartedAtBuilder_ = null; } executionFinishedAt_ = null; if (executionFinishedAtBuilder_ != null) { executionFinishedAtBuilder_.dispose(); executionFinishedAtBuilder_ = null; } queryStatus_ = 0; queryName_ = ""; queryNameVersion_ = ""; agentId_ = ""; branchName_ = ""; correlationId_ = ""; traceId_ = ""; queryPlanId_ = ""; valueTables_ = com.google.protobuf.LazyStringArrayList.emptyList(); metaQueryHash_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_QueryLogEntry_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.QueryLogEntry getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.QueryLogEntry.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.QueryLogEntry build() { ai.chalk.protos.chalk.engine.v2.QueryLogEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.QueryLogEntry buildPartial() { ai.chalk.protos.chalk.engine.v2.QueryLogEntry result = new ai.chalk.protos.chalk.engine.v2.QueryLogEntry(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.QueryLogEntry result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.operationId_ = operationId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.environmentId_ = environmentId_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.deploymentId_ = deploymentId_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.operationKind_ = operationKind_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { result.queryTimestamp_ = queryTimestampBuilder_ == null ? queryTimestamp_ : queryTimestampBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { result.executionStartedAt_ = executionStartedAtBuilder_ == null ? executionStartedAt_ : executionStartedAtBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { result.executionFinishedAt_ = executionFinishedAtBuilder_ == null ? executionFinishedAt_ : executionFinishedAtBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000080) != 0)) { result.queryStatus_ = queryStatus_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.queryName_ = queryName_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.queryNameVersion_ = queryNameVersion_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.agentId_ = agentId_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.branchName_ = branchName_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.correlationId_ = correlationId_; } if (((from_bitField0_ & 0x00002000) != 0)) { result.traceId_ = traceId_; } if (((from_bitField0_ & 0x00004000) != 0)) { result.queryPlanId_ = queryPlanId_; } if (((from_bitField0_ & 0x00008000) != 0)) { valueTables_.makeImmutable(); result.valueTables_ = valueTables_; } if (((from_bitField0_ & 0x00010000) != 0)) { result.metaQueryHash_ = metaQueryHash_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.QueryLogEntry) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.QueryLogEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.QueryLogEntry other) { if (other == ai.chalk.protos.chalk.engine.v2.QueryLogEntry.getDefaultInstance()) return this; if (!other.getOperationId().isEmpty()) { operationId_ = other.operationId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getEnvironmentId().isEmpty()) { environmentId_ = other.environmentId_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getDeploymentId().isEmpty()) { deploymentId_ = other.deploymentId_; bitField0_ |= 0x00000004; onChanged(); } if (other.operationKind_ != 0) { setOperationKindValue(other.getOperationKindValue()); } if (other.hasQueryTimestamp()) { mergeQueryTimestamp(other.getQueryTimestamp()); } if (other.hasExecutionStartedAt()) { mergeExecutionStartedAt(other.getExecutionStartedAt()); } if (other.hasExecutionFinishedAt()) { mergeExecutionFinishedAt(other.getExecutionFinishedAt()); } if (other.queryStatus_ != 0) { setQueryStatusValue(other.getQueryStatusValue()); } if (!other.getQueryName().isEmpty()) { queryName_ = other.queryName_; bitField0_ |= 0x00000100; onChanged(); } if (!other.getQueryNameVersion().isEmpty()) { queryNameVersion_ = other.queryNameVersion_; bitField0_ |= 0x00000200; onChanged(); } if (!other.getAgentId().isEmpty()) { agentId_ = other.agentId_; bitField0_ |= 0x00000400; onChanged(); } if (!other.getBranchName().isEmpty()) { branchName_ = other.branchName_; bitField0_ |= 0x00000800; onChanged(); } if (!other.getCorrelationId().isEmpty()) { correlationId_ = other.correlationId_; bitField0_ |= 0x00001000; onChanged(); } if (!other.getTraceId().isEmpty()) { traceId_ = other.traceId_; bitField0_ |= 0x00002000; onChanged(); } if (!other.getQueryPlanId().isEmpty()) { queryPlanId_ = other.queryPlanId_; bitField0_ |= 0x00004000; onChanged(); } if (!other.valueTables_.isEmpty()) { if (valueTables_.isEmpty()) { valueTables_ = other.valueTables_; bitField0_ |= 0x00008000; } else { ensureValueTablesIsMutable(); valueTables_.addAll(other.valueTables_); } onChanged(); } if (!other.getMetaQueryHash().isEmpty()) { metaQueryHash_ = other.metaQueryHash_; bitField0_ |= 0x00010000; onChanged(); } 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: { operationId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { environmentId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { deploymentId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 32: { operationKind_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { input.readMessage( getQueryTimestampFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getExecutionStartedAtFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { input.readMessage( getExecutionFinishedAtFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 case 64: { queryStatus_ = input.readEnum(); bitField0_ |= 0x00000080; break; } // case 64 case 74: { queryName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000100; break; } // case 74 case 82: { queryNameVersion_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000200; break; } // case 82 case 90: { agentId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000400; break; } // case 90 case 98: { branchName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000800; break; } // case 98 case 106: { correlationId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00001000; break; } // case 106 case 114: { traceId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00002000; break; } // case 114 case 122: { queryPlanId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00004000; break; } // case 122 case 130: { java.lang.String s = input.readStringRequireUtf8(); ensureValueTablesIsMutable(); valueTables_.add(s); break; } // case 130 case 138: { metaQueryHash_ = input.readStringRequireUtf8(); bitField0_ |= 0x00010000; break; } // case 138 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.lang.Object operationId_ = ""; /** * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return The operationId. */ public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return The bytes for operationId. */ public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string operation_id = 1 [json_name = "operationId"];</code> * @param value The operationId to set. * @return This builder for chaining. */ public Builder setOperationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } operationId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return This builder for chaining. */ public Builder clearOperationId() { operationId_ = getDefaultInstance().getOperationId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string operation_id = 1 [json_name = "operationId"];</code> * @param value The bytes for operationId to set. * @return This builder for chaining. */ public Builder setOperationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operationId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object environmentId_ = ""; /** * <code>string environment_id = 2 [json_name = "environmentId"];</code> * @return The environmentId. */ public java.lang.String getEnvironmentId() { java.lang.Object ref = environmentId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environmentId_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string environment_id = 2 [json_name = "environmentId"];</code> * @return The bytes for environmentId. */ public com.google.protobuf.ByteString getEnvironmentIdBytes() { java.lang.Object ref = environmentId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); environmentId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string environment_id = 2 [json_name = "environmentId"];</code> * @param value The environmentId to set. * @return This builder for chaining. */ public Builder setEnvironmentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } environmentId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>string environment_id = 2 [json_name = "environmentId"];</code> * @return This builder for chaining. */ public Builder clearEnvironmentId() { environmentId_ = getDefaultInstance().getEnvironmentId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * <code>string environment_id = 2 [json_name = "environmentId"];</code> * @param value The bytes for environmentId to set. * @return This builder for chaining. */ public Builder setEnvironmentIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); environmentId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object deploymentId_ = ""; /** * <code>string deployment_id = 3 [json_name = "deploymentId"];</code> * @return The deploymentId. */ public java.lang.String getDeploymentId() { java.lang.Object ref = deploymentId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deploymentId_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string deployment_id = 3 [json_name = "deploymentId"];</code> * @return The bytes for deploymentId. */ public com.google.protobuf.ByteString getDeploymentIdBytes() { java.lang.Object ref = deploymentId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deploymentId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string deployment_id = 3 [json_name = "deploymentId"];</code> * @param value The deploymentId to set. * @return This builder for chaining. */ public Builder setDeploymentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } deploymentId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>string deployment_id = 3 [json_name = "deploymentId"];</code> * @return This builder for chaining. */ public Builder clearDeploymentId() { deploymentId_ = getDefaultInstance().getDeploymentId(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * <code>string deployment_id = 3 [json_name = "deploymentId"];</code> * @param value The bytes for deploymentId to set. * @return This builder for chaining. */ public Builder setDeploymentIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); deploymentId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private int operationKind_ = 0; /** * <code>.chalk.common.v1.OperationKind operation_kind = 4 [json_name = "operationKind"];</code> * @return The enum numeric value on the wire for operationKind. */ @java.lang.Override public int getOperationKindValue() { return operationKind_; } /** * <code>.chalk.common.v1.OperationKind operation_kind = 4 [json_name = "operationKind"];</code> * @param value The enum numeric value on the wire for operationKind to set. * @return This builder for chaining. */ public Builder setOperationKindValue(int value) { operationKind_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>.chalk.common.v1.OperationKind operation_kind = 4 [json_name = "operationKind"];</code> * @return The operationKind. */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.OperationKind getOperationKind() { ai.chalk.protos.chalk.common.v1.OperationKind result = ai.chalk.protos.chalk.common.v1.OperationKind.forNumber(operationKind_); return result == null ? ai.chalk.protos.chalk.common.v1.OperationKind.UNRECOGNIZED : result; } /** * <code>.chalk.common.v1.OperationKind operation_kind = 4 [json_name = "operationKind"];</code> * @param value The operationKind to set. * @return This builder for chaining. */ public Builder setOperationKind(ai.chalk.protos.chalk.common.v1.OperationKind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; operationKind_ = value.getNumber(); onChanged(); return this; } /** * <code>.chalk.common.v1.OperationKind operation_kind = 4 [json_name = "operationKind"];</code> * @return This builder for chaining. */ public Builder clearOperationKind() { bitField0_ = (bitField0_ & ~0x00000008); operationKind_ = 0; onChanged(); return this; } private com.google.protobuf.Timestamp queryTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> queryTimestampBuilder_; /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> * @return Whether the queryTimestamp field is set. */ public boolean hasQueryTimestamp() { return ((bitField0_ & 0x00000010) != 0); } /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> * @return The queryTimestamp. */ public com.google.protobuf.Timestamp getQueryTimestamp() { if (queryTimestampBuilder_ == null) { return queryTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestamp_; } else { return queryTimestampBuilder_.getMessage(); } } /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> */ public Builder setQueryTimestamp(com.google.protobuf.Timestamp value) { if (queryTimestampBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryTimestamp_ = value; } else { queryTimestampBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> */ public Builder setQueryTimestamp( com.google.protobuf.Timestamp.Builder builderForValue) { if (queryTimestampBuilder_ == null) { queryTimestamp_ = builderForValue.build(); } else { queryTimestampBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> */ public Builder mergeQueryTimestamp(com.google.protobuf.Timestamp value) { if (queryTimestampBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && queryTimestamp_ != null && queryTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getQueryTimestampBuilder().mergeFrom(value); } else { queryTimestamp_ = value; } } else { queryTimestampBuilder_.mergeFrom(value); } if (queryTimestamp_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> */ public Builder clearQueryTimestamp() { bitField0_ = (bitField0_ & ~0x00000010); queryTimestamp_ = null; if (queryTimestampBuilder_ != null) { queryTimestampBuilder_.dispose(); queryTimestampBuilder_ = null; } onChanged(); return this; } /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> */ public com.google.protobuf.Timestamp.Builder getQueryTimestampBuilder() { bitField0_ |= 0x00000010; onChanged(); return getQueryTimestampFieldBuilder().getBuilder(); } /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> */ public com.google.protobuf.TimestampOrBuilder getQueryTimestampOrBuilder() { if (queryTimestampBuilder_ != null) { return queryTimestampBuilder_.getMessageOrBuilder(); } else { return queryTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : queryTimestamp_; } } /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getQueryTimestampFieldBuilder() { if (queryTimestampBuilder_ == null) { queryTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getQueryTimestamp(), getParentForChildren(), isClean()); queryTimestamp_ = null; } return queryTimestampBuilder_; } private com.google.protobuf.Timestamp executionStartedAt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> executionStartedAtBuilder_; /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> * @return Whether the executionStartedAt field is set. */ public boolean hasExecutionStartedAt() { return ((bitField0_ & 0x00000020) != 0); } /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> * @return The executionStartedAt. */ public com.google.protobuf.Timestamp getExecutionStartedAt() { if (executionStartedAtBuilder_ == null) { return executionStartedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executionStartedAt_; } else { return executionStartedAtBuilder_.getMessage(); } } /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> */ public Builder setExecutionStartedAt(com.google.protobuf.Timestamp value) { if (executionStartedAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } executionStartedAt_ = value; } else { executionStartedAtBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> */ public Builder setExecutionStartedAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (executionStartedAtBuilder_ == null) { executionStartedAt_ = builderForValue.build(); } else { executionStartedAtBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> */ public Builder mergeExecutionStartedAt(com.google.protobuf.Timestamp value) { if (executionStartedAtBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && executionStartedAt_ != null && executionStartedAt_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExecutionStartedAtBuilder().mergeFrom(value); } else { executionStartedAt_ = value; } } else { executionStartedAtBuilder_.mergeFrom(value); } if (executionStartedAt_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> */ public Builder clearExecutionStartedAt() { bitField0_ = (bitField0_ & ~0x00000020); executionStartedAt_ = null; if (executionStartedAtBuilder_ != null) { executionStartedAtBuilder_.dispose(); executionStartedAtBuilder_ = null; } onChanged(); return this; } /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> */ public com.google.protobuf.Timestamp.Builder getExecutionStartedAtBuilder() { bitField0_ |= 0x00000020; onChanged(); return getExecutionStartedAtFieldBuilder().getBuilder(); } /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> */ public com.google.protobuf.TimestampOrBuilder getExecutionStartedAtOrBuilder() { if (executionStartedAtBuilder_ != null) { return executionStartedAtBuilder_.getMessageOrBuilder(); } else { return executionStartedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executionStartedAt_; } } /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExecutionStartedAtFieldBuilder() { if (executionStartedAtBuilder_ == null) { executionStartedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getExecutionStartedAt(), getParentForChildren(), isClean()); executionStartedAt_ = null; } return executionStartedAtBuilder_; } private com.google.protobuf.Timestamp executionFinishedAt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> executionFinishedAtBuilder_; /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> * @return Whether the executionFinishedAt field is set. */ public boolean hasExecutionFinishedAt() { return ((bitField0_ & 0x00000040) != 0); } /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> * @return The executionFinishedAt. */ public com.google.protobuf.Timestamp getExecutionFinishedAt() { if (executionFinishedAtBuilder_ == null) { return executionFinishedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executionFinishedAt_; } else { return executionFinishedAtBuilder_.getMessage(); } } /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> */ public Builder setExecutionFinishedAt(com.google.protobuf.Timestamp value) { if (executionFinishedAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } executionFinishedAt_ = value; } else { executionFinishedAtBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> */ public Builder setExecutionFinishedAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (executionFinishedAtBuilder_ == null) { executionFinishedAt_ = builderForValue.build(); } else { executionFinishedAtBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> */ public Builder mergeExecutionFinishedAt(com.google.protobuf.Timestamp value) { if (executionFinishedAtBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && executionFinishedAt_ != null && executionFinishedAt_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExecutionFinishedAtBuilder().mergeFrom(value); } else { executionFinishedAt_ = value; } } else { executionFinishedAtBuilder_.mergeFrom(value); } if (executionFinishedAt_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> */ public Builder clearExecutionFinishedAt() { bitField0_ = (bitField0_ & ~0x00000040); executionFinishedAt_ = null; if (executionFinishedAtBuilder_ != null) { executionFinishedAtBuilder_.dispose(); executionFinishedAtBuilder_ = null; } onChanged(); return this; } /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> */ public com.google.protobuf.Timestamp.Builder getExecutionFinishedAtBuilder() { bitField0_ |= 0x00000040; onChanged(); return getExecutionFinishedAtFieldBuilder().getBuilder(); } /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> */ public com.google.protobuf.TimestampOrBuilder getExecutionFinishedAtOrBuilder() { if (executionFinishedAtBuilder_ != null) { return executionFinishedAtBuilder_.getMessageOrBuilder(); } else { return executionFinishedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : executionFinishedAt_; } } /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExecutionFinishedAtFieldBuilder() { if (executionFinishedAtBuilder_ == null) { executionFinishedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getExecutionFinishedAt(), getParentForChildren(), isClean()); executionFinishedAt_ = null; } return executionFinishedAtBuilder_; } private int queryStatus_ = 0; /** * <code>.chalk.common.v1.QueryStatus query_status = 8 [json_name = "queryStatus"];</code> * @return The enum numeric value on the wire for queryStatus. */ @java.lang.Override public int getQueryStatusValue() { return queryStatus_; } /** * <code>.chalk.common.v1.QueryStatus query_status = 8 [json_name = "queryStatus"];</code> * @param value The enum numeric value on the wire for queryStatus to set. * @return This builder for chaining. */ public Builder setQueryStatusValue(int value) { queryStatus_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** * <code>.chalk.common.v1.QueryStatus query_status = 8 [json_name = "queryStatus"];</code> * @return The queryStatus. */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryStatus getQueryStatus() { ai.chalk.protos.chalk.common.v1.QueryStatus result = ai.chalk.protos.chalk.common.v1.QueryStatus.forNumber(queryStatus_); return result == null ? ai.chalk.protos.chalk.common.v1.QueryStatus.UNRECOGNIZED : result; } /** * <code>.chalk.common.v1.QueryStatus query_status = 8 [json_name = "queryStatus"];</code> * @param value The queryStatus to set. * @return This builder for chaining. */ public Builder setQueryStatus(ai.chalk.protos.chalk.common.v1.QueryStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; queryStatus_ = value.getNumber(); onChanged(); return this; } /** * <code>.chalk.common.v1.QueryStatus query_status = 8 [json_name = "queryStatus"];</code> * @return This builder for chaining. */ public Builder clearQueryStatus() { bitField0_ = (bitField0_ & ~0x00000080); queryStatus_ = 0; onChanged(); return this; } private java.lang.Object queryName_ = ""; /** * <code>string query_name = 9 [json_name = "queryName"];</code> * @return The queryName. */ public java.lang.String getQueryName() { java.lang.Object ref = queryName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string query_name = 9 [json_name = "queryName"];</code> * @return The bytes for queryName. */ public com.google.protobuf.ByteString getQueryNameBytes() { java.lang.Object ref = queryName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string query_name = 9 [json_name = "queryName"];</code> * @param value The queryName to set. * @return This builder for chaining. */ public Builder setQueryName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryName_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * <code>string query_name = 9 [json_name = "queryName"];</code> * @return This builder for chaining. */ public Builder clearQueryName() { queryName_ = getDefaultInstance().getQueryName(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** * <code>string query_name = 9 [json_name = "queryName"];</code> * @param value The bytes for queryName to set. * @return This builder for chaining. */ public Builder setQueryNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryName_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } private java.lang.Object queryNameVersion_ = ""; /** * <code>string query_name_version = 10 [json_name = "queryNameVersion"];</code> * @return The queryNameVersion. */ public java.lang.String getQueryNameVersion() { java.lang.Object ref = queryNameVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryNameVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string query_name_version = 10 [json_name = "queryNameVersion"];</code> * @return The bytes for queryNameVersion. */ public com.google.protobuf.ByteString getQueryNameVersionBytes() { java.lang.Object ref = queryNameVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryNameVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string query_name_version = 10 [json_name = "queryNameVersion"];</code> * @param value The queryNameVersion to set. * @return This builder for chaining. */ public Builder setQueryNameVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryNameVersion_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** * <code>string query_name_version = 10 [json_name = "queryNameVersion"];</code> * @return This builder for chaining. */ public Builder clearQueryNameVersion() { queryNameVersion_ = getDefaultInstance().getQueryNameVersion(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** * <code>string query_name_version = 10 [json_name = "queryNameVersion"];</code> * @param value The bytes for queryNameVersion to set. * @return This builder for chaining. */ public Builder setQueryNameVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryNameVersion_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } private java.lang.Object agentId_ = ""; /** * <code>string agent_id = 11 [json_name = "agentId"];</code> * @return The agentId. */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentId_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string agent_id = 11 [json_name = "agentId"];</code> * @return The bytes for agentId. */ public com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); agentId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string agent_id = 11 [json_name = "agentId"];</code> * @param value The agentId to set. * @return This builder for chaining. */ public Builder setAgentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } agentId_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** * <code>string agent_id = 11 [json_name = "agentId"];</code> * @return This builder for chaining. */ public Builder clearAgentId() { agentId_ = getDefaultInstance().getAgentId(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** * <code>string agent_id = 11 [json_name = "agentId"];</code> * @param value The bytes for agentId to set. * @return This builder for chaining. */ public Builder setAgentIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); agentId_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } private java.lang.Object branchName_ = ""; /** * <code>string branch_name = 12 [json_name = "branchName"];</code> * @return The branchName. */ public java.lang.String getBranchName() { java.lang.Object ref = branchName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); branchName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string branch_name = 12 [json_name = "branchName"];</code> * @return The bytes for branchName. */ public com.google.protobuf.ByteString getBranchNameBytes() { java.lang.Object ref = branchName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); branchName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string branch_name = 12 [json_name = "branchName"];</code> * @param value The branchName to set. * @return This builder for chaining. */ public Builder setBranchName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } branchName_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** * <code>string branch_name = 12 [json_name = "branchName"];</code> * @return This builder for chaining. */ public Builder clearBranchName() { branchName_ = getDefaultInstance().getBranchName(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } /** * <code>string branch_name = 12 [json_name = "branchName"];</code> * @param value The bytes for branchName to set. * @return This builder for chaining. */ public Builder setBranchNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); branchName_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } private java.lang.Object correlationId_ = ""; /** * <code>string correlation_id = 13 [json_name = "correlationId"];</code> * @return The correlationId. */ public java.lang.String getCorrelationId() { java.lang.Object ref = correlationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correlationId_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string correlation_id = 13 [json_name = "correlationId"];</code> * @return The bytes for correlationId. */ public com.google.protobuf.ByteString getCorrelationIdBytes() { java.lang.Object ref = correlationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); correlationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string correlation_id = 13 [json_name = "correlationId"];</code> * @param value The correlationId to set. * @return This builder for chaining. */ public Builder setCorrelationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } correlationId_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** * <code>string correlation_id = 13 [json_name = "correlationId"];</code> * @return This builder for chaining. */ public Builder clearCorrelationId() { correlationId_ = getDefaultInstance().getCorrelationId(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } /** * <code>string correlation_id = 13 [json_name = "correlationId"];</code> * @param value The bytes for correlationId to set. * @return This builder for chaining. */ public Builder setCorrelationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); correlationId_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } private java.lang.Object traceId_ = ""; /** * <code>string trace_id = 14 [json_name = "traceId"];</code> * @return The traceId. */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceId_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string trace_id = 14 [json_name = "traceId"];</code> * @return The bytes for traceId. */ public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); traceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string trace_id = 14 [json_name = "traceId"];</code> * @param value The traceId to set. * @return This builder for chaining. */ public Builder setTraceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } traceId_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** * <code>string trace_id = 14 [json_name = "traceId"];</code> * @return This builder for chaining. */ public Builder clearTraceId() { traceId_ = getDefaultInstance().getTraceId(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** * <code>string trace_id = 14 [json_name = "traceId"];</code> * @param value The bytes for traceId to set. * @return This builder for chaining. */ public Builder setTraceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); traceId_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } private java.lang.Object queryPlanId_ = ""; /** * <code>string query_plan_id = 15 [json_name = "queryPlanId"];</code> * @return The queryPlanId. */ public java.lang.String getQueryPlanId() { java.lang.Object ref = queryPlanId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryPlanId_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string query_plan_id = 15 [json_name = "queryPlanId"];</code> * @return The bytes for queryPlanId. */ public com.google.protobuf.ByteString getQueryPlanIdBytes() { java.lang.Object ref = queryPlanId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryPlanId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string query_plan_id = 15 [json_name = "queryPlanId"];</code> * @param value The queryPlanId to set. * @return This builder for chaining. */ public Builder setQueryPlanId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryPlanId_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** * <code>string query_plan_id = 15 [json_name = "queryPlanId"];</code> * @return This builder for chaining. */ public Builder clearQueryPlanId() { queryPlanId_ = getDefaultInstance().getQueryPlanId(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); return this; } /** * <code>string query_plan_id = 15 [json_name = "queryPlanId"];</code> * @param value The bytes for queryPlanId to set. * @return This builder for chaining. */ public Builder setQueryPlanIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryPlanId_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList valueTables_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureValueTablesIsMutable() { if (!valueTables_.isModifiable()) { valueTables_ = new com.google.protobuf.LazyStringArrayList(valueTables_); } bitField0_ |= 0x00008000; } /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @return A list containing the valueTables. */ public com.google.protobuf.ProtocolStringList getValueTablesList() { valueTables_.makeImmutable(); return valueTables_; } /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @return The count of valueTables. */ public int getValueTablesCount() { return valueTables_.size(); } /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @param index The index of the element to return. * @return The valueTables at the given index. */ public java.lang.String getValueTables(int index) { return valueTables_.get(index); } /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @param index The index of the value to return. * @return The bytes of the valueTables at the given index. */ public com.google.protobuf.ByteString getValueTablesBytes(int index) { return valueTables_.getByteString(index); } /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @param index The index to set the value at. * @param value The valueTables to set. * @return This builder for chaining. */ public Builder setValueTables( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureValueTablesIsMutable(); valueTables_.set(index, value); bitField0_ |= 0x00008000; onChanged(); return this; } /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @param value The valueTables to add. * @return This builder for chaining. */ public Builder addValueTables( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureValueTablesIsMutable(); valueTables_.add(value); bitField0_ |= 0x00008000; onChanged(); return this; } /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @param values The valueTables to add. * @return This builder for chaining. */ public Builder addAllValueTables( java.lang.Iterable<java.lang.String> values) { ensureValueTablesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, valueTables_); bitField0_ |= 0x00008000; onChanged(); return this; } /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @return This builder for chaining. */ public Builder clearValueTables() { valueTables_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00008000);; onChanged(); return this; } /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @param value The bytes of the valueTables to add. * @return This builder for chaining. */ public Builder addValueTablesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureValueTablesIsMutable(); valueTables_.add(value); bitField0_ |= 0x00008000; onChanged(); return this; } private java.lang.Object metaQueryHash_ = ""; /** * <code>string meta_query_hash = 17 [json_name = "metaQueryHash"];</code> * @return The metaQueryHash. */ public java.lang.String getMetaQueryHash() { java.lang.Object ref = metaQueryHash_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metaQueryHash_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string meta_query_hash = 17 [json_name = "metaQueryHash"];</code> * @return The bytes for metaQueryHash. */ public com.google.protobuf.ByteString getMetaQueryHashBytes() { java.lang.Object ref = metaQueryHash_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); metaQueryHash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string meta_query_hash = 17 [json_name = "metaQueryHash"];</code> * @param value The metaQueryHash to set. * @return This builder for chaining. */ public Builder setMetaQueryHash( java.lang.String value) { if (value == null) { throw new NullPointerException(); } metaQueryHash_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** * <code>string meta_query_hash = 17 [json_name = "metaQueryHash"];</code> * @return This builder for chaining. */ public Builder clearMetaQueryHash() { metaQueryHash_ = getDefaultInstance().getMetaQueryHash(); bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } /** * <code>string meta_query_hash = 17 [json_name = "metaQueryHash"];</code> * @param value The bytes for metaQueryHash to set. * @return This builder for chaining. */ public Builder setMetaQueryHashBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); metaQueryHash_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.QueryLogEntry) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.QueryLogEntry) private static final ai.chalk.protos.chalk.engine.v2.QueryLogEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.QueryLogEntry(); } public static ai.chalk.protos.chalk.engine.v2.QueryLogEntry getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<QueryLogEntry> PARSER = new com.google.protobuf.AbstractParser<QueryLogEntry>() { @java.lang.Override public QueryLogEntry 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<QueryLogEntry> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<QueryLogEntry> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.QueryLogEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/QueryLogEntryOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface QueryLogEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.QueryLogEntry) com.google.protobuf.MessageOrBuilder { /** * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return The operationId. */ java.lang.String getOperationId(); /** * <code>string operation_id = 1 [json_name = "operationId"];</code> * @return The bytes for operationId. */ com.google.protobuf.ByteString getOperationIdBytes(); /** * <code>string environment_id = 2 [json_name = "environmentId"];</code> * @return The environmentId. */ java.lang.String getEnvironmentId(); /** * <code>string environment_id = 2 [json_name = "environmentId"];</code> * @return The bytes for environmentId. */ com.google.protobuf.ByteString getEnvironmentIdBytes(); /** * <code>string deployment_id = 3 [json_name = "deploymentId"];</code> * @return The deploymentId. */ java.lang.String getDeploymentId(); /** * <code>string deployment_id = 3 [json_name = "deploymentId"];</code> * @return The bytes for deploymentId. */ com.google.protobuf.ByteString getDeploymentIdBytes(); /** * <code>.chalk.common.v1.OperationKind operation_kind = 4 [json_name = "operationKind"];</code> * @return The enum numeric value on the wire for operationKind. */ int getOperationKindValue(); /** * <code>.chalk.common.v1.OperationKind operation_kind = 4 [json_name = "operationKind"];</code> * @return The operationKind. */ ai.chalk.protos.chalk.common.v1.OperationKind getOperationKind(); /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> * @return Whether the queryTimestamp field is set. */ boolean hasQueryTimestamp(); /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> * @return The queryTimestamp. */ com.google.protobuf.Timestamp getQueryTimestamp(); /** * <code>.google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];</code> */ com.google.protobuf.TimestampOrBuilder getQueryTimestampOrBuilder(); /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> * @return Whether the executionStartedAt field is set. */ boolean hasExecutionStartedAt(); /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> * @return The executionStartedAt. */ com.google.protobuf.Timestamp getExecutionStartedAt(); /** * <code>.google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];</code> */ com.google.protobuf.TimestampOrBuilder getExecutionStartedAtOrBuilder(); /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> * @return Whether the executionFinishedAt field is set. */ boolean hasExecutionFinishedAt(); /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> * @return The executionFinishedAt. */ com.google.protobuf.Timestamp getExecutionFinishedAt(); /** * <code>.google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];</code> */ com.google.protobuf.TimestampOrBuilder getExecutionFinishedAtOrBuilder(); /** * <code>.chalk.common.v1.QueryStatus query_status = 8 [json_name = "queryStatus"];</code> * @return The enum numeric value on the wire for queryStatus. */ int getQueryStatusValue(); /** * <code>.chalk.common.v1.QueryStatus query_status = 8 [json_name = "queryStatus"];</code> * @return The queryStatus. */ ai.chalk.protos.chalk.common.v1.QueryStatus getQueryStatus(); /** * <code>string query_name = 9 [json_name = "queryName"];</code> * @return The queryName. */ java.lang.String getQueryName(); /** * <code>string query_name = 9 [json_name = "queryName"];</code> * @return The bytes for queryName. */ com.google.protobuf.ByteString getQueryNameBytes(); /** * <code>string query_name_version = 10 [json_name = "queryNameVersion"];</code> * @return The queryNameVersion. */ java.lang.String getQueryNameVersion(); /** * <code>string query_name_version = 10 [json_name = "queryNameVersion"];</code> * @return The bytes for queryNameVersion. */ com.google.protobuf.ByteString getQueryNameVersionBytes(); /** * <code>string agent_id = 11 [json_name = "agentId"];</code> * @return The agentId. */ java.lang.String getAgentId(); /** * <code>string agent_id = 11 [json_name = "agentId"];</code> * @return The bytes for agentId. */ com.google.protobuf.ByteString getAgentIdBytes(); /** * <code>string branch_name = 12 [json_name = "branchName"];</code> * @return The branchName. */ java.lang.String getBranchName(); /** * <code>string branch_name = 12 [json_name = "branchName"];</code> * @return The bytes for branchName. */ com.google.protobuf.ByteString getBranchNameBytes(); /** * <code>string correlation_id = 13 [json_name = "correlationId"];</code> * @return The correlationId. */ java.lang.String getCorrelationId(); /** * <code>string correlation_id = 13 [json_name = "correlationId"];</code> * @return The bytes for correlationId. */ com.google.protobuf.ByteString getCorrelationIdBytes(); /** * <code>string trace_id = 14 [json_name = "traceId"];</code> * @return The traceId. */ java.lang.String getTraceId(); /** * <code>string trace_id = 14 [json_name = "traceId"];</code> * @return The bytes for traceId. */ com.google.protobuf.ByteString getTraceIdBytes(); /** * <code>string query_plan_id = 15 [json_name = "queryPlanId"];</code> * @return The queryPlanId. */ java.lang.String getQueryPlanId(); /** * <code>string query_plan_id = 15 [json_name = "queryPlanId"];</code> * @return The bytes for queryPlanId. */ com.google.protobuf.ByteString getQueryPlanIdBytes(); /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @return A list containing the valueTables. */ java.util.List<java.lang.String> getValueTablesList(); /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @return The count of valueTables. */ int getValueTablesCount(); /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @param index The index of the element to return. * @return The valueTables at the given index. */ java.lang.String getValueTables(int index); /** * <code>repeated string value_tables = 16 [json_name = "valueTables"];</code> * @param index The index of the value to return. * @return The bytes of the valueTables at the given index. */ com.google.protobuf.ByteString getValueTablesBytes(int index); /** * <code>string meta_query_hash = 17 [json_name = "metaQueryHash"];</code> * @return The metaQueryHash. */ java.lang.String getMetaQueryHash(); /** * <code>string meta_query_hash = 17 [json_name = "metaQueryHash"];</code> * @return The bytes for metaQueryHash. */ com.google.protobuf.ByteString getMetaQueryHashBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/QueryLogFilters.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * Protobuf type {@code chalk.engine.v2.QueryLogFilters} */ public final class QueryLogFilters extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.QueryLogFilters) QueryLogFiltersOrBuilder { private static final long serialVersionUID = 0L; // Use QueryLogFilters.newBuilder() to construct. private QueryLogFilters(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private QueryLogFilters() { operationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); operationKind_ = java.util.Collections.emptyList(); queryName_ = java.util.Collections.emptyList(); agentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); branchName_ = com.google.protobuf.LazyStringArrayList.emptyList(); correlationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); traceId_ = com.google.protobuf.LazyStringArrayList.emptyList(); queryPlanId_ = com.google.protobuf.LazyStringArrayList.emptyList(); deploymentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); queryStatus_ = java.util.Collections.emptyList(); metaQueryHash_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryLogFilters(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_QueryLogFilters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_QueryLogFilters_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.QueryLogFilters.class, ai.chalk.protos.chalk.engine.v2.QueryLogFilters.Builder.class); } public static final int OPERATION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList operationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @return A list containing the operationId. */ public com.google.protobuf.ProtocolStringList getOperationIdList() { return operationId_; } /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @return The count of operationId. */ public int getOperationIdCount() { return operationId_.size(); } /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @param index The index of the element to return. * @return The operationId at the given index. */ public java.lang.String getOperationId(int index) { return operationId_.get(index); } /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @param index The index of the value to return. * @return The bytes of the operationId at the given index. */ public com.google.protobuf.ByteString getOperationIdBytes(int index) { return operationId_.getByteString(index); } public static final int OPERATION_KIND_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List<java.lang.Integer> operationKind_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, ai.chalk.protos.chalk.common.v1.OperationKind> operationKind_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, ai.chalk.protos.chalk.common.v1.OperationKind>() { public ai.chalk.protos.chalk.common.v1.OperationKind convert(java.lang.Integer from) { ai.chalk.protos.chalk.common.v1.OperationKind result = ai.chalk.protos.chalk.common.v1.OperationKind.forNumber(from); return result == null ? ai.chalk.protos.chalk.common.v1.OperationKind.UNRECOGNIZED : result; } }; /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @return A list containing the operationKind. */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.common.v1.OperationKind> getOperationKindList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, ai.chalk.protos.chalk.common.v1.OperationKind>(operationKind_, operationKind_converter_); } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @return The count of operationKind. */ @java.lang.Override public int getOperationKindCount() { return operationKind_.size(); } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @param index The index of the element to return. * @return The operationKind at the given index. */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.OperationKind getOperationKind(int index) { return operationKind_converter_.convert(operationKind_.get(index)); } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @return A list containing the enum numeric values on the wire for operationKind. */ @java.lang.Override public java.util.List<java.lang.Integer> getOperationKindValueList() { return operationKind_; } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @param index The index of the value to return. * @return The enum numeric value on the wire of operationKind at the given index. */ @java.lang.Override public int getOperationKindValue(int index) { return operationKind_.get(index); } private int operationKindMemoizedSerializedSize; public static final int QUERY_NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.engine.v2.VersionedQueryName> queryName_; /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v2.VersionedQueryName> getQueryNameList() { return queryName_; } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.engine.v2.VersionedQueryNameOrBuilder> getQueryNameOrBuilderList() { return queryName_; } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ @java.lang.Override public int getQueryNameCount() { return queryName_.size(); } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.VersionedQueryName getQueryName(int index) { return queryName_.get(index); } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.VersionedQueryNameOrBuilder getQueryNameOrBuilder( int index) { return queryName_.get(index); } public static final int AGENT_ID_FIELD_NUMBER = 5; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList agentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @return A list containing the agentId. */ public com.google.protobuf.ProtocolStringList getAgentIdList() { return agentId_; } /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @return The count of agentId. */ public int getAgentIdCount() { return agentId_.size(); } /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @param index The index of the element to return. * @return The agentId at the given index. */ public java.lang.String getAgentId(int index) { return agentId_.get(index); } /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @param index The index of the value to return. * @return The bytes of the agentId at the given index. */ public com.google.protobuf.ByteString getAgentIdBytes(int index) { return agentId_.getByteString(index); } public static final int BRANCH_NAME_FIELD_NUMBER = 6; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList branchName_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @return A list containing the branchName. */ public com.google.protobuf.ProtocolStringList getBranchNameList() { return branchName_; } /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @return The count of branchName. */ public int getBranchNameCount() { return branchName_.size(); } /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @param index The index of the element to return. * @return The branchName at the given index. */ public java.lang.String getBranchName(int index) { return branchName_.get(index); } /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @param index The index of the value to return. * @return The bytes of the branchName at the given index. */ public com.google.protobuf.ByteString getBranchNameBytes(int index) { return branchName_.getByteString(index); } public static final int CORRELATION_ID_FIELD_NUMBER = 7; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList correlationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @return A list containing the correlationId. */ public com.google.protobuf.ProtocolStringList getCorrelationIdList() { return correlationId_; } /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @return The count of correlationId. */ public int getCorrelationIdCount() { return correlationId_.size(); } /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @param index The index of the element to return. * @return The correlationId at the given index. */ public java.lang.String getCorrelationId(int index) { return correlationId_.get(index); } /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @param index The index of the value to return. * @return The bytes of the correlationId at the given index. */ public com.google.protobuf.ByteString getCorrelationIdBytes(int index) { return correlationId_.getByteString(index); } public static final int TRACE_ID_FIELD_NUMBER = 8; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList traceId_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @return A list containing the traceId. */ public com.google.protobuf.ProtocolStringList getTraceIdList() { return traceId_; } /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @return The count of traceId. */ public int getTraceIdCount() { return traceId_.size(); } /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @param index The index of the element to return. * @return The traceId at the given index. */ public java.lang.String getTraceId(int index) { return traceId_.get(index); } /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @param index The index of the value to return. * @return The bytes of the traceId at the given index. */ public com.google.protobuf.ByteString getTraceIdBytes(int index) { return traceId_.getByteString(index); } public static final int QUERY_PLAN_ID_FIELD_NUMBER = 9; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList queryPlanId_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @return A list containing the queryPlanId. */ public com.google.protobuf.ProtocolStringList getQueryPlanIdList() { return queryPlanId_; } /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @return The count of queryPlanId. */ public int getQueryPlanIdCount() { return queryPlanId_.size(); } /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @param index The index of the element to return. * @return The queryPlanId at the given index. */ public java.lang.String getQueryPlanId(int index) { return queryPlanId_.get(index); } /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @param index The index of the value to return. * @return The bytes of the queryPlanId at the given index. */ public com.google.protobuf.ByteString getQueryPlanIdBytes(int index) { return queryPlanId_.getByteString(index); } public static final int DEPLOYMENT_ID_FIELD_NUMBER = 10; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList deploymentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @return A list containing the deploymentId. */ public com.google.protobuf.ProtocolStringList getDeploymentIdList() { return deploymentId_; } /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @return The count of deploymentId. */ public int getDeploymentIdCount() { return deploymentId_.size(); } /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @param index The index of the element to return. * @return The deploymentId at the given index. */ public java.lang.String getDeploymentId(int index) { return deploymentId_.get(index); } /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @param index The index of the value to return. * @return The bytes of the deploymentId at the given index. */ public com.google.protobuf.ByteString getDeploymentIdBytes(int index) { return deploymentId_.getByteString(index); } public static final int QUERY_STATUS_FIELD_NUMBER = 11; @SuppressWarnings("serial") private java.util.List<java.lang.Integer> queryStatus_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, ai.chalk.protos.chalk.common.v1.QueryStatus> queryStatus_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, ai.chalk.protos.chalk.common.v1.QueryStatus>() { public ai.chalk.protos.chalk.common.v1.QueryStatus convert(java.lang.Integer from) { ai.chalk.protos.chalk.common.v1.QueryStatus result = ai.chalk.protos.chalk.common.v1.QueryStatus.forNumber(from); return result == null ? ai.chalk.protos.chalk.common.v1.QueryStatus.UNRECOGNIZED : result; } }; /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @return A list containing the queryStatus. */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.common.v1.QueryStatus> getQueryStatusList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, ai.chalk.protos.chalk.common.v1.QueryStatus>(queryStatus_, queryStatus_converter_); } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @return The count of queryStatus. */ @java.lang.Override public int getQueryStatusCount() { return queryStatus_.size(); } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @param index The index of the element to return. * @return The queryStatus at the given index. */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryStatus getQueryStatus(int index) { return queryStatus_converter_.convert(queryStatus_.get(index)); } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @return A list containing the enum numeric values on the wire for queryStatus. */ @java.lang.Override public java.util.List<java.lang.Integer> getQueryStatusValueList() { return queryStatus_; } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @param index The index of the value to return. * @return The enum numeric value on the wire of queryStatus at the given index. */ @java.lang.Override public int getQueryStatusValue(int index) { return queryStatus_.get(index); } private int queryStatusMemoizedSerializedSize; public static final int META_QUERY_HASH_FIELD_NUMBER = 12; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList metaQueryHash_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @return A list containing the metaQueryHash. */ public com.google.protobuf.ProtocolStringList getMetaQueryHashList() { return metaQueryHash_; } /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @return The count of metaQueryHash. */ public int getMetaQueryHashCount() { return metaQueryHash_.size(); } /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @param index The index of the element to return. * @return The metaQueryHash at the given index. */ public java.lang.String getMetaQueryHash(int index) { return metaQueryHash_.get(index); } /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @param index The index of the value to return. * @return The bytes of the metaQueryHash at the given index. */ public com.google.protobuf.ByteString getMetaQueryHashBytes(int index) { return metaQueryHash_.getByteString(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 { getSerializedSize(); for (int i = 0; i < operationId_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, operationId_.getRaw(i)); } if (getOperationKindList().size() > 0) { output.writeUInt32NoTag(18); output.writeUInt32NoTag(operationKindMemoizedSerializedSize); } for (int i = 0; i < operationKind_.size(); i++) { output.writeEnumNoTag(operationKind_.get(i)); } for (int i = 0; i < queryName_.size(); i++) { output.writeMessage(3, queryName_.get(i)); } for (int i = 0; i < agentId_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, agentId_.getRaw(i)); } for (int i = 0; i < branchName_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, branchName_.getRaw(i)); } for (int i = 0; i < correlationId_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, correlationId_.getRaw(i)); } for (int i = 0; i < traceId_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, traceId_.getRaw(i)); } for (int i = 0; i < queryPlanId_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, queryPlanId_.getRaw(i)); } for (int i = 0; i < deploymentId_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, deploymentId_.getRaw(i)); } if (getQueryStatusList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(queryStatusMemoizedSerializedSize); } for (int i = 0; i < queryStatus_.size(); i++) { output.writeEnumNoTag(queryStatus_.get(i)); } for (int i = 0; i < metaQueryHash_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, metaQueryHash_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < operationId_.size(); i++) { dataSize += computeStringSizeNoTag(operationId_.getRaw(i)); } size += dataSize; size += 1 * getOperationIdList().size(); } { int dataSize = 0; for (int i = 0; i < operationKind_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(operationKind_.get(i)); } size += dataSize; if (!getOperationKindList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSize); }operationKindMemoizedSerializedSize = dataSize; } for (int i = 0; i < queryName_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, queryName_.get(i)); } { int dataSize = 0; for (int i = 0; i < agentId_.size(); i++) { dataSize += computeStringSizeNoTag(agentId_.getRaw(i)); } size += dataSize; size += 1 * getAgentIdList().size(); } { int dataSize = 0; for (int i = 0; i < branchName_.size(); i++) { dataSize += computeStringSizeNoTag(branchName_.getRaw(i)); } size += dataSize; size += 1 * getBranchNameList().size(); } { int dataSize = 0; for (int i = 0; i < correlationId_.size(); i++) { dataSize += computeStringSizeNoTag(correlationId_.getRaw(i)); } size += dataSize; size += 1 * getCorrelationIdList().size(); } { int dataSize = 0; for (int i = 0; i < traceId_.size(); i++) { dataSize += computeStringSizeNoTag(traceId_.getRaw(i)); } size += dataSize; size += 1 * getTraceIdList().size(); } { int dataSize = 0; for (int i = 0; i < queryPlanId_.size(); i++) { dataSize += computeStringSizeNoTag(queryPlanId_.getRaw(i)); } size += dataSize; size += 1 * getQueryPlanIdList().size(); } { int dataSize = 0; for (int i = 0; i < deploymentId_.size(); i++) { dataSize += computeStringSizeNoTag(deploymentId_.getRaw(i)); } size += dataSize; size += 1 * getDeploymentIdList().size(); } { int dataSize = 0; for (int i = 0; i < queryStatus_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(queryStatus_.get(i)); } size += dataSize; if (!getQueryStatusList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSize); }queryStatusMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < metaQueryHash_.size(); i++) { dataSize += computeStringSizeNoTag(metaQueryHash_.getRaw(i)); } size += dataSize; size += 1 * getMetaQueryHashList().size(); } 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 ai.chalk.protos.chalk.engine.v2.QueryLogFilters)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.QueryLogFilters other = (ai.chalk.protos.chalk.engine.v2.QueryLogFilters) obj; if (!getOperationIdList() .equals(other.getOperationIdList())) return false; if (!operationKind_.equals(other.operationKind_)) return false; if (!getQueryNameList() .equals(other.getQueryNameList())) return false; if (!getAgentIdList() .equals(other.getAgentIdList())) return false; if (!getBranchNameList() .equals(other.getBranchNameList())) return false; if (!getCorrelationIdList() .equals(other.getCorrelationIdList())) return false; if (!getTraceIdList() .equals(other.getTraceIdList())) return false; if (!getQueryPlanIdList() .equals(other.getQueryPlanIdList())) return false; if (!getDeploymentIdList() .equals(other.getDeploymentIdList())) return false; if (!queryStatus_.equals(other.queryStatus_)) return false; if (!getMetaQueryHashList() .equals(other.getMetaQueryHashList())) 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 (getOperationIdCount() > 0) { hash = (37 * hash) + OPERATION_ID_FIELD_NUMBER; hash = (53 * hash) + getOperationIdList().hashCode(); } if (getOperationKindCount() > 0) { hash = (37 * hash) + OPERATION_KIND_FIELD_NUMBER; hash = (53 * hash) + operationKind_.hashCode(); } if (getQueryNameCount() > 0) { hash = (37 * hash) + QUERY_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueryNameList().hashCode(); } if (getAgentIdCount() > 0) { hash = (37 * hash) + AGENT_ID_FIELD_NUMBER; hash = (53 * hash) + getAgentIdList().hashCode(); } if (getBranchNameCount() > 0) { hash = (37 * hash) + BRANCH_NAME_FIELD_NUMBER; hash = (53 * hash) + getBranchNameList().hashCode(); } if (getCorrelationIdCount() > 0) { hash = (37 * hash) + CORRELATION_ID_FIELD_NUMBER; hash = (53 * hash) + getCorrelationIdList().hashCode(); } if (getTraceIdCount() > 0) { hash = (37 * hash) + TRACE_ID_FIELD_NUMBER; hash = (53 * hash) + getTraceIdList().hashCode(); } if (getQueryPlanIdCount() > 0) { hash = (37 * hash) + QUERY_PLAN_ID_FIELD_NUMBER; hash = (53 * hash) + getQueryPlanIdList().hashCode(); } if (getDeploymentIdCount() > 0) { hash = (37 * hash) + DEPLOYMENT_ID_FIELD_NUMBER; hash = (53 * hash) + getDeploymentIdList().hashCode(); } if (getQueryStatusCount() > 0) { hash = (37 * hash) + QUERY_STATUS_FIELD_NUMBER; hash = (53 * hash) + queryStatus_.hashCode(); } if (getMetaQueryHashCount() > 0) { hash = (37 * hash) + META_QUERY_HASH_FIELD_NUMBER; hash = (53 * hash) + getMetaQueryHashList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.QueryLogFilters 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.engine.v2.QueryLogFilters} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.QueryLogFilters) ai.chalk.protos.chalk.engine.v2.QueryLogFiltersOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_QueryLogFilters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_QueryLogFilters_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.QueryLogFilters.class, ai.chalk.protos.chalk.engine.v2.QueryLogFilters.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.QueryLogFilters.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; operationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); operationKind_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); if (queryNameBuilder_ == null) { queryName_ = java.util.Collections.emptyList(); } else { queryName_ = null; queryNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); agentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); branchName_ = com.google.protobuf.LazyStringArrayList.emptyList(); correlationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); traceId_ = com.google.protobuf.LazyStringArrayList.emptyList(); queryPlanId_ = com.google.protobuf.LazyStringArrayList.emptyList(); deploymentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); queryStatus_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); metaQueryHash_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_QueryLogFilters_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.QueryLogFilters getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.QueryLogFilters.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.QueryLogFilters build() { ai.chalk.protos.chalk.engine.v2.QueryLogFilters result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.QueryLogFilters buildPartial() { ai.chalk.protos.chalk.engine.v2.QueryLogFilters result = new ai.chalk.protos.chalk.engine.v2.QueryLogFilters(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.engine.v2.QueryLogFilters result) { if (((bitField0_ & 0x00000002) != 0)) { operationKind_ = java.util.Collections.unmodifiableList(operationKind_); bitField0_ = (bitField0_ & ~0x00000002); } result.operationKind_ = operationKind_; if (queryNameBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { queryName_ = java.util.Collections.unmodifiableList(queryName_); bitField0_ = (bitField0_ & ~0x00000004); } result.queryName_ = queryName_; } else { result.queryName_ = queryNameBuilder_.build(); } if (((bitField0_ & 0x00000200) != 0)) { queryStatus_ = java.util.Collections.unmodifiableList(queryStatus_); bitField0_ = (bitField0_ & ~0x00000200); } result.queryStatus_ = queryStatus_; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.QueryLogFilters result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { operationId_.makeImmutable(); result.operationId_ = operationId_; } if (((from_bitField0_ & 0x00000008) != 0)) { agentId_.makeImmutable(); result.agentId_ = agentId_; } if (((from_bitField0_ & 0x00000010) != 0)) { branchName_.makeImmutable(); result.branchName_ = branchName_; } if (((from_bitField0_ & 0x00000020) != 0)) { correlationId_.makeImmutable(); result.correlationId_ = correlationId_; } if (((from_bitField0_ & 0x00000040) != 0)) { traceId_.makeImmutable(); result.traceId_ = traceId_; } if (((from_bitField0_ & 0x00000080) != 0)) { queryPlanId_.makeImmutable(); result.queryPlanId_ = queryPlanId_; } if (((from_bitField0_ & 0x00000100) != 0)) { deploymentId_.makeImmutable(); result.deploymentId_ = deploymentId_; } if (((from_bitField0_ & 0x00000400) != 0)) { metaQueryHash_.makeImmutable(); result.metaQueryHash_ = metaQueryHash_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.QueryLogFilters) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.QueryLogFilters)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.QueryLogFilters other) { if (other == ai.chalk.protos.chalk.engine.v2.QueryLogFilters.getDefaultInstance()) return this; if (!other.operationId_.isEmpty()) { if (operationId_.isEmpty()) { operationId_ = other.operationId_; bitField0_ |= 0x00000001; } else { ensureOperationIdIsMutable(); operationId_.addAll(other.operationId_); } onChanged(); } if (!other.operationKind_.isEmpty()) { if (operationKind_.isEmpty()) { operationKind_ = other.operationKind_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureOperationKindIsMutable(); operationKind_.addAll(other.operationKind_); } onChanged(); } if (queryNameBuilder_ == null) { if (!other.queryName_.isEmpty()) { if (queryName_.isEmpty()) { queryName_ = other.queryName_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureQueryNameIsMutable(); queryName_.addAll(other.queryName_); } onChanged(); } } else { if (!other.queryName_.isEmpty()) { if (queryNameBuilder_.isEmpty()) { queryNameBuilder_.dispose(); queryNameBuilder_ = null; queryName_ = other.queryName_; bitField0_ = (bitField0_ & ~0x00000004); queryNameBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getQueryNameFieldBuilder() : null; } else { queryNameBuilder_.addAllMessages(other.queryName_); } } } if (!other.agentId_.isEmpty()) { if (agentId_.isEmpty()) { agentId_ = other.agentId_; bitField0_ |= 0x00000008; } else { ensureAgentIdIsMutable(); agentId_.addAll(other.agentId_); } onChanged(); } if (!other.branchName_.isEmpty()) { if (branchName_.isEmpty()) { branchName_ = other.branchName_; bitField0_ |= 0x00000010; } else { ensureBranchNameIsMutable(); branchName_.addAll(other.branchName_); } onChanged(); } if (!other.correlationId_.isEmpty()) { if (correlationId_.isEmpty()) { correlationId_ = other.correlationId_; bitField0_ |= 0x00000020; } else { ensureCorrelationIdIsMutable(); correlationId_.addAll(other.correlationId_); } onChanged(); } if (!other.traceId_.isEmpty()) { if (traceId_.isEmpty()) { traceId_ = other.traceId_; bitField0_ |= 0x00000040; } else { ensureTraceIdIsMutable(); traceId_.addAll(other.traceId_); } onChanged(); } if (!other.queryPlanId_.isEmpty()) { if (queryPlanId_.isEmpty()) { queryPlanId_ = other.queryPlanId_; bitField0_ |= 0x00000080; } else { ensureQueryPlanIdIsMutable(); queryPlanId_.addAll(other.queryPlanId_); } onChanged(); } if (!other.deploymentId_.isEmpty()) { if (deploymentId_.isEmpty()) { deploymentId_ = other.deploymentId_; bitField0_ |= 0x00000100; } else { ensureDeploymentIdIsMutable(); deploymentId_.addAll(other.deploymentId_); } onChanged(); } if (!other.queryStatus_.isEmpty()) { if (queryStatus_.isEmpty()) { queryStatus_ = other.queryStatus_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureQueryStatusIsMutable(); queryStatus_.addAll(other.queryStatus_); } onChanged(); } if (!other.metaQueryHash_.isEmpty()) { if (metaQueryHash_.isEmpty()) { metaQueryHash_ = other.metaQueryHash_; bitField0_ |= 0x00000400; } else { ensureMetaQueryHashIsMutable(); metaQueryHash_.addAll(other.metaQueryHash_); } onChanged(); } 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: { java.lang.String s = input.readStringRequireUtf8(); ensureOperationIdIsMutable(); operationId_.add(s); break; } // case 10 case 16: { int tmpRaw = input.readEnum(); ensureOperationKindIsMutable(); operationKind_.add(tmpRaw); break; } // case 16 case 18: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureOperationKindIsMutable(); operationKind_.add(tmpRaw); } input.popLimit(oldLimit); break; } // case 18 case 26: { ai.chalk.protos.chalk.engine.v2.VersionedQueryName m = input.readMessage( ai.chalk.protos.chalk.engine.v2.VersionedQueryName.parser(), extensionRegistry); if (queryNameBuilder_ == null) { ensureQueryNameIsMutable(); queryName_.add(m); } else { queryNameBuilder_.addMessage(m); } break; } // case 26 case 42: { java.lang.String s = input.readStringRequireUtf8(); ensureAgentIdIsMutable(); agentId_.add(s); break; } // case 42 case 50: { java.lang.String s = input.readStringRequireUtf8(); ensureBranchNameIsMutable(); branchName_.add(s); break; } // case 50 case 58: { java.lang.String s = input.readStringRequireUtf8(); ensureCorrelationIdIsMutable(); correlationId_.add(s); break; } // case 58 case 66: { java.lang.String s = input.readStringRequireUtf8(); ensureTraceIdIsMutable(); traceId_.add(s); break; } // case 66 case 74: { java.lang.String s = input.readStringRequireUtf8(); ensureQueryPlanIdIsMutable(); queryPlanId_.add(s); break; } // case 74 case 82: { java.lang.String s = input.readStringRequireUtf8(); ensureDeploymentIdIsMutable(); deploymentId_.add(s); break; } // case 82 case 88: { int tmpRaw = input.readEnum(); ensureQueryStatusIsMutable(); queryStatus_.add(tmpRaw); break; } // case 88 case 90: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureQueryStatusIsMutable(); queryStatus_.add(tmpRaw); } input.popLimit(oldLimit); break; } // case 90 case 98: { java.lang.String s = input.readStringRequireUtf8(); ensureMetaQueryHashIsMutable(); metaQueryHash_.add(s); break; } // case 98 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 com.google.protobuf.LazyStringArrayList operationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureOperationIdIsMutable() { if (!operationId_.isModifiable()) { operationId_ = new com.google.protobuf.LazyStringArrayList(operationId_); } bitField0_ |= 0x00000001; } /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @return A list containing the operationId. */ public com.google.protobuf.ProtocolStringList getOperationIdList() { operationId_.makeImmutable(); return operationId_; } /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @return The count of operationId. */ public int getOperationIdCount() { return operationId_.size(); } /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @param index The index of the element to return. * @return The operationId at the given index. */ public java.lang.String getOperationId(int index) { return operationId_.get(index); } /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @param index The index of the value to return. * @return The bytes of the operationId at the given index. */ public com.google.protobuf.ByteString getOperationIdBytes(int index) { return operationId_.getByteString(index); } /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @param index The index to set the value at. * @param value The operationId to set. * @return This builder for chaining. */ public Builder setOperationId( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureOperationIdIsMutable(); operationId_.set(index, value); bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @param value The operationId to add. * @return This builder for chaining. */ public Builder addOperationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureOperationIdIsMutable(); operationId_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @param values The operationId to add. * @return This builder for chaining. */ public Builder addAllOperationId( java.lang.Iterable<java.lang.String> values) { ensureOperationIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, operationId_); bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @return This builder for chaining. */ public Builder clearOperationId() { operationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @param value The bytes of the operationId to add. * @return This builder for chaining. */ public Builder addOperationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureOperationIdIsMutable(); operationId_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } private java.util.List<java.lang.Integer> operationKind_ = java.util.Collections.emptyList(); private void ensureOperationKindIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { operationKind_ = new java.util.ArrayList<java.lang.Integer>(operationKind_); bitField0_ |= 0x00000002; } } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @return A list containing the operationKind. */ public java.util.List<ai.chalk.protos.chalk.common.v1.OperationKind> getOperationKindList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, ai.chalk.protos.chalk.common.v1.OperationKind>(operationKind_, operationKind_converter_); } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @return The count of operationKind. */ public int getOperationKindCount() { return operationKind_.size(); } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @param index The index of the element to return. * @return The operationKind at the given index. */ public ai.chalk.protos.chalk.common.v1.OperationKind getOperationKind(int index) { return operationKind_converter_.convert(operationKind_.get(index)); } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @param index The index to set the value at. * @param value The operationKind to set. * @return This builder for chaining. */ public Builder setOperationKind( int index, ai.chalk.protos.chalk.common.v1.OperationKind value) { if (value == null) { throw new NullPointerException(); } ensureOperationKindIsMutable(); operationKind_.set(index, value.getNumber()); onChanged(); return this; } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @param value The operationKind to add. * @return This builder for chaining. */ public Builder addOperationKind(ai.chalk.protos.chalk.common.v1.OperationKind value) { if (value == null) { throw new NullPointerException(); } ensureOperationKindIsMutable(); operationKind_.add(value.getNumber()); onChanged(); return this; } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @param values The operationKind to add. * @return This builder for chaining. */ public Builder addAllOperationKind( java.lang.Iterable<? extends ai.chalk.protos.chalk.common.v1.OperationKind> values) { ensureOperationKindIsMutable(); for (ai.chalk.protos.chalk.common.v1.OperationKind value : values) { operationKind_.add(value.getNumber()); } onChanged(); return this; } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @return This builder for chaining. */ public Builder clearOperationKind() { operationKind_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @return A list containing the enum numeric values on the wire for operationKind. */ public java.util.List<java.lang.Integer> getOperationKindValueList() { return java.util.Collections.unmodifiableList(operationKind_); } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @param index The index of the value to return. * @return The enum numeric value on the wire of operationKind at the given index. */ public int getOperationKindValue(int index) { return operationKind_.get(index); } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @param index The index to set the value at. * @param value The enum numeric value on the wire for operationKind to set. * @return This builder for chaining. */ public Builder setOperationKindValue( int index, int value) { ensureOperationKindIsMutable(); operationKind_.set(index, value); onChanged(); return this; } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @param value The enum numeric value on the wire for operationKind to add. * @return This builder for chaining. */ public Builder addOperationKindValue(int value) { ensureOperationKindIsMutable(); operationKind_.add(value); onChanged(); return this; } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @param values The enum numeric values on the wire for operationKind to add. * @return This builder for chaining. */ public Builder addAllOperationKindValue( java.lang.Iterable<java.lang.Integer> values) { ensureOperationKindIsMutable(); for (int value : values) { operationKind_.add(value); } onChanged(); return this; } private java.util.List<ai.chalk.protos.chalk.engine.v2.VersionedQueryName> queryName_ = java.util.Collections.emptyList(); private void ensureQueryNameIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { queryName_ = new java.util.ArrayList<ai.chalk.protos.chalk.engine.v2.VersionedQueryName>(queryName_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.VersionedQueryName, ai.chalk.protos.chalk.engine.v2.VersionedQueryName.Builder, ai.chalk.protos.chalk.engine.v2.VersionedQueryNameOrBuilder> queryNameBuilder_; /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v2.VersionedQueryName> getQueryNameList() { if (queryNameBuilder_ == null) { return java.util.Collections.unmodifiableList(queryName_); } else { return queryNameBuilder_.getMessageList(); } } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public int getQueryNameCount() { if (queryNameBuilder_ == null) { return queryName_.size(); } else { return queryNameBuilder_.getCount(); } } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public ai.chalk.protos.chalk.engine.v2.VersionedQueryName getQueryName(int index) { if (queryNameBuilder_ == null) { return queryName_.get(index); } else { return queryNameBuilder_.getMessage(index); } } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder setQueryName( int index, ai.chalk.protos.chalk.engine.v2.VersionedQueryName value) { if (queryNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueryNameIsMutable(); queryName_.set(index, value); onChanged(); } else { queryNameBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder setQueryName( int index, ai.chalk.protos.chalk.engine.v2.VersionedQueryName.Builder builderForValue) { if (queryNameBuilder_ == null) { ensureQueryNameIsMutable(); queryName_.set(index, builderForValue.build()); onChanged(); } else { queryNameBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder addQueryName(ai.chalk.protos.chalk.engine.v2.VersionedQueryName value) { if (queryNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueryNameIsMutable(); queryName_.add(value); onChanged(); } else { queryNameBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder addQueryName( int index, ai.chalk.protos.chalk.engine.v2.VersionedQueryName value) { if (queryNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueryNameIsMutable(); queryName_.add(index, value); onChanged(); } else { queryNameBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder addQueryName( ai.chalk.protos.chalk.engine.v2.VersionedQueryName.Builder builderForValue) { if (queryNameBuilder_ == null) { ensureQueryNameIsMutable(); queryName_.add(builderForValue.build()); onChanged(); } else { queryNameBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder addQueryName( int index, ai.chalk.protos.chalk.engine.v2.VersionedQueryName.Builder builderForValue) { if (queryNameBuilder_ == null) { ensureQueryNameIsMutable(); queryName_.add(index, builderForValue.build()); onChanged(); } else { queryNameBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder addAllQueryName( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v2.VersionedQueryName> values) { if (queryNameBuilder_ == null) { ensureQueryNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, queryName_); onChanged(); } else { queryNameBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder clearQueryName() { if (queryNameBuilder_ == null) { queryName_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { queryNameBuilder_.clear(); } return this; } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder removeQueryName(int index) { if (queryNameBuilder_ == null) { ensureQueryNameIsMutable(); queryName_.remove(index); onChanged(); } else { queryNameBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public ai.chalk.protos.chalk.engine.v2.VersionedQueryName.Builder getQueryNameBuilder( int index) { return getQueryNameFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public ai.chalk.protos.chalk.engine.v2.VersionedQueryNameOrBuilder getQueryNameOrBuilder( int index) { if (queryNameBuilder_ == null) { return queryName_.get(index); } else { return queryNameBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.engine.v2.VersionedQueryNameOrBuilder> getQueryNameOrBuilderList() { if (queryNameBuilder_ != null) { return queryNameBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(queryName_); } } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public ai.chalk.protos.chalk.engine.v2.VersionedQueryName.Builder addQueryNameBuilder() { return getQueryNameFieldBuilder().addBuilder( ai.chalk.protos.chalk.engine.v2.VersionedQueryName.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public ai.chalk.protos.chalk.engine.v2.VersionedQueryName.Builder addQueryNameBuilder( int index) { return getQueryNameFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.engine.v2.VersionedQueryName.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v2.VersionedQueryName.Builder> getQueryNameBuilderList() { return getQueryNameFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.VersionedQueryName, ai.chalk.protos.chalk.engine.v2.VersionedQueryName.Builder, ai.chalk.protos.chalk.engine.v2.VersionedQueryNameOrBuilder> getQueryNameFieldBuilder() { if (queryNameBuilder_ == null) { queryNameBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.VersionedQueryName, ai.chalk.protos.chalk.engine.v2.VersionedQueryName.Builder, ai.chalk.protos.chalk.engine.v2.VersionedQueryNameOrBuilder>( queryName_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); queryName_ = null; } return queryNameBuilder_; } private com.google.protobuf.LazyStringArrayList agentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAgentIdIsMutable() { if (!agentId_.isModifiable()) { agentId_ = new com.google.protobuf.LazyStringArrayList(agentId_); } bitField0_ |= 0x00000008; } /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @return A list containing the agentId. */ public com.google.protobuf.ProtocolStringList getAgentIdList() { agentId_.makeImmutable(); return agentId_; } /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @return The count of agentId. */ public int getAgentIdCount() { return agentId_.size(); } /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @param index The index of the element to return. * @return The agentId at the given index. */ public java.lang.String getAgentId(int index) { return agentId_.get(index); } /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @param index The index of the value to return. * @return The bytes of the agentId at the given index. */ public com.google.protobuf.ByteString getAgentIdBytes(int index) { return agentId_.getByteString(index); } /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @param index The index to set the value at. * @param value The agentId to set. * @return This builder for chaining. */ public Builder setAgentId( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAgentIdIsMutable(); agentId_.set(index, value); bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @param value The agentId to add. * @return This builder for chaining. */ public Builder addAgentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAgentIdIsMutable(); agentId_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @param values The agentId to add. * @return This builder for chaining. */ public Builder addAllAgentId( java.lang.Iterable<java.lang.String> values) { ensureAgentIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, agentId_); bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @return This builder for chaining. */ public Builder clearAgentId() { agentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @param value The bytes of the agentId to add. * @return This builder for chaining. */ public Builder addAgentIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAgentIdIsMutable(); agentId_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList branchName_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureBranchNameIsMutable() { if (!branchName_.isModifiable()) { branchName_ = new com.google.protobuf.LazyStringArrayList(branchName_); } bitField0_ |= 0x00000010; } /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @return A list containing the branchName. */ public com.google.protobuf.ProtocolStringList getBranchNameList() { branchName_.makeImmutable(); return branchName_; } /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @return The count of branchName. */ public int getBranchNameCount() { return branchName_.size(); } /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @param index The index of the element to return. * @return The branchName at the given index. */ public java.lang.String getBranchName(int index) { return branchName_.get(index); } /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @param index The index of the value to return. * @return The bytes of the branchName at the given index. */ public com.google.protobuf.ByteString getBranchNameBytes(int index) { return branchName_.getByteString(index); } /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @param index The index to set the value at. * @param value The branchName to set. * @return This builder for chaining. */ public Builder setBranchName( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureBranchNameIsMutable(); branchName_.set(index, value); bitField0_ |= 0x00000010; onChanged(); return this; } /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @param value The branchName to add. * @return This builder for chaining. */ public Builder addBranchName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureBranchNameIsMutable(); branchName_.add(value); bitField0_ |= 0x00000010; onChanged(); return this; } /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @param values The branchName to add. * @return This builder for chaining. */ public Builder addAllBranchName( java.lang.Iterable<java.lang.String> values) { ensureBranchNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, branchName_); bitField0_ |= 0x00000010; onChanged(); return this; } /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @return This builder for chaining. */ public Builder clearBranchName() { branchName_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @param value The bytes of the branchName to add. * @return This builder for chaining. */ public Builder addBranchNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureBranchNameIsMutable(); branchName_.add(value); bitField0_ |= 0x00000010; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList correlationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureCorrelationIdIsMutable() { if (!correlationId_.isModifiable()) { correlationId_ = new com.google.protobuf.LazyStringArrayList(correlationId_); } bitField0_ |= 0x00000020; } /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @return A list containing the correlationId. */ public com.google.protobuf.ProtocolStringList getCorrelationIdList() { correlationId_.makeImmutable(); return correlationId_; } /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @return The count of correlationId. */ public int getCorrelationIdCount() { return correlationId_.size(); } /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @param index The index of the element to return. * @return The correlationId at the given index. */ public java.lang.String getCorrelationId(int index) { return correlationId_.get(index); } /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @param index The index of the value to return. * @return The bytes of the correlationId at the given index. */ public com.google.protobuf.ByteString getCorrelationIdBytes(int index) { return correlationId_.getByteString(index); } /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @param index The index to set the value at. * @param value The correlationId to set. * @return This builder for chaining. */ public Builder setCorrelationId( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCorrelationIdIsMutable(); correlationId_.set(index, value); bitField0_ |= 0x00000020; onChanged(); return this; } /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @param value The correlationId to add. * @return This builder for chaining. */ public Builder addCorrelationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCorrelationIdIsMutable(); correlationId_.add(value); bitField0_ |= 0x00000020; onChanged(); return this; } /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @param values The correlationId to add. * @return This builder for chaining. */ public Builder addAllCorrelationId( java.lang.Iterable<java.lang.String> values) { ensureCorrelationIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, correlationId_); bitField0_ |= 0x00000020; onChanged(); return this; } /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @return This builder for chaining. */ public Builder clearCorrelationId() { correlationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000020);; onChanged(); return this; } /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @param value The bytes of the correlationId to add. * @return This builder for chaining. */ public Builder addCorrelationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCorrelationIdIsMutable(); correlationId_.add(value); bitField0_ |= 0x00000020; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList traceId_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureTraceIdIsMutable() { if (!traceId_.isModifiable()) { traceId_ = new com.google.protobuf.LazyStringArrayList(traceId_); } bitField0_ |= 0x00000040; } /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @return A list containing the traceId. */ public com.google.protobuf.ProtocolStringList getTraceIdList() { traceId_.makeImmutable(); return traceId_; } /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @return The count of traceId. */ public int getTraceIdCount() { return traceId_.size(); } /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @param index The index of the element to return. * @return The traceId at the given index. */ public java.lang.String getTraceId(int index) { return traceId_.get(index); } /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @param index The index of the value to return. * @return The bytes of the traceId at the given index. */ public com.google.protobuf.ByteString getTraceIdBytes(int index) { return traceId_.getByteString(index); } /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @param index The index to set the value at. * @param value The traceId to set. * @return This builder for chaining. */ public Builder setTraceId( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTraceIdIsMutable(); traceId_.set(index, value); bitField0_ |= 0x00000040; onChanged(); return this; } /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @param value The traceId to add. * @return This builder for chaining. */ public Builder addTraceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTraceIdIsMutable(); traceId_.add(value); bitField0_ |= 0x00000040; onChanged(); return this; } /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @param values The traceId to add. * @return This builder for chaining. */ public Builder addAllTraceId( java.lang.Iterable<java.lang.String> values) { ensureTraceIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, traceId_); bitField0_ |= 0x00000040; onChanged(); return this; } /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @return This builder for chaining. */ public Builder clearTraceId() { traceId_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000040);; onChanged(); return this; } /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @param value The bytes of the traceId to add. * @return This builder for chaining. */ public Builder addTraceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTraceIdIsMutable(); traceId_.add(value); bitField0_ |= 0x00000040; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList queryPlanId_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureQueryPlanIdIsMutable() { if (!queryPlanId_.isModifiable()) { queryPlanId_ = new com.google.protobuf.LazyStringArrayList(queryPlanId_); } bitField0_ |= 0x00000080; } /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @return A list containing the queryPlanId. */ public com.google.protobuf.ProtocolStringList getQueryPlanIdList() { queryPlanId_.makeImmutable(); return queryPlanId_; } /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @return The count of queryPlanId. */ public int getQueryPlanIdCount() { return queryPlanId_.size(); } /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @param index The index of the element to return. * @return The queryPlanId at the given index. */ public java.lang.String getQueryPlanId(int index) { return queryPlanId_.get(index); } /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @param index The index of the value to return. * @return The bytes of the queryPlanId at the given index. */ public com.google.protobuf.ByteString getQueryPlanIdBytes(int index) { return queryPlanId_.getByteString(index); } /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @param index The index to set the value at. * @param value The queryPlanId to set. * @return This builder for chaining. */ public Builder setQueryPlanId( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureQueryPlanIdIsMutable(); queryPlanId_.set(index, value); bitField0_ |= 0x00000080; onChanged(); return this; } /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @param value The queryPlanId to add. * @return This builder for chaining. */ public Builder addQueryPlanId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureQueryPlanIdIsMutable(); queryPlanId_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @param values The queryPlanId to add. * @return This builder for chaining. */ public Builder addAllQueryPlanId( java.lang.Iterable<java.lang.String> values) { ensureQueryPlanIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, queryPlanId_); bitField0_ |= 0x00000080; onChanged(); return this; } /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @return This builder for chaining. */ public Builder clearQueryPlanId() { queryPlanId_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000080);; onChanged(); return this; } /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @param value The bytes of the queryPlanId to add. * @return This builder for chaining. */ public Builder addQueryPlanIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureQueryPlanIdIsMutable(); queryPlanId_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList deploymentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDeploymentIdIsMutable() { if (!deploymentId_.isModifiable()) { deploymentId_ = new com.google.protobuf.LazyStringArrayList(deploymentId_); } bitField0_ |= 0x00000100; } /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @return A list containing the deploymentId. */ public com.google.protobuf.ProtocolStringList getDeploymentIdList() { deploymentId_.makeImmutable(); return deploymentId_; } /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @return The count of deploymentId. */ public int getDeploymentIdCount() { return deploymentId_.size(); } /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @param index The index of the element to return. * @return The deploymentId at the given index. */ public java.lang.String getDeploymentId(int index) { return deploymentId_.get(index); } /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @param index The index of the value to return. * @return The bytes of the deploymentId at the given index. */ public com.google.protobuf.ByteString getDeploymentIdBytes(int index) { return deploymentId_.getByteString(index); } /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @param index The index to set the value at. * @param value The deploymentId to set. * @return This builder for chaining. */ public Builder setDeploymentId( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDeploymentIdIsMutable(); deploymentId_.set(index, value); bitField0_ |= 0x00000100; onChanged(); return this; } /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @param value The deploymentId to add. * @return This builder for chaining. */ public Builder addDeploymentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDeploymentIdIsMutable(); deploymentId_.add(value); bitField0_ |= 0x00000100; onChanged(); return this; } /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @param values The deploymentId to add. * @return This builder for chaining. */ public Builder addAllDeploymentId( java.lang.Iterable<java.lang.String> values) { ensureDeploymentIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, deploymentId_); bitField0_ |= 0x00000100; onChanged(); return this; } /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @return This builder for chaining. */ public Builder clearDeploymentId() { deploymentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000100);; onChanged(); return this; } /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @param value The bytes of the deploymentId to add. * @return This builder for chaining. */ public Builder addDeploymentIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDeploymentIdIsMutable(); deploymentId_.add(value); bitField0_ |= 0x00000100; onChanged(); return this; } private java.util.List<java.lang.Integer> queryStatus_ = java.util.Collections.emptyList(); private void ensureQueryStatusIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { queryStatus_ = new java.util.ArrayList<java.lang.Integer>(queryStatus_); bitField0_ |= 0x00000200; } } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @return A list containing the queryStatus. */ public java.util.List<ai.chalk.protos.chalk.common.v1.QueryStatus> getQueryStatusList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, ai.chalk.protos.chalk.common.v1.QueryStatus>(queryStatus_, queryStatus_converter_); } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @return The count of queryStatus. */ public int getQueryStatusCount() { return queryStatus_.size(); } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @param index The index of the element to return. * @return The queryStatus at the given index. */ public ai.chalk.protos.chalk.common.v1.QueryStatus getQueryStatus(int index) { return queryStatus_converter_.convert(queryStatus_.get(index)); } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @param index The index to set the value at. * @param value The queryStatus to set. * @return This builder for chaining. */ public Builder setQueryStatus( int index, ai.chalk.protos.chalk.common.v1.QueryStatus value) { if (value == null) { throw new NullPointerException(); } ensureQueryStatusIsMutable(); queryStatus_.set(index, value.getNumber()); onChanged(); return this; } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @param value The queryStatus to add. * @return This builder for chaining. */ public Builder addQueryStatus(ai.chalk.protos.chalk.common.v1.QueryStatus value) { if (value == null) { throw new NullPointerException(); } ensureQueryStatusIsMutable(); queryStatus_.add(value.getNumber()); onChanged(); return this; } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @param values The queryStatus to add. * @return This builder for chaining. */ public Builder addAllQueryStatus( java.lang.Iterable<? extends ai.chalk.protos.chalk.common.v1.QueryStatus> values) { ensureQueryStatusIsMutable(); for (ai.chalk.protos.chalk.common.v1.QueryStatus value : values) { queryStatus_.add(value.getNumber()); } onChanged(); return this; } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @return This builder for chaining. */ public Builder clearQueryStatus() { queryStatus_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @return A list containing the enum numeric values on the wire for queryStatus. */ public java.util.List<java.lang.Integer> getQueryStatusValueList() { return java.util.Collections.unmodifiableList(queryStatus_); } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @param index The index of the value to return. * @return The enum numeric value on the wire of queryStatus at the given index. */ public int getQueryStatusValue(int index) { return queryStatus_.get(index); } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @param index The index to set the value at. * @param value The enum numeric value on the wire for queryStatus to set. * @return This builder for chaining. */ public Builder setQueryStatusValue( int index, int value) { ensureQueryStatusIsMutable(); queryStatus_.set(index, value); onChanged(); return this; } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @param value The enum numeric value on the wire for queryStatus to add. * @return This builder for chaining. */ public Builder addQueryStatusValue(int value) { ensureQueryStatusIsMutable(); queryStatus_.add(value); onChanged(); return this; } /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @param values The enum numeric values on the wire for queryStatus to add. * @return This builder for chaining. */ public Builder addAllQueryStatusValue( java.lang.Iterable<java.lang.Integer> values) { ensureQueryStatusIsMutable(); for (int value : values) { queryStatus_.add(value); } onChanged(); return this; } private com.google.protobuf.LazyStringArrayList metaQueryHash_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureMetaQueryHashIsMutable() { if (!metaQueryHash_.isModifiable()) { metaQueryHash_ = new com.google.protobuf.LazyStringArrayList(metaQueryHash_); } bitField0_ |= 0x00000400; } /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @return A list containing the metaQueryHash. */ public com.google.protobuf.ProtocolStringList getMetaQueryHashList() { metaQueryHash_.makeImmutable(); return metaQueryHash_; } /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @return The count of metaQueryHash. */ public int getMetaQueryHashCount() { return metaQueryHash_.size(); } /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @param index The index of the element to return. * @return The metaQueryHash at the given index. */ public java.lang.String getMetaQueryHash(int index) { return metaQueryHash_.get(index); } /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @param index The index of the value to return. * @return The bytes of the metaQueryHash at the given index. */ public com.google.protobuf.ByteString getMetaQueryHashBytes(int index) { return metaQueryHash_.getByteString(index); } /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @param index The index to set the value at. * @param value The metaQueryHash to set. * @return This builder for chaining. */ public Builder setMetaQueryHash( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMetaQueryHashIsMutable(); metaQueryHash_.set(index, value); bitField0_ |= 0x00000400; onChanged(); return this; } /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @param value The metaQueryHash to add. * @return This builder for chaining. */ public Builder addMetaQueryHash( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMetaQueryHashIsMutable(); metaQueryHash_.add(value); bitField0_ |= 0x00000400; onChanged(); return this; } /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @param values The metaQueryHash to add. * @return This builder for chaining. */ public Builder addAllMetaQueryHash( java.lang.Iterable<java.lang.String> values) { ensureMetaQueryHashIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, metaQueryHash_); bitField0_ |= 0x00000400; onChanged(); return this; } /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @return This builder for chaining. */ public Builder clearMetaQueryHash() { metaQueryHash_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000400);; onChanged(); return this; } /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @param value The bytes of the metaQueryHash to add. * @return This builder for chaining. */ public Builder addMetaQueryHashBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureMetaQueryHashIsMutable(); metaQueryHash_.add(value); bitField0_ |= 0x00000400; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.QueryLogFilters) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.QueryLogFilters) private static final ai.chalk.protos.chalk.engine.v2.QueryLogFilters DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.QueryLogFilters(); } public static ai.chalk.protos.chalk.engine.v2.QueryLogFilters getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<QueryLogFilters> PARSER = new com.google.protobuf.AbstractParser<QueryLogFilters>() { @java.lang.Override public QueryLogFilters 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<QueryLogFilters> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<QueryLogFilters> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.QueryLogFilters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/QueryLogFiltersOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface QueryLogFiltersOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.QueryLogFilters) com.google.protobuf.MessageOrBuilder { /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @return A list containing the operationId. */ java.util.List<java.lang.String> getOperationIdList(); /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @return The count of operationId. */ int getOperationIdCount(); /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @param index The index of the element to return. * @return The operationId at the given index. */ java.lang.String getOperationId(int index); /** * <pre> * All of these fields are optional. If any are specified, they will be AND'd together in a where clause * Any len-zero options will be ignored. If multiple options are specified for a given key, they will be OR'd together * i.e. works similarly to how you filter products on Amazon -- (size 8 or size 9) AND (color == blue OR color == "red") * </pre> * * <code>repeated string operation_id = 1 [json_name = "operationId"];</code> * @param index The index of the value to return. * @return The bytes of the operationId at the given index. */ com.google.protobuf.ByteString getOperationIdBytes(int index); /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @return A list containing the operationKind. */ java.util.List<ai.chalk.protos.chalk.common.v1.OperationKind> getOperationKindList(); /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @return The count of operationKind. */ int getOperationKindCount(); /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @param index The index of the element to return. * @return The operationKind at the given index. */ ai.chalk.protos.chalk.common.v1.OperationKind getOperationKind(int index); /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @return A list containing the enum numeric values on the wire for operationKind. */ java.util.List<java.lang.Integer> getOperationKindValueList(); /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 2 [json_name = "operationKind"];</code> * @param index The index of the value to return. * @return The enum numeric value on the wire of operationKind at the given index. */ int getOperationKindValue(int index); /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ java.util.List<ai.chalk.protos.chalk.engine.v2.VersionedQueryName> getQueryNameList(); /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ ai.chalk.protos.chalk.engine.v2.VersionedQueryName getQueryName(int index); /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ int getQueryNameCount(); /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.engine.v2.VersionedQueryNameOrBuilder> getQueryNameOrBuilderList(); /** * <code>repeated .chalk.engine.v2.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ ai.chalk.protos.chalk.engine.v2.VersionedQueryNameOrBuilder getQueryNameOrBuilder( int index); /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @return A list containing the agentId. */ java.util.List<java.lang.String> getAgentIdList(); /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @return The count of agentId. */ int getAgentIdCount(); /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @param index The index of the element to return. * @return The agentId at the given index. */ java.lang.String getAgentId(int index); /** * <code>repeated string agent_id = 5 [json_name = "agentId"];</code> * @param index The index of the value to return. * @return The bytes of the agentId at the given index. */ com.google.protobuf.ByteString getAgentIdBytes(int index); /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @return A list containing the branchName. */ java.util.List<java.lang.String> getBranchNameList(); /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @return The count of branchName. */ int getBranchNameCount(); /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @param index The index of the element to return. * @return The branchName at the given index. */ java.lang.String getBranchName(int index); /** * <code>repeated string branch_name = 6 [json_name = "branchName"];</code> * @param index The index of the value to return. * @return The bytes of the branchName at the given index. */ com.google.protobuf.ByteString getBranchNameBytes(int index); /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @return A list containing the correlationId. */ java.util.List<java.lang.String> getCorrelationIdList(); /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @return The count of correlationId. */ int getCorrelationIdCount(); /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @param index The index of the element to return. * @return The correlationId at the given index. */ java.lang.String getCorrelationId(int index); /** * <code>repeated string correlation_id = 7 [json_name = "correlationId"];</code> * @param index The index of the value to return. * @return The bytes of the correlationId at the given index. */ com.google.protobuf.ByteString getCorrelationIdBytes(int index); /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @return A list containing the traceId. */ java.util.List<java.lang.String> getTraceIdList(); /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @return The count of traceId. */ int getTraceIdCount(); /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @param index The index of the element to return. * @return The traceId at the given index. */ java.lang.String getTraceId(int index); /** * <code>repeated string trace_id = 8 [json_name = "traceId"];</code> * @param index The index of the value to return. * @return The bytes of the traceId at the given index. */ com.google.protobuf.ByteString getTraceIdBytes(int index); /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @return A list containing the queryPlanId. */ java.util.List<java.lang.String> getQueryPlanIdList(); /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @return The count of queryPlanId. */ int getQueryPlanIdCount(); /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @param index The index of the element to return. * @return The queryPlanId at the given index. */ java.lang.String getQueryPlanId(int index); /** * <code>repeated string query_plan_id = 9 [json_name = "queryPlanId"];</code> * @param index The index of the value to return. * @return The bytes of the queryPlanId at the given index. */ com.google.protobuf.ByteString getQueryPlanIdBytes(int index); /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @return A list containing the deploymentId. */ java.util.List<java.lang.String> getDeploymentIdList(); /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @return The count of deploymentId. */ int getDeploymentIdCount(); /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @param index The index of the element to return. * @return The deploymentId at the given index. */ java.lang.String getDeploymentId(int index); /** * <code>repeated string deployment_id = 10 [json_name = "deploymentId"];</code> * @param index The index of the value to return. * @return The bytes of the deploymentId at the given index. */ com.google.protobuf.ByteString getDeploymentIdBytes(int index); /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @return A list containing the queryStatus. */ java.util.List<ai.chalk.protos.chalk.common.v1.QueryStatus> getQueryStatusList(); /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @return The count of queryStatus. */ int getQueryStatusCount(); /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @param index The index of the element to return. * @return The queryStatus at the given index. */ ai.chalk.protos.chalk.common.v1.QueryStatus getQueryStatus(int index); /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @return A list containing the enum numeric values on the wire for queryStatus. */ java.util.List<java.lang.Integer> getQueryStatusValueList(); /** * <code>repeated .chalk.common.v1.QueryStatus query_status = 11 [json_name = "queryStatus"];</code> * @param index The index of the value to return. * @return The enum numeric value on the wire of queryStatus at the given index. */ int getQueryStatusValue(int index); /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @return A list containing the metaQueryHash. */ java.util.List<java.lang.String> getMetaQueryHashList(); /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @return The count of metaQueryHash. */ int getMetaQueryHashCount(); /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @param index The index of the element to return. * @return The metaQueryHash at the given index. */ java.lang.String getMetaQueryHash(int index); /** * <code>repeated string meta_query_hash = 12 [json_name = "metaQueryHash"];</code> * @param index The index of the value to return. * @return The bytes of the metaQueryHash at the given index. */ com.google.protobuf.ByteString getMetaQueryHashBytes(int index); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/QueryLogProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public final class QueryLogProto { private QueryLogProto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_VersionedQueryName_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_VersionedQueryName_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_QueryLogFilters_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_QueryLogFilters_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_GetQueryLogEntriesPageToken_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_GetQueryLogEntriesPageToken_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_GetQueryLogEntriesRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_GetQueryLogEntriesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_QueryLogEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_QueryLogEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_GetQueryLogEntriesResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_GetQueryLogEntriesResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\037chalk/engine/v2/query_log.proto\022\017chalk" + ".engine.v2\032$chalk/common/v1/operation_ki" + "nd.proto\032\"chalk/common/v1/query_status.p" + "roto\032\037google/protobuf/timestamp.proto\"}\n" + "\022VersionedQueryName\022\035\n\nquery_name\030\001 \001(\tR" + "\tqueryName\0221\n\022query_name_version\030\002 \001(\tH\000" + "R\020queryNameVersion\210\001\001B\025\n\023_query_name_ver" + "sion\"\357\003\n\017QueryLogFilters\022!\n\014operation_id" + "\030\001 \003(\tR\013operationId\022E\n\016operation_kind\030\002 " + "\003(\0162\036.chalk.common.v1.OperationKindR\rope" + "rationKind\022B\n\nquery_name\030\003 \003(\0132#.chalk.e" + "ngine.v2.VersionedQueryNameR\tqueryName\022\031" + "\n\010agent_id\030\005 \003(\tR\007agentId\022\037\n\013branch_name" + "\030\006 \003(\tR\nbranchName\022%\n\016correlation_id\030\007 \003" + "(\tR\rcorrelationId\022\031\n\010trace_id\030\010 \003(\tR\007tra" + "ceId\022\"\n\rquery_plan_id\030\t \003(\tR\013queryPlanId" + "\022#\n\rdeployment_id\030\n \003(\tR\014deploymentId\022?\n" + "\014query_status\030\013 \003(\0162\034.chalk.common.v1.Qu" + "eryStatusR\013queryStatus\022&\n\017meta_query_has" + "h\030\014 \003(\tR\rmetaQueryHash\"\223\001\n\033GetQueryLogEn" + "triesPageToken\022(\n\020operation_id_hwm\030\001 \001(\t" + "R\016operationIdHwm\022J\n\023query_timestamp_hwm\030" + "\002 \001(\0132\032.google.protobuf.TimestampR\021query" + "TimestampHwm\"\236\003\n\031GetQueryLogEntriesReque" + "st\022l\n%query_timestamp_lower_bound_inclus" + "ive\030\001 \001(\0132\032.google.protobuf.TimestampR!q" + "ueryTimestampLowerBoundInclusive\022q\n%quer" + "y_timestamp_upper_bound_exclusive\030\002 \001(\0132" + "\032.google.protobuf.TimestampH\000R!queryTime" + "stampUpperBoundExclusive\210\001\001\022:\n\007filters\030\003" + " \001(\0132 .chalk.engine.v2.QueryLogFiltersR\007" + "filters\022\033\n\tpage_size\030\004 \001(\005R\010pageSize\022\035\n\n" + "page_token\030\005 \001(\tR\tpageTokenB(\n&_query_ti" + "mestamp_upper_bound_exclusive\"\243\006\n\rQueryL" + "ogEntry\022!\n\014operation_id\030\001 \001(\tR\013operation" + "Id\022%\n\016environment_id\030\002 \001(\tR\renvironmentI" + "d\022#\n\rdeployment_id\030\003 \001(\tR\014deploymentId\022E" + "\n\016operation_kind\030\004 \001(\0162\036.chalk.common.v1" + ".OperationKindR\roperationKind\022C\n\017query_t" + "imestamp\030\005 \001(\0132\032.google.protobuf.Timesta" + "mpR\016queryTimestamp\022L\n\024execution_started_" + "at\030\006 \001(\0132\032.google.protobuf.TimestampR\022ex" + "ecutionStartedAt\022N\n\025execution_finished_a" + "t\030\007 \001(\0132\032.google.protobuf.TimestampR\023exe" + "cutionFinishedAt\022?\n\014query_status\030\010 \001(\0162\034" + ".chalk.common.v1.QueryStatusR\013queryStatu" + "s\022\035\n\nquery_name\030\t \001(\tR\tqueryName\022,\n\022quer" + "y_name_version\030\n \001(\tR\020queryNameVersion\022\031" + "\n\010agent_id\030\013 \001(\tR\007agentId\022\037\n\013branch_name" + "\030\014 \001(\tR\nbranchName\022%\n\016correlation_id\030\r \001" + "(\tR\rcorrelationId\022\031\n\010trace_id\030\016 \001(\tR\007tra" + "ceId\022\"\n\rquery_plan_id\030\017 \001(\tR\013queryPlanId" + "\022!\n\014value_tables\030\020 \003(\tR\013valueTables\022&\n\017m" + "eta_query_hash\030\021 \001(\tR\rmetaQueryHash\"~\n\032G" + "etQueryLogEntriesResponse\0228\n\007entries\030\001 \003" + "(\0132\036.chalk.engine.v2.QueryLogEntryR\007entr" + "ies\022&\n\017next_page_token\030\002 \001(\tR\rnextPageTo" + "kenB\216\001\n\037ai.chalk.protos.chalk.engine.v2B" + "\rQueryLogProtoP\001\242\002\003CEX\252\002\017Chalk.Engine.V2" + "\312\002\017Chalk\\Engine\\V2\342\002\033Chalk\\Engine\\V2\\GPB" + "Metadata\352\002\021Chalk::Engine::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { ai.chalk.protos.chalk.common.v1.OperationKindProto.getDescriptor(), ai.chalk.protos.chalk.common.v1.QueryStatusProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_chalk_engine_v2_VersionedQueryName_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_engine_v2_VersionedQueryName_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_VersionedQueryName_descriptor, new java.lang.String[] { "QueryName", "QueryNameVersion", }); internal_static_chalk_engine_v2_QueryLogFilters_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_chalk_engine_v2_QueryLogFilters_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_QueryLogFilters_descriptor, new java.lang.String[] { "OperationId", "OperationKind", "QueryName", "AgentId", "BranchName", "CorrelationId", "TraceId", "QueryPlanId", "DeploymentId", "QueryStatus", "MetaQueryHash", }); internal_static_chalk_engine_v2_GetQueryLogEntriesPageToken_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_chalk_engine_v2_GetQueryLogEntriesPageToken_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_GetQueryLogEntriesPageToken_descriptor, new java.lang.String[] { "OperationIdHwm", "QueryTimestampHwm", }); internal_static_chalk_engine_v2_GetQueryLogEntriesRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_chalk_engine_v2_GetQueryLogEntriesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_GetQueryLogEntriesRequest_descriptor, new java.lang.String[] { "QueryTimestampLowerBoundInclusive", "QueryTimestampUpperBoundExclusive", "Filters", "PageSize", "PageToken", }); internal_static_chalk_engine_v2_QueryLogEntry_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_chalk_engine_v2_QueryLogEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_QueryLogEntry_descriptor, new java.lang.String[] { "OperationId", "EnvironmentId", "DeploymentId", "OperationKind", "QueryTimestamp", "ExecutionStartedAt", "ExecutionFinishedAt", "QueryStatus", "QueryName", "QueryNameVersion", "AgentId", "BranchName", "CorrelationId", "TraceId", "QueryPlanId", "ValueTables", "MetaQueryHash", }); internal_static_chalk_engine_v2_GetQueryLogEntriesResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_chalk_engine_v2_GetQueryLogEntriesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_GetQueryLogEntriesResponse_descriptor, new java.lang.String[] { "Entries", "NextPageToken", }); ai.chalk.protos.chalk.common.v1.OperationKindProto.getDescriptor(); ai.chalk.protos.chalk.common.v1.QueryStatusProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/QueryValuesProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public final class QueryValuesProto { private QueryValuesProto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_OperationIdTableIdentifier_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_OperationIdTableIdentifier_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_TableNameTableIdentifier_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_TableNameTableIdentifier_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_GetQueryValuesPageToken_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_GetQueryValuesPageToken_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_GetQueryValuesRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_GetQueryValuesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_GetQueryValuesResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_GetQueryValuesResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\"chalk/engine/v2/query_values.proto\022\017ch" + "alk.engine.v2\032\037chalk/common/v1/query_log" + ".proto\032\037google/protobuf/timestamp.proto\"" + "?\n\032OperationIdTableIdentifier\022!\n\014operati" + "on_id\030\001 \001(\tR\013operationId\"u\n\030TableNameTab" + "leIdentifier\022\035\n\ntable_name\030\001 \001(\tR\ttableN" + "ame\022:\n\007filters\030\002 \001(\0132 .chalk.common.v1.Q" + "ueryLogFiltersR\007filters\"\255\001\n\027GetQueryValu" + "esPageToken\022J\n\023query_timestamp_hwm\030\001 \001(\013" + "2\032.google.protobuf.TimestampR\021queryTimes" + "tampHwm\022(\n\020operation_id_hwm\030\002 \001(\tR\016opera" + "tionIdHwm\022\034\n\nrow_id_hwm\030\003 \001(\003R\010rowIdHwm\"" + "\326\004\n\025GetQueryValuesRequest\022e\n\027operation_i" + "d_identifier\030\001 \001(\0132+.chalk.engine.v2.Ope" + "rationIdTableIdentifierH\000R\025operationIdId" + "entifier\022_\n\025table_name_identifier\030\002 \001(\0132" + ").chalk.engine.v2.TableNameTableIdentifi" + "erH\000R\023tableNameIdentifier\022l\n%query_times" + "tamp_lower_bound_inclusive\030\003 \001(\0132\032.googl" + "e.protobuf.TimestampR!queryTimestampLowe" + "rBoundInclusive\022q\n%query_timestamp_upper" + "_bound_exclusive\030\004 \001(\0132\032.google.protobuf" + ".TimestampH\001R!queryTimestampUpperBoundEx" + "clusive\210\001\001\022\032\n\010features\030\005 \003(\tR\010features\022\033" + "\n\tpage_size\030\007 \001(\005R\010pageSize\022\035\n\npage_toke" + "n\030\010 \001(\tR\tpageTokenB\022\n\020table_identifierB(" + "\n&_query_timestamp_upper_bound_exclusive" + "\"g\n\026GetQueryValuesResponse\022&\n\017next_page_" + "token\030\001 \001(\tR\rnextPageToken\022\032\n\007parquet\030\002 " + "\001(\014H\000R\007parquetB\t\n\007payloadB\221\001\n\037ai.chalk.p" + "rotos.chalk.engine.v2B\020QueryValuesProtoP" + "\001\242\002\003CEX\252\002\017Chalk.Engine.V2\312\002\017Chalk\\Engine" + "\\V2\342\002\033Chalk\\Engine\\V2\\GPBMetadata\352\002\021Chal" + "k::Engine::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { ai.chalk.protos.chalk.common.v1.QueryLogProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_chalk_engine_v2_OperationIdTableIdentifier_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_engine_v2_OperationIdTableIdentifier_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_OperationIdTableIdentifier_descriptor, new java.lang.String[] { "OperationId", }); internal_static_chalk_engine_v2_TableNameTableIdentifier_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_chalk_engine_v2_TableNameTableIdentifier_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_TableNameTableIdentifier_descriptor, new java.lang.String[] { "TableName", "Filters", }); internal_static_chalk_engine_v2_GetQueryValuesPageToken_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_chalk_engine_v2_GetQueryValuesPageToken_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_GetQueryValuesPageToken_descriptor, new java.lang.String[] { "QueryTimestampHwm", "OperationIdHwm", "RowIdHwm", }); internal_static_chalk_engine_v2_GetQueryValuesRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_chalk_engine_v2_GetQueryValuesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_GetQueryValuesRequest_descriptor, new java.lang.String[] { "OperationIdIdentifier", "TableNameIdentifier", "QueryTimestampLowerBoundInclusive", "QueryTimestampUpperBoundExclusive", "Features", "PageSize", "PageToken", "TableIdentifier", }); internal_static_chalk_engine_v2_GetQueryValuesResponse_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_chalk_engine_v2_GetQueryValuesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_GetQueryValuesResponse_descriptor, new java.lang.String[] { "NextPageToken", "Parquet", "Payload", }); ai.chalk.protos.chalk.common.v1.QueryLogProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/TableNameTableIdentifier.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * Protobuf type {@code chalk.engine.v2.TableNameTableIdentifier} */ public final class TableNameTableIdentifier extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.TableNameTableIdentifier) TableNameTableIdentifierOrBuilder { private static final long serialVersionUID = 0L; // Use TableNameTableIdentifier.newBuilder() to construct. private TableNameTableIdentifier(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private TableNameTableIdentifier() { tableName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableNameTableIdentifier(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_TableNameTableIdentifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_TableNameTableIdentifier_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.class, ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.Builder.class); } private int bitField0_; public static final int TABLE_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** * <code>string table_name = 1 [json_name = "tableName"];</code> * @return The tableName. */ @java.lang.Override public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** * <code>string table_name = 1 [json_name = "tableName"];</code> * @return The bytes for tableName. */ @java.lang.Override public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tableName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTERS_FIELD_NUMBER = 2; private ai.chalk.protos.chalk.common.v1.QueryLogFilters filters_; /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> * @return Whether the filters field is set. */ @java.lang.Override public boolean hasFilters() { return ((bitField0_ & 0x00000001) != 0); } /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> * @return The filters. */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryLogFilters getFilters() { return filters_ == null ? ai.chalk.protos.chalk.common.v1.QueryLogFilters.getDefaultInstance() : filters_; } /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryLogFiltersOrBuilder getFiltersOrBuilder() { return filters_ == null ? ai.chalk.protos.chalk.common.v1.QueryLogFilters.getDefaultInstance() : filters_; } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getFilters()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getFilters()); } 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 ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier other = (ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier) obj; if (!getTableName() .equals(other.getTableName())) return false; if (hasFilters() != other.hasFilters()) return false; if (hasFilters()) { if (!getFilters() .equals(other.getFilters())) 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(); hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); if (hasFilters()) { hash = (37 * hash) + FILTERS_FIELD_NUMBER; hash = (53 * hash) + getFilters().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.engine.v2.TableNameTableIdentifier} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.TableNameTableIdentifier) ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifierOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_TableNameTableIdentifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_TableNameTableIdentifier_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.class, ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFiltersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; tableName_ = ""; filters_ = null; if (filtersBuilder_ != null) { filtersBuilder_.dispose(); filtersBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.QueryValuesProto.internal_static_chalk_engine_v2_TableNameTableIdentifier_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier build() { ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier buildPartial() { ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier result = new ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.tableName_ = tableName_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.filters_ = filtersBuilder_ == null ? filters_ : filtersBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier other) { if (other == ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier.getDefaultInstance()) return this; if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasFilters()) { mergeFilters(other.getFilters()); } 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: { tableName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getFiltersFieldBuilder().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 java.lang.Object tableName_ = ""; /** * <code>string table_name = 1 [json_name = "tableName"];</code> * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string table_name = 1 [json_name = "tableName"];</code> * @return The bytes for tableName. */ public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tableName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string table_name = 1 [json_name = "tableName"];</code> * @param value The tableName to set. * @return This builder for chaining. */ public Builder setTableName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string table_name = 1 [json_name = "tableName"];</code> * @return This builder for chaining. */ public Builder clearTableName() { tableName_ = getDefaultInstance().getTableName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string table_name = 1 [json_name = "tableName"];</code> * @param value The bytes for tableName to set. * @return This builder for chaining. */ public Builder setTableNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private ai.chalk.protos.chalk.common.v1.QueryLogFilters filters_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.common.v1.QueryLogFilters, ai.chalk.protos.chalk.common.v1.QueryLogFilters.Builder, ai.chalk.protos.chalk.common.v1.QueryLogFiltersOrBuilder> filtersBuilder_; /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> * @return Whether the filters field is set. */ public boolean hasFilters() { return ((bitField0_ & 0x00000002) != 0); } /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> * @return The filters. */ public ai.chalk.protos.chalk.common.v1.QueryLogFilters getFilters() { if (filtersBuilder_ == null) { return filters_ == null ? ai.chalk.protos.chalk.common.v1.QueryLogFilters.getDefaultInstance() : filters_; } else { return filtersBuilder_.getMessage(); } } /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> */ public Builder setFilters(ai.chalk.protos.chalk.common.v1.QueryLogFilters value) { if (filtersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filters_ = value; } else { filtersBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> */ public Builder setFilters( ai.chalk.protos.chalk.common.v1.QueryLogFilters.Builder builderForValue) { if (filtersBuilder_ == null) { filters_ = builderForValue.build(); } else { filtersBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> */ public Builder mergeFilters(ai.chalk.protos.chalk.common.v1.QueryLogFilters value) { if (filtersBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && filters_ != null && filters_ != ai.chalk.protos.chalk.common.v1.QueryLogFilters.getDefaultInstance()) { getFiltersBuilder().mergeFrom(value); } else { filters_ = value; } } else { filtersBuilder_.mergeFrom(value); } if (filters_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> */ public Builder clearFilters() { bitField0_ = (bitField0_ & ~0x00000002); filters_ = null; if (filtersBuilder_ != null) { filtersBuilder_.dispose(); filtersBuilder_ = null; } onChanged(); return this; } /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> */ public ai.chalk.protos.chalk.common.v1.QueryLogFilters.Builder getFiltersBuilder() { bitField0_ |= 0x00000002; onChanged(); return getFiltersFieldBuilder().getBuilder(); } /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> */ public ai.chalk.protos.chalk.common.v1.QueryLogFiltersOrBuilder getFiltersOrBuilder() { if (filtersBuilder_ != null) { return filtersBuilder_.getMessageOrBuilder(); } else { return filters_ == null ? ai.chalk.protos.chalk.common.v1.QueryLogFilters.getDefaultInstance() : filters_; } } /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.common.v1.QueryLogFilters, ai.chalk.protos.chalk.common.v1.QueryLogFilters.Builder, ai.chalk.protos.chalk.common.v1.QueryLogFiltersOrBuilder> getFiltersFieldBuilder() { if (filtersBuilder_ == null) { filtersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.common.v1.QueryLogFilters, ai.chalk.protos.chalk.common.v1.QueryLogFilters.Builder, ai.chalk.protos.chalk.common.v1.QueryLogFiltersOrBuilder>( getFilters(), getParentForChildren(), isClean()); filters_ = null; } return filtersBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.TableNameTableIdentifier) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.TableNameTableIdentifier) private static final ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier(); } public static ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<TableNameTableIdentifier> PARSER = new com.google.protobuf.AbstractParser<TableNameTableIdentifier>() { @java.lang.Override public TableNameTableIdentifier 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<TableNameTableIdentifier> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<TableNameTableIdentifier> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.TableNameTableIdentifier getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/TableNameTableIdentifierOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface TableNameTableIdentifierOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.TableNameTableIdentifier) com.google.protobuf.MessageOrBuilder { /** * <code>string table_name = 1 [json_name = "tableName"];</code> * @return The tableName. */ java.lang.String getTableName(); /** * <code>string table_name = 1 [json_name = "tableName"];</code> * @return The bytes for tableName. */ com.google.protobuf.ByteString getTableNameBytes(); /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> * @return Whether the filters field is set. */ boolean hasFilters(); /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> * @return The filters. */ ai.chalk.protos.chalk.common.v1.QueryLogFilters getFilters(); /** * <pre> * Optionally, you can filter. Specifying any filters will result in a join against the query log table. * </pre> * * <code>.chalk.common.v1.QueryLogFilters filters = 2 [json_name = "filters"];</code> */ ai.chalk.protos.chalk.common.v1.QueryLogFiltersOrBuilder getFiltersOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/VersionedQueryName.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; /** * Protobuf type {@code chalk.engine.v2.VersionedQueryName} */ public final class VersionedQueryName extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.VersionedQueryName) VersionedQueryNameOrBuilder { private static final long serialVersionUID = 0L; // Use VersionedQueryName.newBuilder() to construct. private VersionedQueryName(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private VersionedQueryName() { queryName_ = ""; queryNameVersion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new VersionedQueryName(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_VersionedQueryName_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_VersionedQueryName_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.VersionedQueryName.class, ai.chalk.protos.chalk.engine.v2.VersionedQueryName.Builder.class); } private int bitField0_; public static final int QUERY_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object queryName_ = ""; /** * <code>string query_name = 1 [json_name = "queryName"];</code> * @return The queryName. */ @java.lang.Override public java.lang.String getQueryName() { java.lang.Object ref = queryName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryName_ = s; return s; } } /** * <code>string query_name = 1 [json_name = "queryName"];</code> * @return The bytes for queryName. */ @java.lang.Override public com.google.protobuf.ByteString getQueryNameBytes() { java.lang.Object ref = queryName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUERY_NAME_VERSION_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object queryNameVersion_ = ""; /** * <code>optional string query_name_version = 2 [json_name = "queryNameVersion"];</code> * @return Whether the queryNameVersion field is set. */ @java.lang.Override public boolean hasQueryNameVersion() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>optional string query_name_version = 2 [json_name = "queryNameVersion"];</code> * @return The queryNameVersion. */ @java.lang.Override public java.lang.String getQueryNameVersion() { java.lang.Object ref = queryNameVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryNameVersion_ = s; return s; } } /** * <code>optional string query_name_version = 2 [json_name = "queryNameVersion"];</code> * @return The bytes for queryNameVersion. */ @java.lang.Override public com.google.protobuf.ByteString getQueryNameVersionBytes() { java.lang.Object ref = queryNameVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryNameVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, queryName_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, queryNameVersion_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, queryName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, queryNameVersion_); } 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 ai.chalk.protos.chalk.engine.v2.VersionedQueryName)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.VersionedQueryName other = (ai.chalk.protos.chalk.engine.v2.VersionedQueryName) obj; if (!getQueryName() .equals(other.getQueryName())) return false; if (hasQueryNameVersion() != other.hasQueryNameVersion()) return false; if (hasQueryNameVersion()) { if (!getQueryNameVersion() .equals(other.getQueryNameVersion())) 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(); hash = (37 * hash) + QUERY_NAME_FIELD_NUMBER; hash = (53 * hash) + getQueryName().hashCode(); if (hasQueryNameVersion()) { hash = (37 * hash) + QUERY_NAME_VERSION_FIELD_NUMBER; hash = (53 * hash) + getQueryNameVersion().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.engine.v2.VersionedQueryName 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.engine.v2.VersionedQueryName} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.VersionedQueryName) ai.chalk.protos.chalk.engine.v2.VersionedQueryNameOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_VersionedQueryName_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_VersionedQueryName_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.VersionedQueryName.class, ai.chalk.protos.chalk.engine.v2.VersionedQueryName.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.VersionedQueryName.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; queryName_ = ""; queryNameVersion_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v2.QueryLogProto.internal_static_chalk_engine_v2_VersionedQueryName_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.VersionedQueryName getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.VersionedQueryName.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.VersionedQueryName build() { ai.chalk.protos.chalk.engine.v2.VersionedQueryName result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.VersionedQueryName buildPartial() { ai.chalk.protos.chalk.engine.v2.VersionedQueryName result = new ai.chalk.protos.chalk.engine.v2.VersionedQueryName(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.VersionedQueryName result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.queryName_ = queryName_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.queryNameVersion_ = queryNameVersion_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.engine.v2.VersionedQueryName) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.VersionedQueryName)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.VersionedQueryName other) { if (other == ai.chalk.protos.chalk.engine.v2.VersionedQueryName.getDefaultInstance()) return this; if (!other.getQueryName().isEmpty()) { queryName_ = other.queryName_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasQueryNameVersion()) { queryNameVersion_ = other.queryNameVersion_; bitField0_ |= 0x00000002; onChanged(); } 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: { queryName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { queryNameVersion_ = input.readStringRequireUtf8(); 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 java.lang.Object queryName_ = ""; /** * <code>string query_name = 1 [json_name = "queryName"];</code> * @return The queryName. */ public java.lang.String getQueryName() { java.lang.Object ref = queryName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string query_name = 1 [json_name = "queryName"];</code> * @return The bytes for queryName. */ public com.google.protobuf.ByteString getQueryNameBytes() { java.lang.Object ref = queryName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string query_name = 1 [json_name = "queryName"];</code> * @param value The queryName to set. * @return This builder for chaining. */ public Builder setQueryName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string query_name = 1 [json_name = "queryName"];</code> * @return This builder for chaining. */ public Builder clearQueryName() { queryName_ = getDefaultInstance().getQueryName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string query_name = 1 [json_name = "queryName"];</code> * @param value The bytes for queryName to set. * @return This builder for chaining. */ public Builder setQueryNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object queryNameVersion_ = ""; /** * <code>optional string query_name_version = 2 [json_name = "queryNameVersion"];</code> * @return Whether the queryNameVersion field is set. */ public boolean hasQueryNameVersion() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>optional string query_name_version = 2 [json_name = "queryNameVersion"];</code> * @return The queryNameVersion. */ public java.lang.String getQueryNameVersion() { java.lang.Object ref = queryNameVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryNameVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string query_name_version = 2 [json_name = "queryNameVersion"];</code> * @return The bytes for queryNameVersion. */ public com.google.protobuf.ByteString getQueryNameVersionBytes() { java.lang.Object ref = queryNameVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryNameVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string query_name_version = 2 [json_name = "queryNameVersion"];</code> * @param value The queryNameVersion to set. * @return This builder for chaining. */ public Builder setQueryNameVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryNameVersion_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>optional string query_name_version = 2 [json_name = "queryNameVersion"];</code> * @return This builder for chaining. */ public Builder clearQueryNameVersion() { queryNameVersion_ = getDefaultInstance().getQueryNameVersion(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * <code>optional string query_name_version = 2 [json_name = "queryNameVersion"];</code> * @param value The bytes for queryNameVersion to set. * @return This builder for chaining. */ public Builder setQueryNameVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryNameVersion_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.engine.v2.VersionedQueryName) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.VersionedQueryName) private static final ai.chalk.protos.chalk.engine.v2.VersionedQueryName DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.VersionedQueryName(); } public static ai.chalk.protos.chalk.engine.v2.VersionedQueryName getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<VersionedQueryName> PARSER = new com.google.protobuf.AbstractParser<VersionedQueryName>() { @java.lang.Override public VersionedQueryName 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<VersionedQueryName> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<VersionedQueryName> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.VersionedQueryName getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v2/VersionedQueryNameOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v2/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v2; public interface VersionedQueryNameOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.VersionedQueryName) com.google.protobuf.MessageOrBuilder { /** * <code>string query_name = 1 [json_name = "queryName"];</code> * @return The queryName. */ java.lang.String getQueryName(); /** * <code>string query_name = 1 [json_name = "queryName"];</code> * @return The bytes for queryName. */ com.google.protobuf.ByteString getQueryNameBytes(); /** * <code>optional string query_name_version = 2 [json_name = "queryNameVersion"];</code> * @return Whether the queryNameVersion field is set. */ boolean hasQueryNameVersion(); /** * <code>optional string query_name_version = 2 [json_name = "queryNameVersion"];</code> * @return The queryNameVersion. */ java.lang.String getQueryNameVersion(); /** * <code>optional string query_name_version = 2 [json_name = "queryNameVersion"];</code> * @return The bytes for queryNameVersion. */ com.google.protobuf.ByteString getQueryNameVersionBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/AggregateExprNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.AggregateExprNode} */ public final class AggregateExprNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.AggregateExprNode) AggregateExprNodeOrBuilder { private static final long serialVersionUID = 0L; // Use AggregateExprNode.newBuilder() to construct. private AggregateExprNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private AggregateExprNode() { aggrFunction_ = 0; expr_ = java.util.Collections.emptyList(); orderBy_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AggregateExprNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AggregateExprNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AggregateExprNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.AggregateExprNode.class, ai.chalk.protos.chalk.expression.v1.AggregateExprNode.Builder.class); } private int bitField0_; public static final int AGGR_FUNCTION_FIELD_NUMBER = 1; private int aggrFunction_ = 0; /** * <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code> * @return The enum numeric value on the wire for aggrFunction. */ @java.lang.Override public int getAggrFunctionValue() { return aggrFunction_; } /** * <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code> * @return The aggrFunction. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AggregateFunction getAggrFunction() { ai.chalk.protos.chalk.expression.v1.AggregateFunction result = ai.chalk.protos.chalk.expression.v1.AggregateFunction.forNumber(aggrFunction_); return result == null ? ai.chalk.protos.chalk.expression.v1.AggregateFunction.UNRECOGNIZED : result; } public static final int EXPR_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> expr_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getExprList() { return expr_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprOrBuilderList() { return expr_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ @java.lang.Override public int getExprCount() { return expr_.size(); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(int index) { return expr_.get(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder( int index) { return expr_.get(index); } public static final int DISTINCT_FIELD_NUMBER = 3; private boolean distinct_ = false; /** * <code>bool distinct = 3 [json_name = "distinct"];</code> * @return The distinct. */ @java.lang.Override public boolean getDistinct() { return distinct_; } public static final int FILTER_FIELD_NUMBER = 4; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode filter_; /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> * @return Whether the filter field is set. */ @java.lang.Override public boolean hasFilter() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> * @return The filter. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getFilter() { return filter_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : filter_; } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getFilterOrBuilder() { return filter_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : filter_; } public static final int ORDER_BY_FIELD_NUMBER = 5; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> orderBy_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getOrderByList() { return orderBy_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getOrderByOrBuilderList() { return orderBy_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ @java.lang.Override public int getOrderByCount() { return orderBy_.size(); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getOrderBy(int index) { return orderBy_.get(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getOrderByOrBuilder( int index) { return orderBy_.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 { if (aggrFunction_ != ai.chalk.protos.chalk.expression.v1.AggregateFunction.AGGREGATE_FUNCTION_UNSPECIFIED.getNumber()) { output.writeEnum(1, aggrFunction_); } for (int i = 0; i < expr_.size(); i++) { output.writeMessage(2, expr_.get(i)); } if (distinct_ != false) { output.writeBool(3, distinct_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getFilter()); } for (int i = 0; i < orderBy_.size(); i++) { output.writeMessage(5, orderBy_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (aggrFunction_ != ai.chalk.protos.chalk.expression.v1.AggregateFunction.AGGREGATE_FUNCTION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, aggrFunction_); } for (int i = 0; i < expr_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, expr_.get(i)); } if (distinct_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, distinct_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getFilter()); } for (int i = 0; i < orderBy_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, orderBy_.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 ai.chalk.protos.chalk.expression.v1.AggregateExprNode)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.AggregateExprNode other = (ai.chalk.protos.chalk.expression.v1.AggregateExprNode) obj; if (aggrFunction_ != other.aggrFunction_) return false; if (!getExprList() .equals(other.getExprList())) return false; if (getDistinct() != other.getDistinct()) return false; if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { if (!getFilter() .equals(other.getFilter())) return false; } if (!getOrderByList() .equals(other.getOrderByList())) 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(); hash = (37 * hash) + AGGR_FUNCTION_FIELD_NUMBER; hash = (53 * hash) + aggrFunction_; if (getExprCount() > 0) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExprList().hashCode(); } hash = (37 * hash) + DISTINCT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDistinct()); if (hasFilter()) { hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); } if (getOrderByCount() > 0) { hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderByList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.AggregateExprNode 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.AggregateExprNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.AggregateExprNode) ai.chalk.protos.chalk.expression.v1.AggregateExprNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AggregateExprNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AggregateExprNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.AggregateExprNode.class, ai.chalk.protos.chalk.expression.v1.AggregateExprNode.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.AggregateExprNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); getFilterFieldBuilder(); getOrderByFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; aggrFunction_ = 0; if (exprBuilder_ == null) { expr_ = java.util.Collections.emptyList(); } else { expr_ = null; exprBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); distinct_ = false; filter_ = null; if (filterBuilder_ != null) { filterBuilder_.dispose(); filterBuilder_ = null; } if (orderByBuilder_ == null) { orderBy_ = java.util.Collections.emptyList(); } else { orderBy_ = null; orderByBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AggregateExprNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AggregateExprNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.AggregateExprNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AggregateExprNode build() { ai.chalk.protos.chalk.expression.v1.AggregateExprNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AggregateExprNode buildPartial() { ai.chalk.protos.chalk.expression.v1.AggregateExprNode result = new ai.chalk.protos.chalk.expression.v1.AggregateExprNode(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.AggregateExprNode result) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { expr_ = java.util.Collections.unmodifiableList(expr_); bitField0_ = (bitField0_ & ~0x00000002); } result.expr_ = expr_; } else { result.expr_ = exprBuilder_.build(); } if (orderByBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { orderBy_ = java.util.Collections.unmodifiableList(orderBy_); bitField0_ = (bitField0_ & ~0x00000010); } result.orderBy_ = orderBy_; } else { result.orderBy_ = orderByBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.AggregateExprNode result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.aggrFunction_ = aggrFunction_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.distinct_ = distinct_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { result.filter_ = filterBuilder_ == null ? filter_ : filterBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.AggregateExprNode) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.AggregateExprNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.AggregateExprNode other) { if (other == ai.chalk.protos.chalk.expression.v1.AggregateExprNode.getDefaultInstance()) return this; if (other.aggrFunction_ != 0) { setAggrFunctionValue(other.getAggrFunctionValue()); } if (exprBuilder_ == null) { if (!other.expr_.isEmpty()) { if (expr_.isEmpty()) { expr_ = other.expr_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureExprIsMutable(); expr_.addAll(other.expr_); } onChanged(); } } else { if (!other.expr_.isEmpty()) { if (exprBuilder_.isEmpty()) { exprBuilder_.dispose(); exprBuilder_ = null; expr_ = other.expr_; bitField0_ = (bitField0_ & ~0x00000002); exprBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getExprFieldBuilder() : null; } else { exprBuilder_.addAllMessages(other.expr_); } } } if (other.getDistinct() != false) { setDistinct(other.getDistinct()); } if (other.hasFilter()) { mergeFilter(other.getFilter()); } if (orderByBuilder_ == null) { if (!other.orderBy_.isEmpty()) { if (orderBy_.isEmpty()) { orderBy_ = other.orderBy_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureOrderByIsMutable(); orderBy_.addAll(other.orderBy_); } onChanged(); } } else { if (!other.orderBy_.isEmpty()) { if (orderByBuilder_.isEmpty()) { orderByBuilder_.dispose(); orderByBuilder_ = null; orderBy_ = other.orderBy_; bitField0_ = (bitField0_ & ~0x00000010); orderByBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOrderByFieldBuilder() : null; } else { orderByBuilder_.addAllMessages(other.orderBy_); } } } 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 8: { aggrFunction_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { ai.chalk.protos.chalk.expression.v1.LogicalExprNode m = input.readMessage( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(), extensionRegistry); if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.add(m); } else { exprBuilder_.addMessage(m); } break; } // case 18 case 24: { distinct_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 case 34: { input.readMessage( getFilterFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { ai.chalk.protos.chalk.expression.v1.LogicalExprNode m = input.readMessage( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(), extensionRegistry); if (orderByBuilder_ == null) { ensureOrderByIsMutable(); orderBy_.add(m); } else { orderByBuilder_.addMessage(m); } break; } // case 42 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 int aggrFunction_ = 0; /** * <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code> * @return The enum numeric value on the wire for aggrFunction. */ @java.lang.Override public int getAggrFunctionValue() { return aggrFunction_; } /** * <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code> * @param value The enum numeric value on the wire for aggrFunction to set. * @return This builder for chaining. */ public Builder setAggrFunctionValue(int value) { aggrFunction_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code> * @return The aggrFunction. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AggregateFunction getAggrFunction() { ai.chalk.protos.chalk.expression.v1.AggregateFunction result = ai.chalk.protos.chalk.expression.v1.AggregateFunction.forNumber(aggrFunction_); return result == null ? ai.chalk.protos.chalk.expression.v1.AggregateFunction.UNRECOGNIZED : result; } /** * <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code> * @param value The aggrFunction to set. * @return This builder for chaining. */ public Builder setAggrFunction(ai.chalk.protos.chalk.expression.v1.AggregateFunction value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; aggrFunction_ = value.getNumber(); onChanged(); return this; } /** * <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code> * @return This builder for chaining. */ public Builder clearAggrFunction() { bitField0_ = (bitField0_ & ~0x00000001); aggrFunction_ = 0; onChanged(); return this; } private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> expr_ = java.util.Collections.emptyList(); private void ensureExprIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { expr_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(expr_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getExprList() { if (exprBuilder_ == null) { return java.util.Collections.unmodifiableList(expr_); } else { return exprBuilder_.getMessageList(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public int getExprCount() { if (exprBuilder_ == null) { return expr_.size(); } else { return exprBuilder_.getCount(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(int index) { if (exprBuilder_ == null) { return expr_.get(index); } else { return exprBuilder_.getMessage(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder setExpr( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExprIsMutable(); expr_.set(index, value); onChanged(); } else { exprBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder setExpr( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.set(index, builderForValue.build()); onChanged(); } else { exprBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder addExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExprIsMutable(); expr_.add(value); onChanged(); } else { exprBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder addExpr( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExprIsMutable(); expr_.add(index, value); onChanged(); } else { exprBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder addExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.add(builderForValue.build()); onChanged(); } else { exprBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder addExpr( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.add(index, builderForValue.build()); onChanged(); } else { exprBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder addAllExpr( java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) { if (exprBuilder_ == null) { ensureExprIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, expr_); onChanged(); } else { exprBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder clearExpr() { if (exprBuilder_ == null) { expr_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { exprBuilder_.clear(); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder removeExpr(int index) { if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.remove(index); onChanged(); } else { exprBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder( int index) { return getExprFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder( int index) { if (exprBuilder_ == null) { return expr_.get(index); } else { return exprBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprOrBuilderList() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(expr_); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addExprBuilder() { return getExprFieldBuilder().addBuilder( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addExprBuilder( int index) { return getExprFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> getExprBuilderList() { return getExprFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( expr_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } private boolean distinct_ ; /** * <code>bool distinct = 3 [json_name = "distinct"];</code> * @return The distinct. */ @java.lang.Override public boolean getDistinct() { return distinct_; } /** * <code>bool distinct = 3 [json_name = "distinct"];</code> * @param value The distinct to set. * @return This builder for chaining. */ public Builder setDistinct(boolean value) { distinct_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>bool distinct = 3 [json_name = "distinct"];</code> * @return This builder for chaining. */ public Builder clearDistinct() { bitField0_ = (bitField0_ & ~0x00000004); distinct_ = false; onChanged(); return this; } private ai.chalk.protos.chalk.expression.v1.LogicalExprNode filter_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> filterBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> * @return Whether the filter field is set. */ public boolean hasFilter() { return ((bitField0_ & 0x00000008) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> * @return The filter. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getFilter() { if (filterBuilder_ == null) { return filter_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : filter_; } else { return filterBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> */ public Builder setFilter(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (filterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; } else { filterBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> */ public Builder setFilter( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (filterBuilder_ == null) { filter_ = builderForValue.build(); } else { filterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> */ public Builder mergeFilter(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (filterBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && filter_ != null && filter_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getFilterBuilder().mergeFrom(value); } else { filter_ = value; } } else { filterBuilder_.mergeFrom(value); } if (filter_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> */ public Builder clearFilter() { bitField0_ = (bitField0_ & ~0x00000008); filter_ = null; if (filterBuilder_ != null) { filterBuilder_.dispose(); filterBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getFilterBuilder() { bitField0_ |= 0x00000008; onChanged(); return getFilterFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getFilterOrBuilder() { if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { return filter_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : filter_; } } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getFilter(), getParentForChildren(), isClean()); filter_ = null; } return filterBuilder_; } private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> orderBy_ = java.util.Collections.emptyList(); private void ensureOrderByIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { orderBy_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(orderBy_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> orderByBuilder_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getOrderByList() { if (orderByBuilder_ == null) { return java.util.Collections.unmodifiableList(orderBy_); } else { return orderByBuilder_.getMessageList(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public int getOrderByCount() { if (orderByBuilder_ == null) { return orderBy_.size(); } else { return orderByBuilder_.getCount(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getOrderBy(int index) { if (orderByBuilder_ == null) { return orderBy_.get(index); } else { return orderByBuilder_.getMessage(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public Builder setOrderBy( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (orderByBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOrderByIsMutable(); orderBy_.set(index, value); onChanged(); } else { orderByBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public Builder setOrderBy( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (orderByBuilder_ == null) { ensureOrderByIsMutable(); orderBy_.set(index, builderForValue.build()); onChanged(); } else { orderByBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public Builder addOrderBy(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (orderByBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOrderByIsMutable(); orderBy_.add(value); onChanged(); } else { orderByBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public Builder addOrderBy( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (orderByBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOrderByIsMutable(); orderBy_.add(index, value); onChanged(); } else { orderByBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public Builder addOrderBy( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (orderByBuilder_ == null) { ensureOrderByIsMutable(); orderBy_.add(builderForValue.build()); onChanged(); } else { orderByBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public Builder addOrderBy( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (orderByBuilder_ == null) { ensureOrderByIsMutable(); orderBy_.add(index, builderForValue.build()); onChanged(); } else { orderByBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public Builder addAllOrderBy( java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) { if (orderByBuilder_ == null) { ensureOrderByIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, orderBy_); onChanged(); } else { orderByBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public Builder clearOrderBy() { if (orderByBuilder_ == null) { orderBy_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { orderByBuilder_.clear(); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public Builder removeOrderBy(int index) { if (orderByBuilder_ == null) { ensureOrderByIsMutable(); orderBy_.remove(index); onChanged(); } else { orderByBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getOrderByBuilder( int index) { return getOrderByFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getOrderByOrBuilder( int index) { if (orderByBuilder_ == null) { return orderBy_.get(index); } else { return orderByBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getOrderByOrBuilderList() { if (orderByBuilder_ != null) { return orderByBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(orderBy_); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addOrderByBuilder() { return getOrderByFieldBuilder().addBuilder( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addOrderByBuilder( int index) { return getOrderByFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> getOrderByBuilderList() { return getOrderByFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getOrderByFieldBuilder() { if (orderByBuilder_ == null) { orderByBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( orderBy_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); orderBy_ = null; } return orderByBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.AggregateExprNode) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.AggregateExprNode) private static final ai.chalk.protos.chalk.expression.v1.AggregateExprNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.AggregateExprNode(); } public static ai.chalk.protos.chalk.expression.v1.AggregateExprNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<AggregateExprNode> PARSER = new com.google.protobuf.AbstractParser<AggregateExprNode>() { @java.lang.Override public AggregateExprNode 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<AggregateExprNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<AggregateExprNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AggregateExprNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/AggregateExprNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface AggregateExprNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.AggregateExprNode) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code> * @return The enum numeric value on the wire for aggrFunction. */ int getAggrFunctionValue(); /** * <code>.chalk.expression.v1.AggregateFunction aggr_function = 1 [json_name = "aggrFunction"];</code> * @return The aggrFunction. */ ai.chalk.protos.chalk.expression.v1.AggregateFunction getAggrFunction(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getExprList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(int index); /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ int getExprCount(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprOrBuilderList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder( int index); /** * <code>bool distinct = 3 [json_name = "distinct"];</code> * @return The distinct. */ boolean getDistinct(); /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> * @return Whether the filter field is set. */ boolean hasFilter(); /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> * @return The filter. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getFilter(); /** * <code>.chalk.expression.v1.LogicalExprNode filter = 4 [json_name = "filter"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getFilterOrBuilder(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getOrderByList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getOrderBy(int index); /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ int getOrderByCount(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getOrderByOrBuilderList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 5 [json_name = "orderBy"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getOrderByOrBuilder( int index); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/AggregateFunction.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf enum {@code chalk.expression.v1.AggregateFunction} */ public enum AggregateFunction implements com.google.protobuf.ProtocolMessageEnum { /** * <code>AGGREGATE_FUNCTION_UNSPECIFIED = 0;</code> */ AGGREGATE_FUNCTION_UNSPECIFIED(0), /** * <code>AGGREGATE_FUNCTION_MIN = 1;</code> */ AGGREGATE_FUNCTION_MIN(1), /** * <code>AGGREGATE_FUNCTION_MAX = 2;</code> */ AGGREGATE_FUNCTION_MAX(2), /** * <code>AGGREGATE_FUNCTION_SUM = 3;</code> */ AGGREGATE_FUNCTION_SUM(3), /** * <code>AGGREGATE_FUNCTION_AVG = 4;</code> */ AGGREGATE_FUNCTION_AVG(4), /** * <code>AGGREGATE_FUNCTION_COUNT = 5;</code> */ AGGREGATE_FUNCTION_COUNT(5), /** * <code>AGGREGATE_FUNCTION_APPROX_DISTINCT = 6;</code> */ AGGREGATE_FUNCTION_APPROX_DISTINCT(6), /** * <code>AGGREGATE_FUNCTION_ARRAY = 7;</code> */ AGGREGATE_FUNCTION_ARRAY(7), /** * <code>AGGREGATE_FUNCTION_VARIANCE = 8;</code> */ AGGREGATE_FUNCTION_VARIANCE(8), /** * <code>AGGREGATE_FUNCTION_VARIANCE_POP = 9;</code> */ AGGREGATE_FUNCTION_VARIANCE_POP(9), /** * <code>AGGREGATE_FUNCTION_COVARIANCE = 10;</code> */ AGGREGATE_FUNCTION_COVARIANCE(10), /** * <code>AGGREGATE_FUNCTION_COVARIANCE_POP = 11;</code> */ AGGREGATE_FUNCTION_COVARIANCE_POP(11), /** * <code>AGGREGATE_FUNCTION_STDDEV = 12;</code> */ AGGREGATE_FUNCTION_STDDEV(12), /** * <code>AGGREGATE_FUNCTION_STDDEV_POP = 13;</code> */ AGGREGATE_FUNCTION_STDDEV_POP(13), /** * <code>AGGREGATE_FUNCTION_CORRELATION = 14;</code> */ AGGREGATE_FUNCTION_CORRELATION(14), /** * <code>AGGREGATE_FUNCTION_APPROX_PERCENTILE_CONT = 15;</code> */ AGGREGATE_FUNCTION_APPROX_PERCENTILE_CONT(15), /** * <code>AGGREGATE_FUNCTION_APPROX_MEDIAN = 16;</code> */ AGGREGATE_FUNCTION_APPROX_MEDIAN(16), /** * <code>AGGREGATE_FUNCTION_APPROX_PERCENTILE_CONT_WITH_WEIGHT = 17;</code> */ AGGREGATE_FUNCTION_APPROX_PERCENTILE_CONT_WITH_WEIGHT(17), /** * <code>AGGREGATE_FUNCTION_GROUPING = 18;</code> */ AGGREGATE_FUNCTION_GROUPING(18), /** * <code>AGGREGATE_FUNCTION_MEDIAN = 19;</code> */ AGGREGATE_FUNCTION_MEDIAN(19), /** * <code>AGGREGATE_FUNCTION_BIT_AND = 20;</code> */ AGGREGATE_FUNCTION_BIT_AND(20), /** * <code>AGGREGATE_FUNCTION_BIT_OR = 21;</code> */ AGGREGATE_FUNCTION_BIT_OR(21), /** * <code>AGGREGATE_FUNCTION_BIT_XOR = 22;</code> */ AGGREGATE_FUNCTION_BIT_XOR(22), /** * <code>AGGREGATE_FUNCTION_BOOL_AND = 23;</code> */ AGGREGATE_FUNCTION_BOOL_AND(23), /** * <code>AGGREGATE_FUNCTION_BOOL_OR = 24;</code> */ AGGREGATE_FUNCTION_BOOL_OR(24), /** * <code>AGGREGATE_FUNCTION_FIRST_VALUE = 25;</code> */ AGGREGATE_FUNCTION_FIRST_VALUE(25), /** * <code>AGGREGATE_FUNCTION_LAST_VALUE = 26;</code> */ AGGREGATE_FUNCTION_LAST_VALUE(26), /** * <code>AGGREGATE_FUNCTION_REGR_SLOPE = 27;</code> */ AGGREGATE_FUNCTION_REGR_SLOPE(27), /** * <code>AGGREGATE_FUNCTION_REGR_INTERCEPT = 28;</code> */ AGGREGATE_FUNCTION_REGR_INTERCEPT(28), /** * <code>AGGREGATE_FUNCTION_REGR_COUNT = 29;</code> */ AGGREGATE_FUNCTION_REGR_COUNT(29), /** * <code>AGGREGATE_FUNCTION_REGR_R2 = 30;</code> */ AGGREGATE_FUNCTION_REGR_R2(30), /** * <code>AGGREGATE_FUNCTION_REGR_AVGX = 31;</code> */ AGGREGATE_FUNCTION_REGR_AVGX(31), /** * <code>AGGREGATE_FUNCTION_REGR_AVGY = 32;</code> */ AGGREGATE_FUNCTION_REGR_AVGY(32), /** * <code>AGGREGATE_FUNCTION_REGR_SXX = 33;</code> */ AGGREGATE_FUNCTION_REGR_SXX(33), /** * <code>AGGREGATE_FUNCTION_REGR_SYY = 34;</code> */ AGGREGATE_FUNCTION_REGR_SYY(34), /** * <code>AGGREGATE_FUNCTION_REGR_SXY = 35;</code> */ AGGREGATE_FUNCTION_REGR_SXY(35), /** * <code>AGGREGATE_FUNCTION_STRING = 36;</code> */ AGGREGATE_FUNCTION_STRING(36), UNRECOGNIZED(-1), ; /** * <code>AGGREGATE_FUNCTION_UNSPECIFIED = 0;</code> */ public static final int AGGREGATE_FUNCTION_UNSPECIFIED_VALUE = 0; /** * <code>AGGREGATE_FUNCTION_MIN = 1;</code> */ public static final int AGGREGATE_FUNCTION_MIN_VALUE = 1; /** * <code>AGGREGATE_FUNCTION_MAX = 2;</code> */ public static final int AGGREGATE_FUNCTION_MAX_VALUE = 2; /** * <code>AGGREGATE_FUNCTION_SUM = 3;</code> */ public static final int AGGREGATE_FUNCTION_SUM_VALUE = 3; /** * <code>AGGREGATE_FUNCTION_AVG = 4;</code> */ public static final int AGGREGATE_FUNCTION_AVG_VALUE = 4; /** * <code>AGGREGATE_FUNCTION_COUNT = 5;</code> */ public static final int AGGREGATE_FUNCTION_COUNT_VALUE = 5; /** * <code>AGGREGATE_FUNCTION_APPROX_DISTINCT = 6;</code> */ public static final int AGGREGATE_FUNCTION_APPROX_DISTINCT_VALUE = 6; /** * <code>AGGREGATE_FUNCTION_ARRAY = 7;</code> */ public static final int AGGREGATE_FUNCTION_ARRAY_VALUE = 7; /** * <code>AGGREGATE_FUNCTION_VARIANCE = 8;</code> */ public static final int AGGREGATE_FUNCTION_VARIANCE_VALUE = 8; /** * <code>AGGREGATE_FUNCTION_VARIANCE_POP = 9;</code> */ public static final int AGGREGATE_FUNCTION_VARIANCE_POP_VALUE = 9; /** * <code>AGGREGATE_FUNCTION_COVARIANCE = 10;</code> */ public static final int AGGREGATE_FUNCTION_COVARIANCE_VALUE = 10; /** * <code>AGGREGATE_FUNCTION_COVARIANCE_POP = 11;</code> */ public static final int AGGREGATE_FUNCTION_COVARIANCE_POP_VALUE = 11; /** * <code>AGGREGATE_FUNCTION_STDDEV = 12;</code> */ public static final int AGGREGATE_FUNCTION_STDDEV_VALUE = 12; /** * <code>AGGREGATE_FUNCTION_STDDEV_POP = 13;</code> */ public static final int AGGREGATE_FUNCTION_STDDEV_POP_VALUE = 13; /** * <code>AGGREGATE_FUNCTION_CORRELATION = 14;</code> */ public static final int AGGREGATE_FUNCTION_CORRELATION_VALUE = 14; /** * <code>AGGREGATE_FUNCTION_APPROX_PERCENTILE_CONT = 15;</code> */ public static final int AGGREGATE_FUNCTION_APPROX_PERCENTILE_CONT_VALUE = 15; /** * <code>AGGREGATE_FUNCTION_APPROX_MEDIAN = 16;</code> */ public static final int AGGREGATE_FUNCTION_APPROX_MEDIAN_VALUE = 16; /** * <code>AGGREGATE_FUNCTION_APPROX_PERCENTILE_CONT_WITH_WEIGHT = 17;</code> */ public static final int AGGREGATE_FUNCTION_APPROX_PERCENTILE_CONT_WITH_WEIGHT_VALUE = 17; /** * <code>AGGREGATE_FUNCTION_GROUPING = 18;</code> */ public static final int AGGREGATE_FUNCTION_GROUPING_VALUE = 18; /** * <code>AGGREGATE_FUNCTION_MEDIAN = 19;</code> */ public static final int AGGREGATE_FUNCTION_MEDIAN_VALUE = 19; /** * <code>AGGREGATE_FUNCTION_BIT_AND = 20;</code> */ public static final int AGGREGATE_FUNCTION_BIT_AND_VALUE = 20; /** * <code>AGGREGATE_FUNCTION_BIT_OR = 21;</code> */ public static final int AGGREGATE_FUNCTION_BIT_OR_VALUE = 21; /** * <code>AGGREGATE_FUNCTION_BIT_XOR = 22;</code> */ public static final int AGGREGATE_FUNCTION_BIT_XOR_VALUE = 22; /** * <code>AGGREGATE_FUNCTION_BOOL_AND = 23;</code> */ public static final int AGGREGATE_FUNCTION_BOOL_AND_VALUE = 23; /** * <code>AGGREGATE_FUNCTION_BOOL_OR = 24;</code> */ public static final int AGGREGATE_FUNCTION_BOOL_OR_VALUE = 24; /** * <code>AGGREGATE_FUNCTION_FIRST_VALUE = 25;</code> */ public static final int AGGREGATE_FUNCTION_FIRST_VALUE_VALUE = 25; /** * <code>AGGREGATE_FUNCTION_LAST_VALUE = 26;</code> */ public static final int AGGREGATE_FUNCTION_LAST_VALUE_VALUE = 26; /** * <code>AGGREGATE_FUNCTION_REGR_SLOPE = 27;</code> */ public static final int AGGREGATE_FUNCTION_REGR_SLOPE_VALUE = 27; /** * <code>AGGREGATE_FUNCTION_REGR_INTERCEPT = 28;</code> */ public static final int AGGREGATE_FUNCTION_REGR_INTERCEPT_VALUE = 28; /** * <code>AGGREGATE_FUNCTION_REGR_COUNT = 29;</code> */ public static final int AGGREGATE_FUNCTION_REGR_COUNT_VALUE = 29; /** * <code>AGGREGATE_FUNCTION_REGR_R2 = 30;</code> */ public static final int AGGREGATE_FUNCTION_REGR_R2_VALUE = 30; /** * <code>AGGREGATE_FUNCTION_REGR_AVGX = 31;</code> */ public static final int AGGREGATE_FUNCTION_REGR_AVGX_VALUE = 31; /** * <code>AGGREGATE_FUNCTION_REGR_AVGY = 32;</code> */ public static final int AGGREGATE_FUNCTION_REGR_AVGY_VALUE = 32; /** * <code>AGGREGATE_FUNCTION_REGR_SXX = 33;</code> */ public static final int AGGREGATE_FUNCTION_REGR_SXX_VALUE = 33; /** * <code>AGGREGATE_FUNCTION_REGR_SYY = 34;</code> */ public static final int AGGREGATE_FUNCTION_REGR_SYY_VALUE = 34; /** * <code>AGGREGATE_FUNCTION_REGR_SXY = 35;</code> */ public static final int AGGREGATE_FUNCTION_REGR_SXY_VALUE = 35; /** * <code>AGGREGATE_FUNCTION_STRING = 36;</code> */ public static final int AGGREGATE_FUNCTION_STRING_VALUE = 36; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static AggregateFunction valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static AggregateFunction forNumber(int value) { switch (value) { case 0: return AGGREGATE_FUNCTION_UNSPECIFIED; case 1: return AGGREGATE_FUNCTION_MIN; case 2: return AGGREGATE_FUNCTION_MAX; case 3: return AGGREGATE_FUNCTION_SUM; case 4: return AGGREGATE_FUNCTION_AVG; case 5: return AGGREGATE_FUNCTION_COUNT; case 6: return AGGREGATE_FUNCTION_APPROX_DISTINCT; case 7: return AGGREGATE_FUNCTION_ARRAY; case 8: return AGGREGATE_FUNCTION_VARIANCE; case 9: return AGGREGATE_FUNCTION_VARIANCE_POP; case 10: return AGGREGATE_FUNCTION_COVARIANCE; case 11: return AGGREGATE_FUNCTION_COVARIANCE_POP; case 12: return AGGREGATE_FUNCTION_STDDEV; case 13: return AGGREGATE_FUNCTION_STDDEV_POP; case 14: return AGGREGATE_FUNCTION_CORRELATION; case 15: return AGGREGATE_FUNCTION_APPROX_PERCENTILE_CONT; case 16: return AGGREGATE_FUNCTION_APPROX_MEDIAN; case 17: return AGGREGATE_FUNCTION_APPROX_PERCENTILE_CONT_WITH_WEIGHT; case 18: return AGGREGATE_FUNCTION_GROUPING; case 19: return AGGREGATE_FUNCTION_MEDIAN; case 20: return AGGREGATE_FUNCTION_BIT_AND; case 21: return AGGREGATE_FUNCTION_BIT_OR; case 22: return AGGREGATE_FUNCTION_BIT_XOR; case 23: return AGGREGATE_FUNCTION_BOOL_AND; case 24: return AGGREGATE_FUNCTION_BOOL_OR; case 25: return AGGREGATE_FUNCTION_FIRST_VALUE; case 26: return AGGREGATE_FUNCTION_LAST_VALUE; case 27: return AGGREGATE_FUNCTION_REGR_SLOPE; case 28: return AGGREGATE_FUNCTION_REGR_INTERCEPT; case 29: return AGGREGATE_FUNCTION_REGR_COUNT; case 30: return AGGREGATE_FUNCTION_REGR_R2; case 31: return AGGREGATE_FUNCTION_REGR_AVGX; case 32: return AGGREGATE_FUNCTION_REGR_AVGY; case 33: return AGGREGATE_FUNCTION_REGR_SXX; case 34: return AGGREGATE_FUNCTION_REGR_SYY; case 35: return AGGREGATE_FUNCTION_REGR_SXY; case 36: return AGGREGATE_FUNCTION_STRING; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<AggregateFunction> internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< AggregateFunction> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<AggregateFunction>() { public AggregateFunction findValueByNumber(int number) { return AggregateFunction.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.getDescriptor().getEnumTypes().get(1); } private static final AggregateFunction[] VALUES = values(); public static AggregateFunction valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private AggregateFunction(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:chalk.expression.v1.AggregateFunction) }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/AggregateUDFExprNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.AggregateUDFExprNode} */ public final class AggregateUDFExprNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.AggregateUDFExprNode) AggregateUDFExprNodeOrBuilder { private static final long serialVersionUID = 0L; // Use AggregateUDFExprNode.newBuilder() to construct. private AggregateUDFExprNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private AggregateUDFExprNode() { funName_ = ""; args_ = java.util.Collections.emptyList(); orderBy_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AggregateUDFExprNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AggregateUDFExprNode_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 5: return internalGetKwargs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AggregateUDFExprNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.class, ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.Builder.class); } private int bitField0_; public static final int FUN_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object funName_ = ""; /** * <code>string fun_name = 1 [json_name = "funName"];</code> * @return The funName. */ @java.lang.Override public java.lang.String getFunName() { java.lang.Object ref = funName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); funName_ = s; return s; } } /** * <code>string fun_name = 1 [json_name = "funName"];</code> * @return The bytes for funName. */ @java.lang.Override public com.google.protobuf.ByteString getFunNameBytes() { java.lang.Object ref = funName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); funName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ARGS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> args_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getArgsList() { return args_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getArgsOrBuilderList() { return args_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ @java.lang.Override public int getArgsCount() { return args_.size(); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getArgs(int index) { return args_.get(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getArgsOrBuilder( int index) { return args_.get(index); } public static final int FILTER_FIELD_NUMBER = 3; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode filter_; /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> * @return Whether the filter field is set. */ @java.lang.Override public boolean hasFilter() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> * @return The filter. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getFilter() { return filter_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : filter_; } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getFilterOrBuilder() { return filter_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : filter_; } public static final int ORDER_BY_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> orderBy_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getOrderByList() { return orderBy_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getOrderByOrBuilderList() { return orderBy_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ @java.lang.Override public int getOrderByCount() { return orderBy_.size(); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getOrderBy(int index) { return orderBy_.get(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getOrderByOrBuilder( int index) { return orderBy_.get(index); } public static final int KWARGS_FIELD_NUMBER = 5; private static final class KwargsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> defaultEntry = com.google.protobuf.MapEntry .<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode>newDefaultInstance( ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AggregateUDFExprNode_KwargsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> kwargs_; private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> internalGetKwargs() { if (kwargs_ == null) { return com.google.protobuf.MapField.emptyMapField( KwargsDefaultEntryHolder.defaultEntry); } return kwargs_; } public int getKwargsCount() { return internalGetKwargs().getMap().size(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ @java.lang.Override public boolean containsKwargs( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetKwargs().getMap().containsKey(key); } /** * Use {@link #getKwargsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getKwargs() { return getKwargsMap(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ @java.lang.Override public java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getKwargsMap() { return internalGetKwargs().getMap(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ @java.lang.Override public /* nullable */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKwargsOrDefault( java.lang.String key, /* nullable */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> map = internalGetKwargs().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKwargsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> map = internalGetKwargs().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(funName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, funName_); } for (int i = 0; i < args_.size(); i++) { output.writeMessage(2, args_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getFilter()); } for (int i = 0; i < orderBy_.size(); i++) { output.writeMessage(4, orderBy_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetKwargs(), KwargsDefaultEntryHolder.defaultEntry, 5); getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(funName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, funName_); } for (int i = 0; i < args_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, args_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getFilter()); } for (int i = 0; i < orderBy_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, orderBy_.get(i)); } for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> entry : internalGetKwargs().getMap().entrySet()) { com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> kwargs__ = KwargsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, kwargs__); } 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 ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode other = (ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode) obj; if (!getFunName() .equals(other.getFunName())) return false; if (!getArgsList() .equals(other.getArgsList())) return false; if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { if (!getFilter() .equals(other.getFilter())) return false; } if (!getOrderByList() .equals(other.getOrderByList())) return false; if (!internalGetKwargs().equals( other.internalGetKwargs())) 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(); hash = (37 * hash) + FUN_NAME_FIELD_NUMBER; hash = (53 * hash) + getFunName().hashCode(); if (getArgsCount() > 0) { hash = (37 * hash) + ARGS_FIELD_NUMBER; hash = (53 * hash) + getArgsList().hashCode(); } if (hasFilter()) { hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); } if (getOrderByCount() > 0) { hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderByList().hashCode(); } if (!internalGetKwargs().getMap().isEmpty()) { hash = (37 * hash) + KWARGS_FIELD_NUMBER; hash = (53 * hash) + internalGetKwargs().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.AggregateUDFExprNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.AggregateUDFExprNode) ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AggregateUDFExprNode_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 5: return internalGetKwargs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { switch (number) { case 5: return internalGetMutableKwargs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AggregateUDFExprNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.class, ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getArgsFieldBuilder(); getFilterFieldBuilder(); getOrderByFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; funName_ = ""; if (argsBuilder_ == null) { args_ = java.util.Collections.emptyList(); } else { args_ = null; argsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); filter_ = null; if (filterBuilder_ != null) { filterBuilder_.dispose(); filterBuilder_ = null; } if (orderByBuilder_ == null) { orderBy_ = java.util.Collections.emptyList(); } else { orderBy_ = null; orderByBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); internalGetMutableKwargs().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AggregateUDFExprNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode build() { ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode buildPartial() { ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode result = new ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode result) { if (argsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { args_ = java.util.Collections.unmodifiableList(args_); bitField0_ = (bitField0_ & ~0x00000002); } result.args_ = args_; } else { result.args_ = argsBuilder_.build(); } if (orderByBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { orderBy_ = java.util.Collections.unmodifiableList(orderBy_); bitField0_ = (bitField0_ & ~0x00000008); } result.orderBy_ = orderBy_; } else { result.orderBy_ = orderByBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.funName_ = funName_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.filter_ = filterBuilder_ == null ? filter_ : filterBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000010) != 0)) { result.kwargs_ = internalGetKwargs().build(KwargsDefaultEntryHolder.defaultEntry); } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode other) { if (other == ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode.getDefaultInstance()) return this; if (!other.getFunName().isEmpty()) { funName_ = other.funName_; bitField0_ |= 0x00000001; onChanged(); } if (argsBuilder_ == null) { if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureArgsIsMutable(); args_.addAll(other.args_); } onChanged(); } } else { if (!other.args_.isEmpty()) { if (argsBuilder_.isEmpty()) { argsBuilder_.dispose(); argsBuilder_ = null; args_ = other.args_; bitField0_ = (bitField0_ & ~0x00000002); argsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getArgsFieldBuilder() : null; } else { argsBuilder_.addAllMessages(other.args_); } } } if (other.hasFilter()) { mergeFilter(other.getFilter()); } if (orderByBuilder_ == null) { if (!other.orderBy_.isEmpty()) { if (orderBy_.isEmpty()) { orderBy_ = other.orderBy_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureOrderByIsMutable(); orderBy_.addAll(other.orderBy_); } onChanged(); } } else { if (!other.orderBy_.isEmpty()) { if (orderByBuilder_.isEmpty()) { orderByBuilder_.dispose(); orderByBuilder_ = null; orderBy_ = other.orderBy_; bitField0_ = (bitField0_ & ~0x00000008); orderByBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOrderByFieldBuilder() : null; } else { orderByBuilder_.addAllMessages(other.orderBy_); } } } internalGetMutableKwargs().mergeFrom( other.internalGetKwargs()); bitField0_ |= 0x00000010; 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: { funName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { ai.chalk.protos.chalk.expression.v1.LogicalExprNode m = input.readMessage( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(), extensionRegistry); if (argsBuilder_ == null) { ensureArgsIsMutable(); args_.add(m); } else { argsBuilder_.addMessage(m); } break; } // case 18 case 26: { input.readMessage( getFilterFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { ai.chalk.protos.chalk.expression.v1.LogicalExprNode m = input.readMessage( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(), extensionRegistry); if (orderByBuilder_ == null) { ensureOrderByIsMutable(); orderBy_.add(m); } else { orderByBuilder_.addMessage(m); } break; } // case 34 case 42: { com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> kwargs__ = input.readMessage( KwargsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableKwargs().ensureBuilderMap().put( kwargs__.getKey(), kwargs__.getValue()); bitField0_ |= 0x00000010; break; } // case 42 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.lang.Object funName_ = ""; /** * <code>string fun_name = 1 [json_name = "funName"];</code> * @return The funName. */ public java.lang.String getFunName() { java.lang.Object ref = funName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); funName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string fun_name = 1 [json_name = "funName"];</code> * @return The bytes for funName. */ public com.google.protobuf.ByteString getFunNameBytes() { java.lang.Object ref = funName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); funName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string fun_name = 1 [json_name = "funName"];</code> * @param value The funName to set. * @return This builder for chaining. */ public Builder setFunName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } funName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string fun_name = 1 [json_name = "funName"];</code> * @return This builder for chaining. */ public Builder clearFunName() { funName_ = getDefaultInstance().getFunName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string fun_name = 1 [json_name = "funName"];</code> * @param value The bytes for funName to set. * @return This builder for chaining. */ public Builder setFunNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); funName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> args_ = java.util.Collections.emptyList(); private void ensureArgsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { args_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(args_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> argsBuilder_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getArgsList() { if (argsBuilder_ == null) { return java.util.Collections.unmodifiableList(args_); } else { return argsBuilder_.getMessageList(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public int getArgsCount() { if (argsBuilder_ == null) { return args_.size(); } else { return argsBuilder_.getCount(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getArgs(int index) { if (argsBuilder_ == null) { return args_.get(index); } else { return argsBuilder_.getMessage(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder setArgs( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (argsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgsIsMutable(); args_.set(index, value); onChanged(); } else { argsBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder setArgs( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (argsBuilder_ == null) { ensureArgsIsMutable(); args_.set(index, builderForValue.build()); onChanged(); } else { argsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder addArgs(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (argsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgsIsMutable(); args_.add(value); onChanged(); } else { argsBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder addArgs( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (argsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgsIsMutable(); args_.add(index, value); onChanged(); } else { argsBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder addArgs( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (argsBuilder_ == null) { ensureArgsIsMutable(); args_.add(builderForValue.build()); onChanged(); } else { argsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder addArgs( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (argsBuilder_ == null) { ensureArgsIsMutable(); args_.add(index, builderForValue.build()); onChanged(); } else { argsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder addAllArgs( java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) { if (argsBuilder_ == null) { ensureArgsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, args_); onChanged(); } else { argsBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder clearArgs() { if (argsBuilder_ == null) { args_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { argsBuilder_.clear(); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder removeArgs(int index) { if (argsBuilder_ == null) { ensureArgsIsMutable(); args_.remove(index); onChanged(); } else { argsBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getArgsBuilder( int index) { return getArgsFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getArgsOrBuilder( int index) { if (argsBuilder_ == null) { return args_.get(index); } else { return argsBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getArgsOrBuilderList() { if (argsBuilder_ != null) { return argsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(args_); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addArgsBuilder() { return getArgsFieldBuilder().addBuilder( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addArgsBuilder( int index) { return getArgsFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> getArgsBuilderList() { return getArgsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getArgsFieldBuilder() { if (argsBuilder_ == null) { argsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( args_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); args_ = null; } return argsBuilder_; } private ai.chalk.protos.chalk.expression.v1.LogicalExprNode filter_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> filterBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> * @return Whether the filter field is set. */ public boolean hasFilter() { return ((bitField0_ & 0x00000004) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> * @return The filter. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getFilter() { if (filterBuilder_ == null) { return filter_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : filter_; } else { return filterBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> */ public Builder setFilter(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (filterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; } else { filterBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> */ public Builder setFilter( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (filterBuilder_ == null) { filter_ = builderForValue.build(); } else { filterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> */ public Builder mergeFilter(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (filterBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && filter_ != null && filter_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getFilterBuilder().mergeFrom(value); } else { filter_ = value; } } else { filterBuilder_.mergeFrom(value); } if (filter_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> */ public Builder clearFilter() { bitField0_ = (bitField0_ & ~0x00000004); filter_ = null; if (filterBuilder_ != null) { filterBuilder_.dispose(); filterBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getFilterBuilder() { bitField0_ |= 0x00000004; onChanged(); return getFilterFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getFilterOrBuilder() { if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { return filter_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : filter_; } } /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getFilter(), getParentForChildren(), isClean()); filter_ = null; } return filterBuilder_; } private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> orderBy_ = java.util.Collections.emptyList(); private void ensureOrderByIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { orderBy_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(orderBy_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> orderByBuilder_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getOrderByList() { if (orderByBuilder_ == null) { return java.util.Collections.unmodifiableList(orderBy_); } else { return orderByBuilder_.getMessageList(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public int getOrderByCount() { if (orderByBuilder_ == null) { return orderBy_.size(); } else { return orderByBuilder_.getCount(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getOrderBy(int index) { if (orderByBuilder_ == null) { return orderBy_.get(index); } else { return orderByBuilder_.getMessage(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public Builder setOrderBy( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (orderByBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOrderByIsMutable(); orderBy_.set(index, value); onChanged(); } else { orderByBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public Builder setOrderBy( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (orderByBuilder_ == null) { ensureOrderByIsMutable(); orderBy_.set(index, builderForValue.build()); onChanged(); } else { orderByBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public Builder addOrderBy(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (orderByBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOrderByIsMutable(); orderBy_.add(value); onChanged(); } else { orderByBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public Builder addOrderBy( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (orderByBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOrderByIsMutable(); orderBy_.add(index, value); onChanged(); } else { orderByBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public Builder addOrderBy( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (orderByBuilder_ == null) { ensureOrderByIsMutable(); orderBy_.add(builderForValue.build()); onChanged(); } else { orderByBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public Builder addOrderBy( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (orderByBuilder_ == null) { ensureOrderByIsMutable(); orderBy_.add(index, builderForValue.build()); onChanged(); } else { orderByBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public Builder addAllOrderBy( java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) { if (orderByBuilder_ == null) { ensureOrderByIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, orderBy_); onChanged(); } else { orderByBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public Builder clearOrderBy() { if (orderByBuilder_ == null) { orderBy_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { orderByBuilder_.clear(); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public Builder removeOrderBy(int index) { if (orderByBuilder_ == null) { ensureOrderByIsMutable(); orderBy_.remove(index); onChanged(); } else { orderByBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getOrderByBuilder( int index) { return getOrderByFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getOrderByOrBuilder( int index) { if (orderByBuilder_ == null) { return orderBy_.get(index); } else { return orderByBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getOrderByOrBuilderList() { if (orderByBuilder_ != null) { return orderByBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(orderBy_); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addOrderByBuilder() { return getOrderByFieldBuilder().addBuilder( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addOrderByBuilder( int index) { return getOrderByFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> getOrderByBuilderList() { return getOrderByFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getOrderByFieldBuilder() { if (orderByBuilder_ == null) { orderByBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( orderBy_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); orderBy_ = null; } return orderByBuilder_; } private static final class KwargsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> { @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode build(ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder val) { if (val instanceof ai.chalk.protos.chalk.expression.v1.LogicalExprNode) { return (ai.chalk.protos.chalk.expression.v1.LogicalExprNode) val; } return ((ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder) val).build(); } @java.lang.Override public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> defaultEntry() { return KwargsDefaultEntryHolder.defaultEntry; } }; private static final KwargsConverter kwargsConverter = new KwargsConverter(); private com.google.protobuf.MapFieldBuilder< java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder, ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> kwargs_; private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder, ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> internalGetKwargs() { if (kwargs_ == null) { return new com.google.protobuf.MapFieldBuilder<>(kwargsConverter); } return kwargs_; } private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder, ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> internalGetMutableKwargs() { if (kwargs_ == null) { kwargs_ = new com.google.protobuf.MapFieldBuilder<>(kwargsConverter); } bitField0_ |= 0x00000010; onChanged(); return kwargs_; } public int getKwargsCount() { return internalGetKwargs().ensureBuilderMap().size(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ @java.lang.Override public boolean containsKwargs( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetKwargs().ensureBuilderMap().containsKey(key); } /** * Use {@link #getKwargsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getKwargs() { return getKwargsMap(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ @java.lang.Override public java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getKwargsMap() { return internalGetKwargs().getImmutableMap(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ @java.lang.Override public /* nullable */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKwargsOrDefault( java.lang.String key, /* nullable */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> map = internalGetMutableKwargs().ensureBuilderMap(); return map.containsKey(key) ? kwargsConverter.build(map.get(key)) : defaultValue; } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKwargsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> map = internalGetMutableKwargs().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return kwargsConverter.build(map.get(key)); } public Builder clearKwargs() { bitField0_ = (bitField0_ & ~0x00000010); internalGetMutableKwargs().clear(); return this; } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ public Builder removeKwargs( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableKwargs().ensureBuilderMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getMutableKwargs() { bitField0_ |= 0x00000010; return internalGetMutableKwargs().ensureMessageMap(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ public Builder putKwargs( java.lang.String key, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableKwargs().ensureBuilderMap() .put(key, value); bitField0_ |= 0x00000010; return this; } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ public Builder putAllKwargs( java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) { for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> e : values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } internalGetMutableKwargs().ensureBuilderMap() .putAll(values); bitField0_ |= 0x00000010; return this; } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder putKwargsBuilderIfAbsent( java.lang.String key) { java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> builderMap = internalGetMutableKwargs().ensureBuilderMap(); ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder entry = builderMap.get(key); if (entry == null) { entry = ai.chalk.protos.chalk.expression.v1.LogicalExprNode.newBuilder(); builderMap.put(key, entry); } if (entry instanceof ai.chalk.protos.chalk.expression.v1.LogicalExprNode) { entry = ((ai.chalk.protos.chalk.expression.v1.LogicalExprNode) entry).toBuilder(); builderMap.put(key, entry); } return (ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder) entry; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.AggregateUDFExprNode) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.AggregateUDFExprNode) private static final ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode(); } public static ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<AggregateUDFExprNode> PARSER = new com.google.protobuf.AbstractParser<AggregateUDFExprNode>() { @java.lang.Override public AggregateUDFExprNode 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<AggregateUDFExprNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<AggregateUDFExprNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AggregateUDFExprNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/AggregateUDFExprNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface AggregateUDFExprNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.AggregateUDFExprNode) com.google.protobuf.MessageOrBuilder { /** * <code>string fun_name = 1 [json_name = "funName"];</code> * @return The funName. */ java.lang.String getFunName(); /** * <code>string fun_name = 1 [json_name = "funName"];</code> * @return The bytes for funName. */ com.google.protobuf.ByteString getFunNameBytes(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getArgsList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getArgs(int index); /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ int getArgsCount(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getArgsOrBuilderList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getArgsOrBuilder( int index); /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> * @return Whether the filter field is set. */ boolean hasFilter(); /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> * @return The filter. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getFilter(); /** * <code>.chalk.expression.v1.LogicalExprNode filter = 3 [json_name = "filter"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getFilterOrBuilder(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getOrderByList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getOrderBy(int index); /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ int getOrderByCount(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getOrderByOrBuilderList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode order_by = 4 [json_name = "orderBy"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getOrderByOrBuilder( int index); /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ int getKwargsCount(); /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ boolean containsKwargs( java.lang.String key); /** * Use {@link #getKwargsMap()} instead. */ @java.lang.Deprecated java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getKwargs(); /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getKwargsMap(); /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ /* nullable */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKwargsOrDefault( java.lang.String key, /* nullable */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode defaultValue); /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 5 [json_name = "kwargs"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKwargsOrThrow( java.lang.String key); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/AliasNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.AliasNode} */ public final class AliasNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.AliasNode) AliasNodeOrBuilder { private static final long serialVersionUID = 0L; // Use AliasNode.newBuilder() to construct. private AliasNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private AliasNode() { alias_ = ""; relation_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AliasNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AliasNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AliasNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.AliasNode.class, ai.chalk.protos.chalk.expression.v1.AliasNode.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } public static final int ALIAS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object alias_ = ""; /** * <code>string alias = 2 [json_name = "alias"];</code> * @return The alias. */ @java.lang.Override public java.lang.String getAlias() { java.lang.Object ref = alias_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alias_ = s; return s; } } /** * <code>string alias = 2 [json_name = "alias"];</code> * @return The bytes for alias. */ @java.lang.Override public com.google.protobuf.ByteString getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); alias_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RELATION_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.expression.v1.OwnedTableReference> relation_; /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.expression.v1.OwnedTableReference> getRelationList() { return relation_; } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.OwnedTableReferenceOrBuilder> getRelationOrBuilderList() { return relation_; } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ @java.lang.Override public int getRelationCount() { return relation_.size(); } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.OwnedTableReference getRelation(int index) { return relation_.get(index); } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.OwnedTableReferenceOrBuilder getRelationOrBuilder( int index) { return relation_.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 { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getExpr()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alias_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, alias_); } for (int i = 0; i < relation_.size(); i++) { output.writeMessage(3, relation_.get(i)); } 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, getExpr()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alias_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, alias_); } for (int i = 0; i < relation_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, relation_.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 ai.chalk.protos.chalk.expression.v1.AliasNode)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.AliasNode other = (ai.chalk.protos.chalk.expression.v1.AliasNode) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) return false; } if (!getAlias() .equals(other.getAlias())) return false; if (!getRelationList() .equals(other.getRelationList())) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } hash = (37 * hash) + ALIAS_FIELD_NUMBER; hash = (53 * hash) + getAlias().hashCode(); if (getRelationCount() > 0) { hash = (37 * hash) + RELATION_FIELD_NUMBER; hash = (53 * hash) + getRelationList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.AliasNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.AliasNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AliasNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.AliasNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AliasNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.AliasNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AliasNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.AliasNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AliasNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.AliasNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.AliasNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.AliasNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.AliasNode 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.AliasNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.AliasNode) ai.chalk.protos.chalk.expression.v1.AliasNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AliasNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AliasNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.AliasNode.class, ai.chalk.protos.chalk.expression.v1.AliasNode.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.AliasNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); getRelationFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } alias_ = ""; if (relationBuilder_ == null) { relation_ = java.util.Collections.emptyList(); } else { relation_ = null; relationBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_AliasNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AliasNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.AliasNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AliasNode build() { ai.chalk.protos.chalk.expression.v1.AliasNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AliasNode buildPartial() { ai.chalk.protos.chalk.expression.v1.AliasNode result = new ai.chalk.protos.chalk.expression.v1.AliasNode(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.AliasNode result) { if (relationBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { relation_ = java.util.Collections.unmodifiableList(relation_); bitField0_ = (bitField0_ & ~0x00000004); } result.relation_ = relation_; } else { result.relation_ = relationBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.AliasNode result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.alias_ = alias_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.AliasNode) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.AliasNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.AliasNode other) { if (other == ai.chalk.protos.chalk.expression.v1.AliasNode.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } if (!other.getAlias().isEmpty()) { alias_ = other.alias_; bitField0_ |= 0x00000002; onChanged(); } if (relationBuilder_ == null) { if (!other.relation_.isEmpty()) { if (relation_.isEmpty()) { relation_ = other.relation_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureRelationIsMutable(); relation_.addAll(other.relation_); } onChanged(); } } else { if (!other.relation_.isEmpty()) { if (relationBuilder_.isEmpty()) { relationBuilder_.dispose(); relationBuilder_ = null; relation_ = other.relation_; bitField0_ = (bitField0_ & ~0x00000004); relationBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRelationFieldBuilder() : null; } else { relationBuilder_.addAllMessages(other.relation_); } } } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { alias_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { ai.chalk.protos.chalk.expression.v1.OwnedTableReference m = input.readMessage( ai.chalk.protos.chalk.expression.v1.OwnedTableReference.parser(), extensionRegistry); if (relationBuilder_ == null) { ensureRelationIsMutable(); relation_.add(m); } else { relationBuilder_.addMessage(m); } break; } // case 26 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } private java.lang.Object alias_ = ""; /** * <code>string alias = 2 [json_name = "alias"];</code> * @return The alias. */ public java.lang.String getAlias() { java.lang.Object ref = alias_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alias_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string alias = 2 [json_name = "alias"];</code> * @return The bytes for alias. */ public com.google.protobuf.ByteString getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); alias_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string alias = 2 [json_name = "alias"];</code> * @param value The alias to set. * @return This builder for chaining. */ public Builder setAlias( java.lang.String value) { if (value == null) { throw new NullPointerException(); } alias_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>string alias = 2 [json_name = "alias"];</code> * @return This builder for chaining. */ public Builder clearAlias() { alias_ = getDefaultInstance().getAlias(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * <code>string alias = 2 [json_name = "alias"];</code> * @param value The bytes for alias to set. * @return This builder for chaining. */ public Builder setAliasBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); alias_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.util.List<ai.chalk.protos.chalk.expression.v1.OwnedTableReference> relation_ = java.util.Collections.emptyList(); private void ensureRelationIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { relation_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.OwnedTableReference>(relation_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.OwnedTableReference, ai.chalk.protos.chalk.expression.v1.OwnedTableReference.Builder, ai.chalk.protos.chalk.expression.v1.OwnedTableReferenceOrBuilder> relationBuilder_; /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.OwnedTableReference> getRelationList() { if (relationBuilder_ == null) { return java.util.Collections.unmodifiableList(relation_); } else { return relationBuilder_.getMessageList(); } } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public int getRelationCount() { if (relationBuilder_ == null) { return relation_.size(); } else { return relationBuilder_.getCount(); } } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public ai.chalk.protos.chalk.expression.v1.OwnedTableReference getRelation(int index) { if (relationBuilder_ == null) { return relation_.get(index); } else { return relationBuilder_.getMessage(index); } } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public Builder setRelation( int index, ai.chalk.protos.chalk.expression.v1.OwnedTableReference value) { if (relationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRelationIsMutable(); relation_.set(index, value); onChanged(); } else { relationBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public Builder setRelation( int index, ai.chalk.protos.chalk.expression.v1.OwnedTableReference.Builder builderForValue) { if (relationBuilder_ == null) { ensureRelationIsMutable(); relation_.set(index, builderForValue.build()); onChanged(); } else { relationBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public Builder addRelation(ai.chalk.protos.chalk.expression.v1.OwnedTableReference value) { if (relationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRelationIsMutable(); relation_.add(value); onChanged(); } else { relationBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public Builder addRelation( int index, ai.chalk.protos.chalk.expression.v1.OwnedTableReference value) { if (relationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRelationIsMutable(); relation_.add(index, value); onChanged(); } else { relationBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public Builder addRelation( ai.chalk.protos.chalk.expression.v1.OwnedTableReference.Builder builderForValue) { if (relationBuilder_ == null) { ensureRelationIsMutable(); relation_.add(builderForValue.build()); onChanged(); } else { relationBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public Builder addRelation( int index, ai.chalk.protos.chalk.expression.v1.OwnedTableReference.Builder builderForValue) { if (relationBuilder_ == null) { ensureRelationIsMutable(); relation_.add(index, builderForValue.build()); onChanged(); } else { relationBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public Builder addAllRelation( java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.OwnedTableReference> values) { if (relationBuilder_ == null) { ensureRelationIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, relation_); onChanged(); } else { relationBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public Builder clearRelation() { if (relationBuilder_ == null) { relation_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { relationBuilder_.clear(); } return this; } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public Builder removeRelation(int index) { if (relationBuilder_ == null) { ensureRelationIsMutable(); relation_.remove(index); onChanged(); } else { relationBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public ai.chalk.protos.chalk.expression.v1.OwnedTableReference.Builder getRelationBuilder( int index) { return getRelationFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public ai.chalk.protos.chalk.expression.v1.OwnedTableReferenceOrBuilder getRelationOrBuilder( int index) { if (relationBuilder_ == null) { return relation_.get(index); } else { return relationBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.OwnedTableReferenceOrBuilder> getRelationOrBuilderList() { if (relationBuilder_ != null) { return relationBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(relation_); } } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public ai.chalk.protos.chalk.expression.v1.OwnedTableReference.Builder addRelationBuilder() { return getRelationFieldBuilder().addBuilder( ai.chalk.protos.chalk.expression.v1.OwnedTableReference.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public ai.chalk.protos.chalk.expression.v1.OwnedTableReference.Builder addRelationBuilder( int index) { return getRelationFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.expression.v1.OwnedTableReference.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.OwnedTableReference.Builder> getRelationBuilderList() { return getRelationFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.OwnedTableReference, ai.chalk.protos.chalk.expression.v1.OwnedTableReference.Builder, ai.chalk.protos.chalk.expression.v1.OwnedTableReferenceOrBuilder> getRelationFieldBuilder() { if (relationBuilder_ == null) { relationBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.OwnedTableReference, ai.chalk.protos.chalk.expression.v1.OwnedTableReference.Builder, ai.chalk.protos.chalk.expression.v1.OwnedTableReferenceOrBuilder>( relation_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); relation_ = null; } return relationBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.AliasNode) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.AliasNode) private static final ai.chalk.protos.chalk.expression.v1.AliasNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.AliasNode(); } public static ai.chalk.protos.chalk.expression.v1.AliasNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<AliasNode> PARSER = new com.google.protobuf.AbstractParser<AliasNode>() { @java.lang.Override public AliasNode 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<AliasNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<AliasNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.AliasNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/AliasNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface AliasNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.AliasNode) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); /** * <code>string alias = 2 [json_name = "alias"];</code> * @return The alias. */ java.lang.String getAlias(); /** * <code>string alias = 2 [json_name = "alias"];</code> * @return The bytes for alias. */ com.google.protobuf.ByteString getAliasBytes(); /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ java.util.List<ai.chalk.protos.chalk.expression.v1.OwnedTableReference> getRelationList(); /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ ai.chalk.protos.chalk.expression.v1.OwnedTableReference getRelation(int index); /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ int getRelationCount(); /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.expression.v1.OwnedTableReferenceOrBuilder> getRelationOrBuilderList(); /** * <code>repeated .chalk.expression.v1.OwnedTableReference relation = 3 [json_name = "relation"];</code> */ ai.chalk.protos.chalk.expression.v1.OwnedTableReferenceOrBuilder getRelationOrBuilder( int index); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/BareTableReference.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.BareTableReference} */ public final class BareTableReference extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.BareTableReference) BareTableReferenceOrBuilder { private static final long serialVersionUID = 0L; // Use BareTableReference.newBuilder() to construct. private BareTableReference(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private BareTableReference() { table_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BareTableReference(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BareTableReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BareTableReference_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.BareTableReference.class, ai.chalk.protos.chalk.expression.v1.BareTableReference.Builder.class); } public static final int TABLE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** * <code>string table = 1 [json_name = "table"];</code> * @return The table. */ @java.lang.Override public java.lang.String getTable() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** * <code>string table = 1 [json_name = "table"];</code> * @return The bytes for table. */ @java.lang.Override public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, table_); } 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 ai.chalk.protos.chalk.expression.v1.BareTableReference)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.BareTableReference other = (ai.chalk.protos.chalk.expression.v1.BareTableReference) obj; if (!getTable() .equals(other.getTable())) 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(); hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.BareTableReference parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.BareTableReference parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BareTableReference parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.BareTableReference parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BareTableReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.BareTableReference parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BareTableReference parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.BareTableReference parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BareTableReference parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.BareTableReference parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BareTableReference parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.BareTableReference parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.BareTableReference 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.BareTableReference} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.BareTableReference) ai.chalk.protos.chalk.expression.v1.BareTableReferenceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BareTableReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BareTableReference_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.BareTableReference.class, ai.chalk.protos.chalk.expression.v1.BareTableReference.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.BareTableReference.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; table_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BareTableReference_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.BareTableReference getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.BareTableReference.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.BareTableReference build() { ai.chalk.protos.chalk.expression.v1.BareTableReference result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.BareTableReference buildPartial() { ai.chalk.protos.chalk.expression.v1.BareTableReference result = new ai.chalk.protos.chalk.expression.v1.BareTableReference(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.BareTableReference result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.table_ = table_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.BareTableReference) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.BareTableReference)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.BareTableReference other) { if (other == ai.chalk.protos.chalk.expression.v1.BareTableReference.getDefaultInstance()) return this; if (!other.getTable().isEmpty()) { table_ = other.table_; bitField0_ |= 0x00000001; onChanged(); } 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: { table_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; 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.lang.Object table_ = ""; /** * <code>string table = 1 [json_name = "table"];</code> * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string table = 1 [json_name = "table"];</code> * @return The bytes for table. */ public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string table = 1 [json_name = "table"];</code> * @param value The table to set. * @return This builder for chaining. */ public Builder setTable( java.lang.String value) { if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string table = 1 [json_name = "table"];</code> * @return This builder for chaining. */ public Builder clearTable() { table_ = getDefaultInstance().getTable(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string table = 1 [json_name = "table"];</code> * @param value The bytes for table to set. * @return This builder for chaining. */ public Builder setTableBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.BareTableReference) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.BareTableReference) private static final ai.chalk.protos.chalk.expression.v1.BareTableReference DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.BareTableReference(); } public static ai.chalk.protos.chalk.expression.v1.BareTableReference getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<BareTableReference> PARSER = new com.google.protobuf.AbstractParser<BareTableReference>() { @java.lang.Override public BareTableReference 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<BareTableReference> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<BareTableReference> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.BareTableReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/BareTableReferenceOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface BareTableReferenceOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.BareTableReference) com.google.protobuf.MessageOrBuilder { /** * <code>string table = 1 [json_name = "table"];</code> * @return The table. */ java.lang.String getTable(); /** * <code>string table = 1 [json_name = "table"];</code> * @return The bytes for table. */ com.google.protobuf.ByteString getTableBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/BetweenNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.BetweenNode} */ public final class BetweenNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.BetweenNode) BetweenNodeOrBuilder { private static final long serialVersionUID = 0L; // Use BetweenNode.newBuilder() to construct. private BetweenNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private BetweenNode() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BetweenNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BetweenNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BetweenNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.BetweenNode.class, ai.chalk.protos.chalk.expression.v1.BetweenNode.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } public static final int NEGATED_FIELD_NUMBER = 2; private boolean negated_ = false; /** * <code>bool negated = 2 [json_name = "negated"];</code> * @return The negated. */ @java.lang.Override public boolean getNegated() { return negated_; } public static final int LOW_FIELD_NUMBER = 3; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode low_; /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> * @return Whether the low field is set. */ @java.lang.Override public boolean hasLow() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> * @return The low. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getLow() { return low_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : low_; } /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getLowOrBuilder() { return low_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : low_; } public static final int HIGH_FIELD_NUMBER = 4; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode high_; /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> * @return Whether the high field is set. */ @java.lang.Override public boolean hasHigh() { return ((bitField0_ & 0x00000004) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> * @return The high. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getHigh() { return high_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : high_; } /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getHighOrBuilder() { return high_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : high_; } 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, getExpr()); } if (negated_ != false) { output.writeBool(2, negated_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getLow()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getHigh()); } 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, getExpr()); } if (negated_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, negated_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getLow()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getHigh()); } 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 ai.chalk.protos.chalk.expression.v1.BetweenNode)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.BetweenNode other = (ai.chalk.protos.chalk.expression.v1.BetweenNode) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) return false; } if (getNegated() != other.getNegated()) return false; if (hasLow() != other.hasLow()) return false; if (hasLow()) { if (!getLow() .equals(other.getLow())) return false; } if (hasHigh() != other.hasHigh()) return false; if (hasHigh()) { if (!getHigh() .equals(other.getHigh())) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } hash = (37 * hash) + NEGATED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNegated()); if (hasLow()) { hash = (37 * hash) + LOW_FIELD_NUMBER; hash = (53 * hash) + getLow().hashCode(); } if (hasHigh()) { hash = (37 * hash) + HIGH_FIELD_NUMBER; hash = (53 * hash) + getHigh().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.BetweenNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.BetweenNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BetweenNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.BetweenNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BetweenNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.BetweenNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BetweenNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.BetweenNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BetweenNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.BetweenNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BetweenNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.BetweenNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.BetweenNode 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.BetweenNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.BetweenNode) ai.chalk.protos.chalk.expression.v1.BetweenNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BetweenNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BetweenNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.BetweenNode.class, ai.chalk.protos.chalk.expression.v1.BetweenNode.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.BetweenNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); getLowFieldBuilder(); getHighFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } negated_ = false; low_ = null; if (lowBuilder_ != null) { lowBuilder_.dispose(); lowBuilder_ = null; } high_ = null; if (highBuilder_ != null) { highBuilder_.dispose(); highBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BetweenNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.BetweenNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.BetweenNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.BetweenNode build() { ai.chalk.protos.chalk.expression.v1.BetweenNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.BetweenNode buildPartial() { ai.chalk.protos.chalk.expression.v1.BetweenNode result = new ai.chalk.protos.chalk.expression.v1.BetweenNode(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.BetweenNode result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.negated_ = negated_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.low_ = lowBuilder_ == null ? low_ : lowBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.high_ = highBuilder_ == null ? high_ : highBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.BetweenNode) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.BetweenNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.BetweenNode other) { if (other == ai.chalk.protos.chalk.expression.v1.BetweenNode.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } if (other.getNegated() != false) { setNegated(other.getNegated()); } if (other.hasLow()) { mergeLow(other.getLow()); } if (other.hasHigh()) { mergeHigh(other.getHigh()); } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { negated_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { input.readMessage( getLowFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getHighFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } private boolean negated_ ; /** * <code>bool negated = 2 [json_name = "negated"];</code> * @return The negated. */ @java.lang.Override public boolean getNegated() { return negated_; } /** * <code>bool negated = 2 [json_name = "negated"];</code> * @param value The negated to set. * @return This builder for chaining. */ public Builder setNegated(boolean value) { negated_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>bool negated = 2 [json_name = "negated"];</code> * @return This builder for chaining. */ public Builder clearNegated() { bitField0_ = (bitField0_ & ~0x00000002); negated_ = false; onChanged(); return this; } private ai.chalk.protos.chalk.expression.v1.LogicalExprNode low_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> lowBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> * @return Whether the low field is set. */ public boolean hasLow() { return ((bitField0_ & 0x00000004) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> * @return The low. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getLow() { if (lowBuilder_ == null) { return low_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : low_; } else { return lowBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> */ public Builder setLow(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (lowBuilder_ == null) { if (value == null) { throw new NullPointerException(); } low_ = value; } else { lowBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> */ public Builder setLow( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (lowBuilder_ == null) { low_ = builderForValue.build(); } else { lowBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> */ public Builder mergeLow(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (lowBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && low_ != null && low_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getLowBuilder().mergeFrom(value); } else { low_ = value; } } else { lowBuilder_.mergeFrom(value); } if (low_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> */ public Builder clearLow() { bitField0_ = (bitField0_ & ~0x00000004); low_ = null; if (lowBuilder_ != null) { lowBuilder_.dispose(); lowBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getLowBuilder() { bitField0_ |= 0x00000004; onChanged(); return getLowFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getLowOrBuilder() { if (lowBuilder_ != null) { return lowBuilder_.getMessageOrBuilder(); } else { return low_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : low_; } } /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getLowFieldBuilder() { if (lowBuilder_ == null) { lowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getLow(), getParentForChildren(), isClean()); low_ = null; } return lowBuilder_; } private ai.chalk.protos.chalk.expression.v1.LogicalExprNode high_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> highBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> * @return Whether the high field is set. */ public boolean hasHigh() { return ((bitField0_ & 0x00000008) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> * @return The high. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getHigh() { if (highBuilder_ == null) { return high_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : high_; } else { return highBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> */ public Builder setHigh(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (highBuilder_ == null) { if (value == null) { throw new NullPointerException(); } high_ = value; } else { highBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> */ public Builder setHigh( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (highBuilder_ == null) { high_ = builderForValue.build(); } else { highBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> */ public Builder mergeHigh(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (highBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && high_ != null && high_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getHighBuilder().mergeFrom(value); } else { high_ = value; } } else { highBuilder_.mergeFrom(value); } if (high_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> */ public Builder clearHigh() { bitField0_ = (bitField0_ & ~0x00000008); high_ = null; if (highBuilder_ != null) { highBuilder_.dispose(); highBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getHighBuilder() { bitField0_ |= 0x00000008; onChanged(); return getHighFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getHighOrBuilder() { if (highBuilder_ != null) { return highBuilder_.getMessageOrBuilder(); } else { return high_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : high_; } } /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getHighFieldBuilder() { if (highBuilder_ == null) { highBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getHigh(), getParentForChildren(), isClean()); high_ = null; } return highBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.BetweenNode) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.BetweenNode) private static final ai.chalk.protos.chalk.expression.v1.BetweenNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.BetweenNode(); } public static ai.chalk.protos.chalk.expression.v1.BetweenNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<BetweenNode> PARSER = new com.google.protobuf.AbstractParser<BetweenNode>() { @java.lang.Override public BetweenNode 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<BetweenNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<BetweenNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.BetweenNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/BetweenNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface BetweenNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.BetweenNode) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); /** * <code>bool negated = 2 [json_name = "negated"];</code> * @return The negated. */ boolean getNegated(); /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> * @return Whether the low field is set. */ boolean hasLow(); /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> * @return The low. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getLow(); /** * <code>.chalk.expression.v1.LogicalExprNode low = 3 [json_name = "low"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getLowOrBuilder(); /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> * @return Whether the high field is set. */ boolean hasHigh(); /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> * @return The high. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getHigh(); /** * <code>.chalk.expression.v1.LogicalExprNode high = 4 [json_name = "high"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getHighOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/BinaryExprNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.BinaryExprNode} */ public final class BinaryExprNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.BinaryExprNode) BinaryExprNodeOrBuilder { private static final long serialVersionUID = 0L; // Use BinaryExprNode.newBuilder() to construct. private BinaryExprNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private BinaryExprNode() { operands_ = java.util.Collections.emptyList(); op_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BinaryExprNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BinaryExprNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BinaryExprNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.BinaryExprNode.class, ai.chalk.protos.chalk.expression.v1.BinaryExprNode.Builder.class); } public static final int OPERANDS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> operands_; /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getOperandsList() { return operands_; } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getOperandsOrBuilderList() { return operands_; } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ @java.lang.Override public int getOperandsCount() { return operands_.size(); } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getOperands(int index) { return operands_.get(index); } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getOperandsOrBuilder( int index) { return operands_.get(index); } public static final int OP_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object op_ = ""; /** * <code>string op = 3 [json_name = "op"];</code> * @return The op. */ @java.lang.Override public java.lang.String getOp() { java.lang.Object ref = op_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); op_ = s; return s; } } /** * <code>string op = 3 [json_name = "op"];</code> * @return The bytes for op. */ @java.lang.Override public com.google.protobuf.ByteString getOpBytes() { java.lang.Object ref = op_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); op_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 < operands_.size(); i++) { output.writeMessage(1, operands_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(op_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, op_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < operands_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, operands_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(op_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, op_); } 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 ai.chalk.protos.chalk.expression.v1.BinaryExprNode)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.BinaryExprNode other = (ai.chalk.protos.chalk.expression.v1.BinaryExprNode) obj; if (!getOperandsList() .equals(other.getOperandsList())) return false; if (!getOp() .equals(other.getOp())) 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 (getOperandsCount() > 0) { hash = (37 * hash) + OPERANDS_FIELD_NUMBER; hash = (53 * hash) + getOperandsList().hashCode(); } hash = (37 * hash) + OP_FIELD_NUMBER; hash = (53 * hash) + getOp().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.BinaryExprNode 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.BinaryExprNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.BinaryExprNode) ai.chalk.protos.chalk.expression.v1.BinaryExprNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BinaryExprNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BinaryExprNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.BinaryExprNode.class, ai.chalk.protos.chalk.expression.v1.BinaryExprNode.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.BinaryExprNode.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (operandsBuilder_ == null) { operands_ = java.util.Collections.emptyList(); } else { operands_ = null; operandsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); op_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_BinaryExprNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.BinaryExprNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.BinaryExprNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.BinaryExprNode build() { ai.chalk.protos.chalk.expression.v1.BinaryExprNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.BinaryExprNode buildPartial() { ai.chalk.protos.chalk.expression.v1.BinaryExprNode result = new ai.chalk.protos.chalk.expression.v1.BinaryExprNode(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.BinaryExprNode result) { if (operandsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { operands_ = java.util.Collections.unmodifiableList(operands_); bitField0_ = (bitField0_ & ~0x00000001); } result.operands_ = operands_; } else { result.operands_ = operandsBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.BinaryExprNode result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.op_ = op_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.BinaryExprNode) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.BinaryExprNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.BinaryExprNode other) { if (other == ai.chalk.protos.chalk.expression.v1.BinaryExprNode.getDefaultInstance()) return this; if (operandsBuilder_ == null) { if (!other.operands_.isEmpty()) { if (operands_.isEmpty()) { operands_ = other.operands_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureOperandsIsMutable(); operands_.addAll(other.operands_); } onChanged(); } } else { if (!other.operands_.isEmpty()) { if (operandsBuilder_.isEmpty()) { operandsBuilder_.dispose(); operandsBuilder_ = null; operands_ = other.operands_; bitField0_ = (bitField0_ & ~0x00000001); operandsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOperandsFieldBuilder() : null; } else { operandsBuilder_.addAllMessages(other.operands_); } } } if (!other.getOp().isEmpty()) { op_ = other.op_; bitField0_ |= 0x00000002; onChanged(); } 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: { ai.chalk.protos.chalk.expression.v1.LogicalExprNode m = input.readMessage( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(), extensionRegistry); if (operandsBuilder_ == null) { ensureOperandsIsMutable(); operands_.add(m); } else { operandsBuilder_.addMessage(m); } break; } // case 10 case 26: { op_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 26 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<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> operands_ = java.util.Collections.emptyList(); private void ensureOperandsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { operands_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(operands_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> operandsBuilder_; /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getOperandsList() { if (operandsBuilder_ == null) { return java.util.Collections.unmodifiableList(operands_); } else { return operandsBuilder_.getMessageList(); } } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public int getOperandsCount() { if (operandsBuilder_ == null) { return operands_.size(); } else { return operandsBuilder_.getCount(); } } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getOperands(int index) { if (operandsBuilder_ == null) { return operands_.get(index); } else { return operandsBuilder_.getMessage(index); } } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public Builder setOperands( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (operandsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperandsIsMutable(); operands_.set(index, value); onChanged(); } else { operandsBuilder_.setMessage(index, value); } return this; } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public Builder setOperands( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (operandsBuilder_ == null) { ensureOperandsIsMutable(); operands_.set(index, builderForValue.build()); onChanged(); } else { operandsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public Builder addOperands(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (operandsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperandsIsMutable(); operands_.add(value); onChanged(); } else { operandsBuilder_.addMessage(value); } return this; } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public Builder addOperands( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (operandsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperandsIsMutable(); operands_.add(index, value); onChanged(); } else { operandsBuilder_.addMessage(index, value); } return this; } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public Builder addOperands( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (operandsBuilder_ == null) { ensureOperandsIsMutable(); operands_.add(builderForValue.build()); onChanged(); } else { operandsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public Builder addOperands( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (operandsBuilder_ == null) { ensureOperandsIsMutable(); operands_.add(index, builderForValue.build()); onChanged(); } else { operandsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public Builder addAllOperands( java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) { if (operandsBuilder_ == null) { ensureOperandsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, operands_); onChanged(); } else { operandsBuilder_.addAllMessages(values); } return this; } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public Builder clearOperands() { if (operandsBuilder_ == null) { operands_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { operandsBuilder_.clear(); } return this; } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public Builder removeOperands(int index) { if (operandsBuilder_ == null) { ensureOperandsIsMutable(); operands_.remove(index); onChanged(); } else { operandsBuilder_.remove(index); } return this; } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getOperandsBuilder( int index) { return getOperandsFieldBuilder().getBuilder(index); } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getOperandsOrBuilder( int index) { if (operandsBuilder_ == null) { return operands_.get(index); } else { return operandsBuilder_.getMessageOrBuilder(index); } } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getOperandsOrBuilderList() { if (operandsBuilder_ != null) { return operandsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(operands_); } } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addOperandsBuilder() { return getOperandsFieldBuilder().addBuilder( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addOperandsBuilder( int index) { return getOperandsFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> getOperandsBuilderList() { return getOperandsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getOperandsFieldBuilder() { if (operandsBuilder_ == null) { operandsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( operands_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); operands_ = null; } return operandsBuilder_; } private java.lang.Object op_ = ""; /** * <code>string op = 3 [json_name = "op"];</code> * @return The op. */ public java.lang.String getOp() { java.lang.Object ref = op_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); op_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string op = 3 [json_name = "op"];</code> * @return The bytes for op. */ public com.google.protobuf.ByteString getOpBytes() { java.lang.Object ref = op_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); op_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string op = 3 [json_name = "op"];</code> * @param value The op to set. * @return This builder for chaining. */ public Builder setOp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } op_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>string op = 3 [json_name = "op"];</code> * @return This builder for chaining. */ public Builder clearOp() { op_ = getDefaultInstance().getOp(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * <code>string op = 3 [json_name = "op"];</code> * @param value The bytes for op to set. * @return This builder for chaining. */ public Builder setOpBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); op_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.BinaryExprNode) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.BinaryExprNode) private static final ai.chalk.protos.chalk.expression.v1.BinaryExprNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.BinaryExprNode(); } public static ai.chalk.protos.chalk.expression.v1.BinaryExprNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<BinaryExprNode> PARSER = new com.google.protobuf.AbstractParser<BinaryExprNode>() { @java.lang.Override public BinaryExprNode 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<BinaryExprNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<BinaryExprNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.BinaryExprNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/BinaryExprNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface BinaryExprNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.BinaryExprNode) com.google.protobuf.MessageOrBuilder { /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getOperandsList(); /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getOperands(int index); /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ int getOperandsCount(); /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getOperandsOrBuilderList(); /** * <pre> * Represents the operands from the left inner most expression * to the right outer most expression where each of them are chained * with the operator 'op'. * </pre> * * <code>repeated .chalk.expression.v1.LogicalExprNode operands = 1 [json_name = "operands"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getOperandsOrBuilder( int index); /** * <code>string op = 3 [json_name = "op"];</code> * @return The op. */ java.lang.String getOp(); /** * <code>string op = 3 [json_name = "op"];</code> * @return The bytes for op. */ com.google.protobuf.ByteString getOpBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/BuiltInWindowFunction.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf enum {@code chalk.expression.v1.BuiltInWindowFunction} */ public enum BuiltInWindowFunction implements com.google.protobuf.ProtocolMessageEnum { /** * <code>BUILT_IN_WINDOW_FUNCTION_UNSPECIFIED = 0;</code> */ BUILT_IN_WINDOW_FUNCTION_UNSPECIFIED(0), /** * <code>BUILT_IN_WINDOW_FUNCTION_ROW_NUMBER = 1;</code> */ BUILT_IN_WINDOW_FUNCTION_ROW_NUMBER(1), /** * <code>BUILT_IN_WINDOW_FUNCTION_RANK = 2;</code> */ BUILT_IN_WINDOW_FUNCTION_RANK(2), /** * <code>BUILT_IN_WINDOW_FUNCTION_DENSE_RANK = 3;</code> */ BUILT_IN_WINDOW_FUNCTION_DENSE_RANK(3), /** * <code>BUILT_IN_WINDOW_FUNCTION_PERCENT_RANK = 4;</code> */ BUILT_IN_WINDOW_FUNCTION_PERCENT_RANK(4), /** * <code>BUILT_IN_WINDOW_FUNCTION_CUME_DIST = 5;</code> */ BUILT_IN_WINDOW_FUNCTION_CUME_DIST(5), /** * <code>BUILT_IN_WINDOW_FUNCTION_NTILE = 6;</code> */ BUILT_IN_WINDOW_FUNCTION_NTILE(6), /** * <code>BUILT_IN_WINDOW_FUNCTION_LAG = 7;</code> */ BUILT_IN_WINDOW_FUNCTION_LAG(7), /** * <code>BUILT_IN_WINDOW_FUNCTION_LEAD = 8;</code> */ BUILT_IN_WINDOW_FUNCTION_LEAD(8), /** * <code>BUILT_IN_WINDOW_FUNCTION_FIRST_VALUE = 9;</code> */ BUILT_IN_WINDOW_FUNCTION_FIRST_VALUE(9), /** * <code>BUILT_IN_WINDOW_FUNCTION_LAST_VALUE = 10;</code> */ BUILT_IN_WINDOW_FUNCTION_LAST_VALUE(10), /** * <code>BUILT_IN_WINDOW_FUNCTION_NTH_VALUE = 11;</code> */ BUILT_IN_WINDOW_FUNCTION_NTH_VALUE(11), UNRECOGNIZED(-1), ; /** * <code>BUILT_IN_WINDOW_FUNCTION_UNSPECIFIED = 0;</code> */ public static final int BUILT_IN_WINDOW_FUNCTION_UNSPECIFIED_VALUE = 0; /** * <code>BUILT_IN_WINDOW_FUNCTION_ROW_NUMBER = 1;</code> */ public static final int BUILT_IN_WINDOW_FUNCTION_ROW_NUMBER_VALUE = 1; /** * <code>BUILT_IN_WINDOW_FUNCTION_RANK = 2;</code> */ public static final int BUILT_IN_WINDOW_FUNCTION_RANK_VALUE = 2; /** * <code>BUILT_IN_WINDOW_FUNCTION_DENSE_RANK = 3;</code> */ public static final int BUILT_IN_WINDOW_FUNCTION_DENSE_RANK_VALUE = 3; /** * <code>BUILT_IN_WINDOW_FUNCTION_PERCENT_RANK = 4;</code> */ public static final int BUILT_IN_WINDOW_FUNCTION_PERCENT_RANK_VALUE = 4; /** * <code>BUILT_IN_WINDOW_FUNCTION_CUME_DIST = 5;</code> */ public static final int BUILT_IN_WINDOW_FUNCTION_CUME_DIST_VALUE = 5; /** * <code>BUILT_IN_WINDOW_FUNCTION_NTILE = 6;</code> */ public static final int BUILT_IN_WINDOW_FUNCTION_NTILE_VALUE = 6; /** * <code>BUILT_IN_WINDOW_FUNCTION_LAG = 7;</code> */ public static final int BUILT_IN_WINDOW_FUNCTION_LAG_VALUE = 7; /** * <code>BUILT_IN_WINDOW_FUNCTION_LEAD = 8;</code> */ public static final int BUILT_IN_WINDOW_FUNCTION_LEAD_VALUE = 8; /** * <code>BUILT_IN_WINDOW_FUNCTION_FIRST_VALUE = 9;</code> */ public static final int BUILT_IN_WINDOW_FUNCTION_FIRST_VALUE_VALUE = 9; /** * <code>BUILT_IN_WINDOW_FUNCTION_LAST_VALUE = 10;</code> */ public static final int BUILT_IN_WINDOW_FUNCTION_LAST_VALUE_VALUE = 10; /** * <code>BUILT_IN_WINDOW_FUNCTION_NTH_VALUE = 11;</code> */ public static final int BUILT_IN_WINDOW_FUNCTION_NTH_VALUE_VALUE = 11; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static BuiltInWindowFunction valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static BuiltInWindowFunction forNumber(int value) { switch (value) { case 0: return BUILT_IN_WINDOW_FUNCTION_UNSPECIFIED; case 1: return BUILT_IN_WINDOW_FUNCTION_ROW_NUMBER; case 2: return BUILT_IN_WINDOW_FUNCTION_RANK; case 3: return BUILT_IN_WINDOW_FUNCTION_DENSE_RANK; case 4: return BUILT_IN_WINDOW_FUNCTION_PERCENT_RANK; case 5: return BUILT_IN_WINDOW_FUNCTION_CUME_DIST; case 6: return BUILT_IN_WINDOW_FUNCTION_NTILE; case 7: return BUILT_IN_WINDOW_FUNCTION_LAG; case 8: return BUILT_IN_WINDOW_FUNCTION_LEAD; case 9: return BUILT_IN_WINDOW_FUNCTION_FIRST_VALUE; case 10: return BUILT_IN_WINDOW_FUNCTION_LAST_VALUE; case 11: return BUILT_IN_WINDOW_FUNCTION_NTH_VALUE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<BuiltInWindowFunction> internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< BuiltInWindowFunction> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<BuiltInWindowFunction>() { public BuiltInWindowFunction findValueByNumber(int number) { return BuiltInWindowFunction.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.getDescriptor().getEnumTypes().get(2); } private static final BuiltInWindowFunction[] VALUES = values(); public static BuiltInWindowFunction valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private BuiltInWindowFunction(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:chalk.expression.v1.BuiltInWindowFunction) }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/CaseNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.CaseNode} */ public final class CaseNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.CaseNode) CaseNodeOrBuilder { private static final long serialVersionUID = 0L; // Use CaseNode.newBuilder() to construct. private CaseNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private CaseNode() { whenThenExpr_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CaseNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CaseNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CaseNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.CaseNode.class, ai.chalk.protos.chalk.expression.v1.CaseNode.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } public static final int WHEN_THEN_EXPR_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.expression.v1.WhenThen> whenThenExpr_; /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.expression.v1.WhenThen> getWhenThenExprList() { return whenThenExpr_; } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.WhenThenOrBuilder> getWhenThenExprOrBuilderList() { return whenThenExpr_; } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ @java.lang.Override public int getWhenThenExprCount() { return whenThenExpr_.size(); } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.WhenThen getWhenThenExpr(int index) { return whenThenExpr_.get(index); } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.WhenThenOrBuilder getWhenThenExprOrBuilder( int index) { return whenThenExpr_.get(index); } public static final int ELSE_EXPR_FIELD_NUMBER = 3; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode elseExpr_; /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> * @return Whether the elseExpr field is set. */ @java.lang.Override public boolean hasElseExpr() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> * @return The elseExpr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getElseExpr() { return elseExpr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : elseExpr_; } /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getElseExprOrBuilder() { return elseExpr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : elseExpr_; } 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, getExpr()); } for (int i = 0; i < whenThenExpr_.size(); i++) { output.writeMessage(2, whenThenExpr_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getElseExpr()); } 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, getExpr()); } for (int i = 0; i < whenThenExpr_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, whenThenExpr_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getElseExpr()); } 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 ai.chalk.protos.chalk.expression.v1.CaseNode)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.CaseNode other = (ai.chalk.protos.chalk.expression.v1.CaseNode) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) return false; } if (!getWhenThenExprList() .equals(other.getWhenThenExprList())) return false; if (hasElseExpr() != other.hasElseExpr()) return false; if (hasElseExpr()) { if (!getElseExpr() .equals(other.getElseExpr())) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } if (getWhenThenExprCount() > 0) { hash = (37 * hash) + WHEN_THEN_EXPR_FIELD_NUMBER; hash = (53 * hash) + getWhenThenExprList().hashCode(); } if (hasElseExpr()) { hash = (37 * hash) + ELSE_EXPR_FIELD_NUMBER; hash = (53 * hash) + getElseExpr().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.CaseNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.CaseNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CaseNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.CaseNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CaseNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.CaseNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CaseNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.CaseNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CaseNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.CaseNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CaseNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.CaseNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.CaseNode 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.CaseNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.CaseNode) ai.chalk.protos.chalk.expression.v1.CaseNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CaseNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CaseNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.CaseNode.class, ai.chalk.protos.chalk.expression.v1.CaseNode.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.CaseNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); getWhenThenExprFieldBuilder(); getElseExprFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } if (whenThenExprBuilder_ == null) { whenThenExpr_ = java.util.Collections.emptyList(); } else { whenThenExpr_ = null; whenThenExprBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); elseExpr_ = null; if (elseExprBuilder_ != null) { elseExprBuilder_.dispose(); elseExprBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CaseNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.CaseNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.CaseNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.CaseNode build() { ai.chalk.protos.chalk.expression.v1.CaseNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.CaseNode buildPartial() { ai.chalk.protos.chalk.expression.v1.CaseNode result = new ai.chalk.protos.chalk.expression.v1.CaseNode(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.CaseNode result) { if (whenThenExprBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { whenThenExpr_ = java.util.Collections.unmodifiableList(whenThenExpr_); bitField0_ = (bitField0_ & ~0x00000002); } result.whenThenExpr_ = whenThenExpr_; } else { result.whenThenExpr_ = whenThenExprBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.CaseNode result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.elseExpr_ = elseExprBuilder_ == null ? elseExpr_ : elseExprBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.CaseNode) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.CaseNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.CaseNode other) { if (other == ai.chalk.protos.chalk.expression.v1.CaseNode.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } if (whenThenExprBuilder_ == null) { if (!other.whenThenExpr_.isEmpty()) { if (whenThenExpr_.isEmpty()) { whenThenExpr_ = other.whenThenExpr_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureWhenThenExprIsMutable(); whenThenExpr_.addAll(other.whenThenExpr_); } onChanged(); } } else { if (!other.whenThenExpr_.isEmpty()) { if (whenThenExprBuilder_.isEmpty()) { whenThenExprBuilder_.dispose(); whenThenExprBuilder_ = null; whenThenExpr_ = other.whenThenExpr_; bitField0_ = (bitField0_ & ~0x00000002); whenThenExprBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getWhenThenExprFieldBuilder() : null; } else { whenThenExprBuilder_.addAllMessages(other.whenThenExpr_); } } } if (other.hasElseExpr()) { mergeElseExpr(other.getElseExpr()); } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { ai.chalk.protos.chalk.expression.v1.WhenThen m = input.readMessage( ai.chalk.protos.chalk.expression.v1.WhenThen.parser(), extensionRegistry); if (whenThenExprBuilder_ == null) { ensureWhenThenExprIsMutable(); whenThenExpr_.add(m); } else { whenThenExprBuilder_.addMessage(m); } break; } // case 18 case 26: { input.readMessage( getElseExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } private java.util.List<ai.chalk.protos.chalk.expression.v1.WhenThen> whenThenExpr_ = java.util.Collections.emptyList(); private void ensureWhenThenExprIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { whenThenExpr_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.WhenThen>(whenThenExpr_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.WhenThen, ai.chalk.protos.chalk.expression.v1.WhenThen.Builder, ai.chalk.protos.chalk.expression.v1.WhenThenOrBuilder> whenThenExprBuilder_; /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.WhenThen> getWhenThenExprList() { if (whenThenExprBuilder_ == null) { return java.util.Collections.unmodifiableList(whenThenExpr_); } else { return whenThenExprBuilder_.getMessageList(); } } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public int getWhenThenExprCount() { if (whenThenExprBuilder_ == null) { return whenThenExpr_.size(); } else { return whenThenExprBuilder_.getCount(); } } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public ai.chalk.protos.chalk.expression.v1.WhenThen getWhenThenExpr(int index) { if (whenThenExprBuilder_ == null) { return whenThenExpr_.get(index); } else { return whenThenExprBuilder_.getMessage(index); } } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public Builder setWhenThenExpr( int index, ai.chalk.protos.chalk.expression.v1.WhenThen value) { if (whenThenExprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWhenThenExprIsMutable(); whenThenExpr_.set(index, value); onChanged(); } else { whenThenExprBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public Builder setWhenThenExpr( int index, ai.chalk.protos.chalk.expression.v1.WhenThen.Builder builderForValue) { if (whenThenExprBuilder_ == null) { ensureWhenThenExprIsMutable(); whenThenExpr_.set(index, builderForValue.build()); onChanged(); } else { whenThenExprBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public Builder addWhenThenExpr(ai.chalk.protos.chalk.expression.v1.WhenThen value) { if (whenThenExprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWhenThenExprIsMutable(); whenThenExpr_.add(value); onChanged(); } else { whenThenExprBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public Builder addWhenThenExpr( int index, ai.chalk.protos.chalk.expression.v1.WhenThen value) { if (whenThenExprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWhenThenExprIsMutable(); whenThenExpr_.add(index, value); onChanged(); } else { whenThenExprBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public Builder addWhenThenExpr( ai.chalk.protos.chalk.expression.v1.WhenThen.Builder builderForValue) { if (whenThenExprBuilder_ == null) { ensureWhenThenExprIsMutable(); whenThenExpr_.add(builderForValue.build()); onChanged(); } else { whenThenExprBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public Builder addWhenThenExpr( int index, ai.chalk.protos.chalk.expression.v1.WhenThen.Builder builderForValue) { if (whenThenExprBuilder_ == null) { ensureWhenThenExprIsMutable(); whenThenExpr_.add(index, builderForValue.build()); onChanged(); } else { whenThenExprBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public Builder addAllWhenThenExpr( java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.WhenThen> values) { if (whenThenExprBuilder_ == null) { ensureWhenThenExprIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, whenThenExpr_); onChanged(); } else { whenThenExprBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public Builder clearWhenThenExpr() { if (whenThenExprBuilder_ == null) { whenThenExpr_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { whenThenExprBuilder_.clear(); } return this; } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public Builder removeWhenThenExpr(int index) { if (whenThenExprBuilder_ == null) { ensureWhenThenExprIsMutable(); whenThenExpr_.remove(index); onChanged(); } else { whenThenExprBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public ai.chalk.protos.chalk.expression.v1.WhenThen.Builder getWhenThenExprBuilder( int index) { return getWhenThenExprFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public ai.chalk.protos.chalk.expression.v1.WhenThenOrBuilder getWhenThenExprOrBuilder( int index) { if (whenThenExprBuilder_ == null) { return whenThenExpr_.get(index); } else { return whenThenExprBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.WhenThenOrBuilder> getWhenThenExprOrBuilderList() { if (whenThenExprBuilder_ != null) { return whenThenExprBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(whenThenExpr_); } } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public ai.chalk.protos.chalk.expression.v1.WhenThen.Builder addWhenThenExprBuilder() { return getWhenThenExprFieldBuilder().addBuilder( ai.chalk.protos.chalk.expression.v1.WhenThen.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public ai.chalk.protos.chalk.expression.v1.WhenThen.Builder addWhenThenExprBuilder( int index) { return getWhenThenExprFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.expression.v1.WhenThen.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.WhenThen.Builder> getWhenThenExprBuilderList() { return getWhenThenExprFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.WhenThen, ai.chalk.protos.chalk.expression.v1.WhenThen.Builder, ai.chalk.protos.chalk.expression.v1.WhenThenOrBuilder> getWhenThenExprFieldBuilder() { if (whenThenExprBuilder_ == null) { whenThenExprBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.WhenThen, ai.chalk.protos.chalk.expression.v1.WhenThen.Builder, ai.chalk.protos.chalk.expression.v1.WhenThenOrBuilder>( whenThenExpr_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); whenThenExpr_ = null; } return whenThenExprBuilder_; } private ai.chalk.protos.chalk.expression.v1.LogicalExprNode elseExpr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> elseExprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> * @return Whether the elseExpr field is set. */ public boolean hasElseExpr() { return ((bitField0_ & 0x00000004) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> * @return The elseExpr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getElseExpr() { if (elseExprBuilder_ == null) { return elseExpr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : elseExpr_; } else { return elseExprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> */ public Builder setElseExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (elseExprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } elseExpr_ = value; } else { elseExprBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> */ public Builder setElseExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (elseExprBuilder_ == null) { elseExpr_ = builderForValue.build(); } else { elseExprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> */ public Builder mergeElseExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (elseExprBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && elseExpr_ != null && elseExpr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getElseExprBuilder().mergeFrom(value); } else { elseExpr_ = value; } } else { elseExprBuilder_.mergeFrom(value); } if (elseExpr_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> */ public Builder clearElseExpr() { bitField0_ = (bitField0_ & ~0x00000004); elseExpr_ = null; if (elseExprBuilder_ != null) { elseExprBuilder_.dispose(); elseExprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getElseExprBuilder() { bitField0_ |= 0x00000004; onChanged(); return getElseExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getElseExprOrBuilder() { if (elseExprBuilder_ != null) { return elseExprBuilder_.getMessageOrBuilder(); } else { return elseExpr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : elseExpr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getElseExprFieldBuilder() { if (elseExprBuilder_ == null) { elseExprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getElseExpr(), getParentForChildren(), isClean()); elseExpr_ = null; } return elseExprBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.CaseNode) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.CaseNode) private static final ai.chalk.protos.chalk.expression.v1.CaseNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.CaseNode(); } public static ai.chalk.protos.chalk.expression.v1.CaseNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<CaseNode> PARSER = new com.google.protobuf.AbstractParser<CaseNode>() { @java.lang.Override public CaseNode 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<CaseNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<CaseNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.CaseNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/CaseNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface CaseNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.CaseNode) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ java.util.List<ai.chalk.protos.chalk.expression.v1.WhenThen> getWhenThenExprList(); /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ ai.chalk.protos.chalk.expression.v1.WhenThen getWhenThenExpr(int index); /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ int getWhenThenExprCount(); /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.expression.v1.WhenThenOrBuilder> getWhenThenExprOrBuilderList(); /** * <code>repeated .chalk.expression.v1.WhenThen when_then_expr = 2 [json_name = "whenThenExpr"];</code> */ ai.chalk.protos.chalk.expression.v1.WhenThenOrBuilder getWhenThenExprOrBuilder( int index); /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> * @return Whether the elseExpr field is set. */ boolean hasElseExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> * @return The elseExpr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getElseExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode else_expr = 3 [json_name = "elseExpr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getElseExprOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/CastNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.CastNode} */ public final class CastNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.CastNode) CastNodeOrBuilder { private static final long serialVersionUID = 0L; // Use CastNode.newBuilder() to construct. private CastNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private CastNode() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CastNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CastNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CastNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.CastNode.class, ai.chalk.protos.chalk.expression.v1.CastNode.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } public static final int ARROW_TYPE_FIELD_NUMBER = 2; private ai.chalk.protos.chalk.arrow.v1.ArrowType arrowType_; /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> * @return Whether the arrowType field is set. */ @java.lang.Override public boolean hasArrowType() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> * @return The arrowType. */ @java.lang.Override public ai.chalk.protos.chalk.arrow.v1.ArrowType getArrowType() { return arrowType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : arrowType_; } /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getArrowTypeOrBuilder() { return arrowType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : arrowType_; } 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, getExpr()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getArrowType()); } 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, getExpr()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getArrowType()); } 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 ai.chalk.protos.chalk.expression.v1.CastNode)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.CastNode other = (ai.chalk.protos.chalk.expression.v1.CastNode) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) return false; } if (hasArrowType() != other.hasArrowType()) return false; if (hasArrowType()) { if (!getArrowType() .equals(other.getArrowType())) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } if (hasArrowType()) { hash = (37 * hash) + ARROW_TYPE_FIELD_NUMBER; hash = (53 * hash) + getArrowType().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.CastNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.CastNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CastNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.CastNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CastNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.CastNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CastNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.CastNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CastNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.CastNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CastNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.CastNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.CastNode 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.CastNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.CastNode) ai.chalk.protos.chalk.expression.v1.CastNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CastNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CastNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.CastNode.class, ai.chalk.protos.chalk.expression.v1.CastNode.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.CastNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); getArrowTypeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } arrowType_ = null; if (arrowTypeBuilder_ != null) { arrowTypeBuilder_.dispose(); arrowTypeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CastNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.CastNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.CastNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.CastNode build() { ai.chalk.protos.chalk.expression.v1.CastNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.CastNode buildPartial() { ai.chalk.protos.chalk.expression.v1.CastNode result = new ai.chalk.protos.chalk.expression.v1.CastNode(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.CastNode result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.arrowType_ = arrowTypeBuilder_ == null ? arrowType_ : arrowTypeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.CastNode) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.CastNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.CastNode other) { if (other == ai.chalk.protos.chalk.expression.v1.CastNode.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } if (other.hasArrowType()) { mergeArrowType(other.getArrowType()); } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getArrowTypeFieldBuilder().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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } private ai.chalk.protos.chalk.arrow.v1.ArrowType arrowType_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.arrow.v1.ArrowType, ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder> arrowTypeBuilder_; /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> * @return Whether the arrowType field is set. */ public boolean hasArrowType() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> * @return The arrowType. */ public ai.chalk.protos.chalk.arrow.v1.ArrowType getArrowType() { if (arrowTypeBuilder_ == null) { return arrowType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : arrowType_; } else { return arrowTypeBuilder_.getMessage(); } } /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> */ public Builder setArrowType(ai.chalk.protos.chalk.arrow.v1.ArrowType value) { if (arrowTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } arrowType_ = value; } else { arrowTypeBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> */ public Builder setArrowType( ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder builderForValue) { if (arrowTypeBuilder_ == null) { arrowType_ = builderForValue.build(); } else { arrowTypeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> */ public Builder mergeArrowType(ai.chalk.protos.chalk.arrow.v1.ArrowType value) { if (arrowTypeBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && arrowType_ != null && arrowType_ != ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance()) { getArrowTypeBuilder().mergeFrom(value); } else { arrowType_ = value; } } else { arrowTypeBuilder_.mergeFrom(value); } if (arrowType_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> */ public Builder clearArrowType() { bitField0_ = (bitField0_ & ~0x00000002); arrowType_ = null; if (arrowTypeBuilder_ != null) { arrowTypeBuilder_.dispose(); arrowTypeBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> */ public ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder getArrowTypeBuilder() { bitField0_ |= 0x00000002; onChanged(); return getArrowTypeFieldBuilder().getBuilder(); } /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> */ public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getArrowTypeOrBuilder() { if (arrowTypeBuilder_ != null) { return arrowTypeBuilder_.getMessageOrBuilder(); } else { return arrowType_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : arrowType_; } } /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.arrow.v1.ArrowType, ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder> getArrowTypeFieldBuilder() { if (arrowTypeBuilder_ == null) { arrowTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.arrow.v1.ArrowType, ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder>( getArrowType(), getParentForChildren(), isClean()); arrowType_ = null; } return arrowTypeBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.CastNode) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.CastNode) private static final ai.chalk.protos.chalk.expression.v1.CastNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.CastNode(); } public static ai.chalk.protos.chalk.expression.v1.CastNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<CastNode> PARSER = new com.google.protobuf.AbstractParser<CastNode>() { @java.lang.Override public CastNode 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<CastNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<CastNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.CastNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/CastNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface CastNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.CastNode) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> * @return Whether the arrowType field is set. */ boolean hasArrowType(); /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> * @return The arrowType. */ ai.chalk.protos.chalk.arrow.v1.ArrowType getArrowType(); /** * <code>.chalk.arrow.v1.ArrowType arrow_type = 2 [json_name = "arrowType"];</code> */ ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getArrowTypeOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/Column.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.Column} */ public final class Column extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.Column) ColumnOrBuilder { private static final long serialVersionUID = 0L; // Use Column.newBuilder() to construct. private Column(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private Column() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Column(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Column_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Column_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.Column.class, ai.chalk.protos.chalk.expression.v1.Column.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * <code>string name = 1 [json_name = "name"];</code> * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * <code>string name = 1 [json_name = "name"];</code> * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RELATION_FIELD_NUMBER = 2; private ai.chalk.protos.chalk.expression.v1.ColumnRelation relation_; /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> * @return Whether the relation field is set. */ @java.lang.Override public boolean hasRelation() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> * @return The relation. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ColumnRelation getRelation() { return relation_ == null ? ai.chalk.protos.chalk.expression.v1.ColumnRelation.getDefaultInstance() : relation_; } /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ColumnRelationOrBuilder getRelationOrBuilder() { return relation_ == null ? ai.chalk.protos.chalk.expression.v1.ColumnRelation.getDefaultInstance() : relation_; } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getRelation()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRelation()); } 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 ai.chalk.protos.chalk.expression.v1.Column)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.Column other = (ai.chalk.protos.chalk.expression.v1.Column) obj; if (!getName() .equals(other.getName())) return false; if (hasRelation() != other.hasRelation()) return false; if (hasRelation()) { if (!getRelation() .equals(other.getRelation())) 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(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (hasRelation()) { hash = (37 * hash) + RELATION_FIELD_NUMBER; hash = (53 * hash) + getRelation().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.Column parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.Column parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.Column parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.Column parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.Column parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.Column parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.Column parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.Column parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.Column parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.Column parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.Column parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.Column parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.Column 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.Column} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.Column) ai.chalk.protos.chalk.expression.v1.ColumnOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Column_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Column_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.Column.class, ai.chalk.protos.chalk.expression.v1.Column.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.Column.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRelationFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; relation_ = null; if (relationBuilder_ != null) { relationBuilder_.dispose(); relationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Column_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.Column getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.Column.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.Column build() { ai.chalk.protos.chalk.expression.v1.Column result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.Column buildPartial() { ai.chalk.protos.chalk.expression.v1.Column result = new ai.chalk.protos.chalk.expression.v1.Column(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.Column result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.relation_ = relationBuilder_ == null ? relation_ : relationBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.Column) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.Column)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.Column other) { if (other == ai.chalk.protos.chalk.expression.v1.Column.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasRelation()) { mergeRelation(other.getRelation()); } 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: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getRelationFieldBuilder().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 java.lang.Object name_ = ""; /** * <code>string name = 1 [json_name = "name"];</code> * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string name = 1 [json_name = "name"];</code> * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string name = 1 [json_name = "name"];</code> * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string name = 1 [json_name = "name"];</code> * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string name = 1 [json_name = "name"];</code> * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private ai.chalk.protos.chalk.expression.v1.ColumnRelation relation_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.ColumnRelation, ai.chalk.protos.chalk.expression.v1.ColumnRelation.Builder, ai.chalk.protos.chalk.expression.v1.ColumnRelationOrBuilder> relationBuilder_; /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> * @return Whether the relation field is set. */ public boolean hasRelation() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> * @return The relation. */ public ai.chalk.protos.chalk.expression.v1.ColumnRelation getRelation() { if (relationBuilder_ == null) { return relation_ == null ? ai.chalk.protos.chalk.expression.v1.ColumnRelation.getDefaultInstance() : relation_; } else { return relationBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> */ public Builder setRelation(ai.chalk.protos.chalk.expression.v1.ColumnRelation value) { if (relationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } relation_ = value; } else { relationBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> */ public Builder setRelation( ai.chalk.protos.chalk.expression.v1.ColumnRelation.Builder builderForValue) { if (relationBuilder_ == null) { relation_ = builderForValue.build(); } else { relationBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> */ public Builder mergeRelation(ai.chalk.protos.chalk.expression.v1.ColumnRelation value) { if (relationBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && relation_ != null && relation_ != ai.chalk.protos.chalk.expression.v1.ColumnRelation.getDefaultInstance()) { getRelationBuilder().mergeFrom(value); } else { relation_ = value; } } else { relationBuilder_.mergeFrom(value); } if (relation_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> */ public Builder clearRelation() { bitField0_ = (bitField0_ & ~0x00000002); relation_ = null; if (relationBuilder_ != null) { relationBuilder_.dispose(); relationBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> */ public ai.chalk.protos.chalk.expression.v1.ColumnRelation.Builder getRelationBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRelationFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> */ public ai.chalk.protos.chalk.expression.v1.ColumnRelationOrBuilder getRelationOrBuilder() { if (relationBuilder_ != null) { return relationBuilder_.getMessageOrBuilder(); } else { return relation_ == null ? ai.chalk.protos.chalk.expression.v1.ColumnRelation.getDefaultInstance() : relation_; } } /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.ColumnRelation, ai.chalk.protos.chalk.expression.v1.ColumnRelation.Builder, ai.chalk.protos.chalk.expression.v1.ColumnRelationOrBuilder> getRelationFieldBuilder() { if (relationBuilder_ == null) { relationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.ColumnRelation, ai.chalk.protos.chalk.expression.v1.ColumnRelation.Builder, ai.chalk.protos.chalk.expression.v1.ColumnRelationOrBuilder>( getRelation(), getParentForChildren(), isClean()); relation_ = null; } return relationBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.Column) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.Column) private static final ai.chalk.protos.chalk.expression.v1.Column DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.Column(); } public static ai.chalk.protos.chalk.expression.v1.Column getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<Column> PARSER = new com.google.protobuf.AbstractParser<Column>() { @java.lang.Override public Column 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<Column> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<Column> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.Column getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ColumnOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface ColumnOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.Column) com.google.protobuf.MessageOrBuilder { /** * <code>string name = 1 [json_name = "name"];</code> * @return The name. */ java.lang.String getName(); /** * <code>string name = 1 [json_name = "name"];</code> * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> * @return Whether the relation field is set. */ boolean hasRelation(); /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> * @return The relation. */ ai.chalk.protos.chalk.expression.v1.ColumnRelation getRelation(); /** * <code>.chalk.expression.v1.ColumnRelation relation = 2 [json_name = "relation"];</code> */ ai.chalk.protos.chalk.expression.v1.ColumnRelationOrBuilder getRelationOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ColumnRelation.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.ColumnRelation} */ public final class ColumnRelation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.ColumnRelation) ColumnRelationOrBuilder { private static final long serialVersionUID = 0L; // Use ColumnRelation.newBuilder() to construct. private ColumnRelation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ColumnRelation() { relation_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ColumnRelation(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ColumnRelation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ColumnRelation_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ColumnRelation.class, ai.chalk.protos.chalk.expression.v1.ColumnRelation.Builder.class); } public static final int RELATION_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object relation_ = ""; /** * <code>string relation = 1 [json_name = "relation"];</code> * @return The relation. */ @java.lang.Override public java.lang.String getRelation() { java.lang.Object ref = relation_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relation_ = s; return s; } } /** * <code>string relation = 1 [json_name = "relation"];</code> * @return The bytes for relation. */ @java.lang.Override public com.google.protobuf.ByteString getRelationBytes() { java.lang.Object ref = relation_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); relation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, relation_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, relation_); } 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 ai.chalk.protos.chalk.expression.v1.ColumnRelation)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.ColumnRelation other = (ai.chalk.protos.chalk.expression.v1.ColumnRelation) obj; if (!getRelation() .equals(other.getRelation())) 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(); hash = (37 * hash) + RELATION_FIELD_NUMBER; hash = (53 * hash) + getRelation().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.ColumnRelation 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.ColumnRelation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.ColumnRelation) ai.chalk.protos.chalk.expression.v1.ColumnRelationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ColumnRelation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ColumnRelation_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ColumnRelation.class, ai.chalk.protos.chalk.expression.v1.ColumnRelation.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.ColumnRelation.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; relation_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ColumnRelation_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ColumnRelation getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.ColumnRelation.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ColumnRelation build() { ai.chalk.protos.chalk.expression.v1.ColumnRelation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ColumnRelation buildPartial() { ai.chalk.protos.chalk.expression.v1.ColumnRelation result = new ai.chalk.protos.chalk.expression.v1.ColumnRelation(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.ColumnRelation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.relation_ = relation_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.ColumnRelation) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.ColumnRelation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.ColumnRelation other) { if (other == ai.chalk.protos.chalk.expression.v1.ColumnRelation.getDefaultInstance()) return this; if (!other.getRelation().isEmpty()) { relation_ = other.relation_; bitField0_ |= 0x00000001; onChanged(); } 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: { relation_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; 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.lang.Object relation_ = ""; /** * <code>string relation = 1 [json_name = "relation"];</code> * @return The relation. */ public java.lang.String getRelation() { java.lang.Object ref = relation_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relation_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string relation = 1 [json_name = "relation"];</code> * @return The bytes for relation. */ public com.google.protobuf.ByteString getRelationBytes() { java.lang.Object ref = relation_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); relation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string relation = 1 [json_name = "relation"];</code> * @param value The relation to set. * @return This builder for chaining. */ public Builder setRelation( java.lang.String value) { if (value == null) { throw new NullPointerException(); } relation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string relation = 1 [json_name = "relation"];</code> * @return This builder for chaining. */ public Builder clearRelation() { relation_ = getDefaultInstance().getRelation(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string relation = 1 [json_name = "relation"];</code> * @param value The bytes for relation to set. * @return This builder for chaining. */ public Builder setRelationBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); relation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.ColumnRelation) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.ColumnRelation) private static final ai.chalk.protos.chalk.expression.v1.ColumnRelation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.ColumnRelation(); } public static ai.chalk.protos.chalk.expression.v1.ColumnRelation getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ColumnRelation> PARSER = new com.google.protobuf.AbstractParser<ColumnRelation>() { @java.lang.Override public ColumnRelation 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<ColumnRelation> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ColumnRelation> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ColumnRelation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ColumnRelationOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface ColumnRelationOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.ColumnRelation) com.google.protobuf.MessageOrBuilder { /** * <code>string relation = 1 [json_name = "relation"];</code> * @return The relation. */ java.lang.String getRelation(); /** * <code>string relation = 1 [json_name = "relation"];</code> * @return The bytes for relation. */ com.google.protobuf.ByteString getRelationBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/CubeNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.CubeNode} */ public final class CubeNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.CubeNode) CubeNodeOrBuilder { private static final long serialVersionUID = 0L; // Use CubeNode.newBuilder() to construct. private CubeNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private CubeNode() { expr_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CubeNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CubeNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CubeNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.CubeNode.class, ai.chalk.protos.chalk.expression.v1.CubeNode.Builder.class); } public static final int EXPR_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> expr_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getExprList() { return expr_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprOrBuilderList() { return expr_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public int getExprCount() { return expr_.size(); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(int index) { return expr_.get(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder( int index) { return expr_.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 < expr_.size(); i++) { output.writeMessage(1, expr_.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 < expr_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, expr_.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 ai.chalk.protos.chalk.expression.v1.CubeNode)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.CubeNode other = (ai.chalk.protos.chalk.expression.v1.CubeNode) obj; if (!getExprList() .equals(other.getExprList())) 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 (getExprCount() > 0) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExprList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.CubeNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.CubeNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CubeNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.CubeNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CubeNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.CubeNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CubeNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.CubeNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CubeNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.CubeNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.CubeNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.CubeNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.CubeNode 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.CubeNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.CubeNode) ai.chalk.protos.chalk.expression.v1.CubeNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CubeNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CubeNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.CubeNode.class, ai.chalk.protos.chalk.expression.v1.CubeNode.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.CubeNode.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (exprBuilder_ == null) { expr_ = java.util.Collections.emptyList(); } else { expr_ = null; exprBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_CubeNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.CubeNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.CubeNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.CubeNode build() { ai.chalk.protos.chalk.expression.v1.CubeNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.CubeNode buildPartial() { ai.chalk.protos.chalk.expression.v1.CubeNode result = new ai.chalk.protos.chalk.expression.v1.CubeNode(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.CubeNode result) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { expr_ = java.util.Collections.unmodifiableList(expr_); bitField0_ = (bitField0_ & ~0x00000001); } result.expr_ = expr_; } else { result.expr_ = exprBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.CubeNode result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.CubeNode) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.CubeNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.CubeNode other) { if (other == ai.chalk.protos.chalk.expression.v1.CubeNode.getDefaultInstance()) return this; if (exprBuilder_ == null) { if (!other.expr_.isEmpty()) { if (expr_.isEmpty()) { expr_ = other.expr_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureExprIsMutable(); expr_.addAll(other.expr_); } onChanged(); } } else { if (!other.expr_.isEmpty()) { if (exprBuilder_.isEmpty()) { exprBuilder_.dispose(); exprBuilder_ = null; expr_ = other.expr_; bitField0_ = (bitField0_ & ~0x00000001); exprBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getExprFieldBuilder() : null; } else { exprBuilder_.addAllMessages(other.expr_); } } } 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: { ai.chalk.protos.chalk.expression.v1.LogicalExprNode m = input.readMessage( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(), extensionRegistry); if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.add(m); } else { exprBuilder_.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<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> expr_ = java.util.Collections.emptyList(); private void ensureExprIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { expr_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(expr_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getExprList() { if (exprBuilder_ == null) { return java.util.Collections.unmodifiableList(expr_); } else { return exprBuilder_.getMessageList(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public int getExprCount() { if (exprBuilder_ == null) { return expr_.size(); } else { return exprBuilder_.getCount(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(int index) { if (exprBuilder_ == null) { return expr_.get(index); } else { return exprBuilder_.getMessage(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExprIsMutable(); expr_.set(index, value); onChanged(); } else { exprBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.set(index, builderForValue.build()); onChanged(); } else { exprBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder addExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExprIsMutable(); expr_.add(value); onChanged(); } else { exprBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder addExpr( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExprIsMutable(); expr_.add(index, value); onChanged(); } else { exprBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder addExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.add(builderForValue.build()); onChanged(); } else { exprBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder addExpr( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.add(index, builderForValue.build()); onChanged(); } else { exprBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder addAllExpr( java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) { if (exprBuilder_ == null) { ensureExprIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, expr_); onChanged(); } else { exprBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { if (exprBuilder_ == null) { expr_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { exprBuilder_.clear(); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder removeExpr(int index) { if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.remove(index); onChanged(); } else { exprBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder( int index) { return getExprFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder( int index) { if (exprBuilder_ == null) { return expr_.get(index); } else { return exprBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprOrBuilderList() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(expr_); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addExprBuilder() { return getExprFieldBuilder().addBuilder( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addExprBuilder( int index) { return getExprFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> getExprBuilderList() { return getExprFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( expr_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.CubeNode) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.CubeNode) private static final ai.chalk.protos.chalk.expression.v1.CubeNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.CubeNode(); } public static ai.chalk.protos.chalk.expression.v1.CubeNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<CubeNode> PARSER = new com.google.protobuf.AbstractParser<CubeNode>() { @java.lang.Override public CubeNode 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<CubeNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<CubeNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.CubeNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/CubeNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface CubeNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.CubeNode) com.google.protobuf.MessageOrBuilder { /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getExprList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(int index); /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ int getExprCount(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprOrBuilderList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder( int index); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ExprCall.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * <pre> * A function call, like `abs(x)` or `arr.indexof(6)` or `a + b`. * * In function calls, like `abs(x)`, the `func` will be an identifier with the * specified name. * * In method calls, like `arr.indexof(6)`, the `func` will be a get-attribute * expression. * * In operator expressions, the `func` will be an identifier with the operator * as its name e.g. `"+"`. * </pre> * * Protobuf type {@code chalk.expression.v1.ExprCall} */ public final class ExprCall extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.ExprCall) ExprCallOrBuilder { private static final long serialVersionUID = 0L; // Use ExprCall.newBuilder() to construct. private ExprCall(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ExprCall() { args_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExprCall(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprCall_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 3: return internalGetKwargs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprCall_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ExprCall.class, ai.chalk.protos.chalk.expression.v1.ExprCall.Builder.class); } private int bitField0_; public static final int FUNC_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode func_; /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> * @return Whether the func field is set. */ @java.lang.Override public boolean hasFunc() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> * @return The func. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getFunc() { return func_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : func_; } /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getFuncOrBuilder() { return func_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : func_; } public static final int ARGS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> args_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getArgsList() { return args_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getArgsOrBuilderList() { return args_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ @java.lang.Override public int getArgsCount() { return args_.size(); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getArgs(int index) { return args_.get(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getArgsOrBuilder( int index) { return args_.get(index); } public static final int KWARGS_FIELD_NUMBER = 3; private static final class KwargsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> defaultEntry = com.google.protobuf.MapEntry .<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode>newDefaultInstance( ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprCall_KwargsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> kwargs_; private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> internalGetKwargs() { if (kwargs_ == null) { return com.google.protobuf.MapField.emptyMapField( KwargsDefaultEntryHolder.defaultEntry); } return kwargs_; } public int getKwargsCount() { return internalGetKwargs().getMap().size(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ @java.lang.Override public boolean containsKwargs( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetKwargs().getMap().containsKey(key); } /** * Use {@link #getKwargsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getKwargs() { return getKwargsMap(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ @java.lang.Override public java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getKwargsMap() { return internalGetKwargs().getMap(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ @java.lang.Override public /* nullable */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKwargsOrDefault( java.lang.String key, /* nullable */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> map = internalGetKwargs().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKwargsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> map = internalGetKwargs().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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, getFunc()); } for (int i = 0; i < args_.size(); i++) { output.writeMessage(2, args_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetKwargs(), KwargsDefaultEntryHolder.defaultEntry, 3); 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, getFunc()); } for (int i = 0; i < args_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, args_.get(i)); } for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> entry : internalGetKwargs().getMap().entrySet()) { com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> kwargs__ = KwargsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, kwargs__); } 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 ai.chalk.protos.chalk.expression.v1.ExprCall)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.ExprCall other = (ai.chalk.protos.chalk.expression.v1.ExprCall) obj; if (hasFunc() != other.hasFunc()) return false; if (hasFunc()) { if (!getFunc() .equals(other.getFunc())) return false; } if (!getArgsList() .equals(other.getArgsList())) return false; if (!internalGetKwargs().equals( other.internalGetKwargs())) 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 (hasFunc()) { hash = (37 * hash) + FUNC_FIELD_NUMBER; hash = (53 * hash) + getFunc().hashCode(); } if (getArgsCount() > 0) { hash = (37 * hash) + ARGS_FIELD_NUMBER; hash = (53 * hash) + getArgsList().hashCode(); } if (!internalGetKwargs().getMap().isEmpty()) { hash = (37 * hash) + KWARGS_FIELD_NUMBER; hash = (53 * hash) + internalGetKwargs().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.ExprCall parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ExprCall parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprCall parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ExprCall parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprCall parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ExprCall parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprCall parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ExprCall parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprCall parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ExprCall parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprCall parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ExprCall parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.ExprCall 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * <pre> * A function call, like `abs(x)` or `arr.indexof(6)` or `a + b`. * * In function calls, like `abs(x)`, the `func` will be an identifier with the * specified name. * * In method calls, like `arr.indexof(6)`, the `func` will be a get-attribute * expression. * * In operator expressions, the `func` will be an identifier with the operator * as its name e.g. `"+"`. * </pre> * * Protobuf type {@code chalk.expression.v1.ExprCall} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.ExprCall) ai.chalk.protos.chalk.expression.v1.ExprCallOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprCall_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 3: return internalGetKwargs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { switch (number) { case 3: return internalGetMutableKwargs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprCall_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ExprCall.class, ai.chalk.protos.chalk.expression.v1.ExprCall.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.ExprCall.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFuncFieldBuilder(); getArgsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; func_ = null; if (funcBuilder_ != null) { funcBuilder_.dispose(); funcBuilder_ = null; } if (argsBuilder_ == null) { args_ = java.util.Collections.emptyList(); } else { args_ = null; argsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableKwargs().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprCall_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprCall getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.ExprCall.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprCall build() { ai.chalk.protos.chalk.expression.v1.ExprCall result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprCall buildPartial() { ai.chalk.protos.chalk.expression.v1.ExprCall result = new ai.chalk.protos.chalk.expression.v1.ExprCall(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.ExprCall result) { if (argsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { args_ = java.util.Collections.unmodifiableList(args_); bitField0_ = (bitField0_ & ~0x00000002); } result.args_ = args_; } else { result.args_ = argsBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.ExprCall result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.func_ = funcBuilder_ == null ? func_ : funcBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.kwargs_ = internalGetKwargs().build(KwargsDefaultEntryHolder.defaultEntry); } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.ExprCall) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.ExprCall)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.ExprCall other) { if (other == ai.chalk.protos.chalk.expression.v1.ExprCall.getDefaultInstance()) return this; if (other.hasFunc()) { mergeFunc(other.getFunc()); } if (argsBuilder_ == null) { if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureArgsIsMutable(); args_.addAll(other.args_); } onChanged(); } } else { if (!other.args_.isEmpty()) { if (argsBuilder_.isEmpty()) { argsBuilder_.dispose(); argsBuilder_ = null; args_ = other.args_; bitField0_ = (bitField0_ & ~0x00000002); argsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getArgsFieldBuilder() : null; } else { argsBuilder_.addAllMessages(other.args_); } } } internalGetMutableKwargs().mergeFrom( other.internalGetKwargs()); bitField0_ |= 0x00000004; 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( getFuncFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { ai.chalk.protos.chalk.expression.v1.LogicalExprNode m = input.readMessage( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(), extensionRegistry); if (argsBuilder_ == null) { ensureArgsIsMutable(); args_.add(m); } else { argsBuilder_.addMessage(m); } break; } // case 18 case 26: { com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> kwargs__ = input.readMessage( KwargsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableKwargs().ensureBuilderMap().put( kwargs__.getKey(), kwargs__.getValue()); bitField0_ |= 0x00000004; break; } // case 26 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode func_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> funcBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> * @return Whether the func field is set. */ public boolean hasFunc() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> * @return The func. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getFunc() { if (funcBuilder_ == null) { return func_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : func_; } else { return funcBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> */ public Builder setFunc(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (funcBuilder_ == null) { if (value == null) { throw new NullPointerException(); } func_ = value; } else { funcBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> */ public Builder setFunc( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (funcBuilder_ == null) { func_ = builderForValue.build(); } else { funcBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> */ public Builder mergeFunc(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (funcBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && func_ != null && func_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getFuncBuilder().mergeFrom(value); } else { func_ = value; } } else { funcBuilder_.mergeFrom(value); } if (func_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> */ public Builder clearFunc() { bitField0_ = (bitField0_ & ~0x00000001); func_ = null; if (funcBuilder_ != null) { funcBuilder_.dispose(); funcBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getFuncBuilder() { bitField0_ |= 0x00000001; onChanged(); return getFuncFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getFuncOrBuilder() { if (funcBuilder_ != null) { return funcBuilder_.getMessageOrBuilder(); } else { return func_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : func_; } } /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getFuncFieldBuilder() { if (funcBuilder_ == null) { funcBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getFunc(), getParentForChildren(), isClean()); func_ = null; } return funcBuilder_; } private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> args_ = java.util.Collections.emptyList(); private void ensureArgsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { args_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(args_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> argsBuilder_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getArgsList() { if (argsBuilder_ == null) { return java.util.Collections.unmodifiableList(args_); } else { return argsBuilder_.getMessageList(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public int getArgsCount() { if (argsBuilder_ == null) { return args_.size(); } else { return argsBuilder_.getCount(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getArgs(int index) { if (argsBuilder_ == null) { return args_.get(index); } else { return argsBuilder_.getMessage(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder setArgs( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (argsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgsIsMutable(); args_.set(index, value); onChanged(); } else { argsBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder setArgs( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (argsBuilder_ == null) { ensureArgsIsMutable(); args_.set(index, builderForValue.build()); onChanged(); } else { argsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder addArgs(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (argsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgsIsMutable(); args_.add(value); onChanged(); } else { argsBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder addArgs( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (argsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgsIsMutable(); args_.add(index, value); onChanged(); } else { argsBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder addArgs( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (argsBuilder_ == null) { ensureArgsIsMutable(); args_.add(builderForValue.build()); onChanged(); } else { argsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder addArgs( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (argsBuilder_ == null) { ensureArgsIsMutable(); args_.add(index, builderForValue.build()); onChanged(); } else { argsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder addAllArgs( java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) { if (argsBuilder_ == null) { ensureArgsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, args_); onChanged(); } else { argsBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder clearArgs() { if (argsBuilder_ == null) { args_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { argsBuilder_.clear(); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public Builder removeArgs(int index) { if (argsBuilder_ == null) { ensureArgsIsMutable(); args_.remove(index); onChanged(); } else { argsBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getArgsBuilder( int index) { return getArgsFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getArgsOrBuilder( int index) { if (argsBuilder_ == null) { return args_.get(index); } else { return argsBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getArgsOrBuilderList() { if (argsBuilder_ != null) { return argsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(args_); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addArgsBuilder() { return getArgsFieldBuilder().addBuilder( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addArgsBuilder( int index) { return getArgsFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> getArgsBuilderList() { return getArgsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getArgsFieldBuilder() { if (argsBuilder_ == null) { argsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( args_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); args_ = null; } return argsBuilder_; } private static final class KwargsConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> { @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode build(ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder val) { if (val instanceof ai.chalk.protos.chalk.expression.v1.LogicalExprNode) { return (ai.chalk.protos.chalk.expression.v1.LogicalExprNode) val; } return ((ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder) val).build(); } @java.lang.Override public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> defaultEntry() { return KwargsDefaultEntryHolder.defaultEntry; } }; private static final KwargsConverter kwargsConverter = new KwargsConverter(); private com.google.protobuf.MapFieldBuilder< java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder, ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> kwargs_; private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder, ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> internalGetKwargs() { if (kwargs_ == null) { return new com.google.protobuf.MapFieldBuilder<>(kwargsConverter); } return kwargs_; } private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder, ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> internalGetMutableKwargs() { if (kwargs_ == null) { kwargs_ = new com.google.protobuf.MapFieldBuilder<>(kwargsConverter); } bitField0_ |= 0x00000004; onChanged(); return kwargs_; } public int getKwargsCount() { return internalGetKwargs().ensureBuilderMap().size(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ @java.lang.Override public boolean containsKwargs( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetKwargs().ensureBuilderMap().containsKey(key); } /** * Use {@link #getKwargsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getKwargs() { return getKwargsMap(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ @java.lang.Override public java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getKwargsMap() { return internalGetKwargs().getImmutableMap(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ @java.lang.Override public /* nullable */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKwargsOrDefault( java.lang.String key, /* nullable */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> map = internalGetMutableKwargs().ensureBuilderMap(); return map.containsKey(key) ? kwargsConverter.build(map.get(key)) : defaultValue; } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKwargsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> map = internalGetMutableKwargs().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return kwargsConverter.build(map.get(key)); } public Builder clearKwargs() { bitField0_ = (bitField0_ & ~0x00000004); internalGetMutableKwargs().clear(); return this; } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ public Builder removeKwargs( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableKwargs().ensureBuilderMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getMutableKwargs() { bitField0_ |= 0x00000004; return internalGetMutableKwargs().ensureMessageMap(); } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ public Builder putKwargs( java.lang.String key, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableKwargs().ensureBuilderMap() .put(key, value); bitField0_ |= 0x00000004; return this; } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ public Builder putAllKwargs( java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) { for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> e : values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } internalGetMutableKwargs().ensureBuilderMap() .putAll(values); bitField0_ |= 0x00000004; return this; } /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder putKwargsBuilderIfAbsent( java.lang.String key) { java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> builderMap = internalGetMutableKwargs().ensureBuilderMap(); ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder entry = builderMap.get(key); if (entry == null) { entry = ai.chalk.protos.chalk.expression.v1.LogicalExprNode.newBuilder(); builderMap.put(key, entry); } if (entry instanceof ai.chalk.protos.chalk.expression.v1.LogicalExprNode) { entry = ((ai.chalk.protos.chalk.expression.v1.LogicalExprNode) entry).toBuilder(); builderMap.put(key, entry); } return (ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder) entry; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.ExprCall) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.ExprCall) private static final ai.chalk.protos.chalk.expression.v1.ExprCall DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.ExprCall(); } public static ai.chalk.protos.chalk.expression.v1.ExprCall getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ExprCall> PARSER = new com.google.protobuf.AbstractParser<ExprCall>() { @java.lang.Override public ExprCall 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<ExprCall> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ExprCall> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprCall getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ExprCallOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface ExprCallOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.ExprCall) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> * @return Whether the func field is set. */ boolean hasFunc(); /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> * @return The func. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getFunc(); /** * <code>.chalk.expression.v1.LogicalExprNode func = 1 [json_name = "func"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getFuncOrBuilder(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getArgsList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getArgs(int index); /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ int getArgsCount(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getArgsOrBuilderList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode args = 2 [json_name = "args"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getArgsOrBuilder( int index); /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ int getKwargsCount(); /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ boolean containsKwargs( java.lang.String key); /** * Use {@link #getKwargsMap()} instead. */ @java.lang.Deprecated java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getKwargs(); /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ java.util.Map<java.lang.String, ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getKwargsMap(); /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ /* nullable */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKwargsOrDefault( java.lang.String key, /* nullable */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode defaultValue); /** * <code>map&lt;string, .chalk.expression.v1.LogicalExprNode&gt; kwargs = 3 [json_name = "kwargs"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKwargsOrThrow( java.lang.String key); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ExprGetAttribute.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * <pre> * A field-access expression, like `arr.length`. * </pre> * * Protobuf type {@code chalk.expression.v1.ExprGetAttribute} */ public final class ExprGetAttribute extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.ExprGetAttribute) ExprGetAttributeOrBuilder { private static final long serialVersionUID = 0L; // Use ExprGetAttribute.newBuilder() to construct. private ExprGetAttribute(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ExprGetAttribute() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExprGetAttribute(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprGetAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprGetAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.class, ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode parent_; /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> * @return Whether the parent field is set. */ @java.lang.Override public boolean hasParent() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> * @return The parent. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getParent() { return parent_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : parent_; } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getParentOrBuilder() { return parent_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : parent_; } public static final int ATTRIBUTE_FIELD_NUMBER = 2; private ai.chalk.protos.chalk.expression.v1.Identifier attribute_; /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> * @return Whether the attribute field is set. */ @java.lang.Override public boolean hasAttribute() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> * @return The attribute. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.Identifier getAttribute() { return attribute_ == null ? ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance() : attribute_; } /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder getAttributeOrBuilder() { return attribute_ == null ? ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance() : attribute_; } 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, getParent()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getAttribute()); } 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, getParent()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAttribute()); } 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 ai.chalk.protos.chalk.expression.v1.ExprGetAttribute)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.ExprGetAttribute other = (ai.chalk.protos.chalk.expression.v1.ExprGetAttribute) obj; if (hasParent() != other.hasParent()) return false; if (hasParent()) { if (!getParent() .equals(other.getParent())) return false; } if (hasAttribute() != other.hasAttribute()) return false; if (hasAttribute()) { if (!getAttribute() .equals(other.getAttribute())) 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 (hasParent()) { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); } if (hasAttribute()) { hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER; hash = (53 * hash) + getAttribute().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.ExprGetAttribute 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * <pre> * A field-access expression, like `arr.length`. * </pre> * * Protobuf type {@code chalk.expression.v1.ExprGetAttribute} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.ExprGetAttribute) ai.chalk.protos.chalk.expression.v1.ExprGetAttributeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprGetAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprGetAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.class, ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getParentFieldBuilder(); getAttributeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; parent_ = null; if (parentBuilder_ != null) { parentBuilder_.dispose(); parentBuilder_ = null; } attribute_ = null; if (attributeBuilder_ != null) { attributeBuilder_.dispose(); attributeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprGetAttribute_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprGetAttribute getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprGetAttribute build() { ai.chalk.protos.chalk.expression.v1.ExprGetAttribute result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprGetAttribute buildPartial() { ai.chalk.protos.chalk.expression.v1.ExprGetAttribute result = new ai.chalk.protos.chalk.expression.v1.ExprGetAttribute(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.ExprGetAttribute result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parentBuilder_ == null ? parent_ : parentBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.attribute_ = attributeBuilder_ == null ? attribute_ : attributeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.ExprGetAttribute) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.ExprGetAttribute)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.ExprGetAttribute other) { if (other == ai.chalk.protos.chalk.expression.v1.ExprGetAttribute.getDefaultInstance()) return this; if (other.hasParent()) { mergeParent(other.getParent()); } if (other.hasAttribute()) { mergeAttribute(other.getAttribute()); } 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( getParentFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getAttributeFieldBuilder().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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode parent_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> parentBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> * @return Whether the parent field is set. */ public boolean hasParent() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> * @return The parent. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getParent() { if (parentBuilder_ == null) { return parent_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : parent_; } else { return parentBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ public Builder setParent(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (parentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } parent_ = value; } else { parentBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ public Builder setParent( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (parentBuilder_ == null) { parent_ = builderForValue.build(); } else { parentBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ public Builder mergeParent(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (parentBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && parent_ != null && parent_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getParentBuilder().mergeFrom(value); } else { parent_ = value; } } else { parentBuilder_.mergeFrom(value); } if (parent_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ public Builder clearParent() { bitField0_ = (bitField0_ & ~0x00000001); parent_ = null; if (parentBuilder_ != null) { parentBuilder_.dispose(); parentBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getParentBuilder() { bitField0_ |= 0x00000001; onChanged(); return getParentFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getParentOrBuilder() { if (parentBuilder_ != null) { return parentBuilder_.getMessageOrBuilder(); } else { return parent_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : parent_; } } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getParentFieldBuilder() { if (parentBuilder_ == null) { parentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getParent(), getParentForChildren(), isClean()); parent_ = null; } return parentBuilder_; } private ai.chalk.protos.chalk.expression.v1.Identifier attribute_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.Identifier, ai.chalk.protos.chalk.expression.v1.Identifier.Builder, ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder> attributeBuilder_; /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> * @return Whether the attribute field is set. */ public boolean hasAttribute() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> * @return The attribute. */ public ai.chalk.protos.chalk.expression.v1.Identifier getAttribute() { if (attributeBuilder_ == null) { return attribute_ == null ? ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance() : attribute_; } else { return attributeBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> */ public Builder setAttribute(ai.chalk.protos.chalk.expression.v1.Identifier value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attribute_ = value; } else { attributeBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> */ public Builder setAttribute( ai.chalk.protos.chalk.expression.v1.Identifier.Builder builderForValue) { if (attributeBuilder_ == null) { attribute_ = builderForValue.build(); } else { attributeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> */ public Builder mergeAttribute(ai.chalk.protos.chalk.expression.v1.Identifier value) { if (attributeBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && attribute_ != null && attribute_ != ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance()) { getAttributeBuilder().mergeFrom(value); } else { attribute_ = value; } } else { attributeBuilder_.mergeFrom(value); } if (attribute_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> */ public Builder clearAttribute() { bitField0_ = (bitField0_ & ~0x00000002); attribute_ = null; if (attributeBuilder_ != null) { attributeBuilder_.dispose(); attributeBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> */ public ai.chalk.protos.chalk.expression.v1.Identifier.Builder getAttributeBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAttributeFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> */ public ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder getAttributeOrBuilder() { if (attributeBuilder_ != null) { return attributeBuilder_.getMessageOrBuilder(); } else { return attribute_ == null ? ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance() : attribute_; } } /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.Identifier, ai.chalk.protos.chalk.expression.v1.Identifier.Builder, ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder> getAttributeFieldBuilder() { if (attributeBuilder_ == null) { attributeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.Identifier, ai.chalk.protos.chalk.expression.v1.Identifier.Builder, ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder>( getAttribute(), getParentForChildren(), isClean()); attribute_ = null; } return attributeBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.ExprGetAttribute) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.ExprGetAttribute) private static final ai.chalk.protos.chalk.expression.v1.ExprGetAttribute DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.ExprGetAttribute(); } public static ai.chalk.protos.chalk.expression.v1.ExprGetAttribute getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ExprGetAttribute> PARSER = new com.google.protobuf.AbstractParser<ExprGetAttribute>() { @java.lang.Override public ExprGetAttribute 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<ExprGetAttribute> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ExprGetAttribute> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprGetAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ExprGetAttributeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface ExprGetAttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.ExprGetAttribute) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> * @return Whether the parent field is set. */ boolean hasParent(); /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> * @return The parent. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getParent(); /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getParentOrBuilder(); /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> * @return Whether the attribute field is set. */ boolean hasAttribute(); /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> * @return The attribute. */ ai.chalk.protos.chalk.expression.v1.Identifier getAttribute(); /** * <code>.chalk.expression.v1.Identifier attribute = 2 [json_name = "attribute"];</code> */ ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder getAttributeOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ExprGetSubscript.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * <pre> * A key-lookup expression, like `hash[name]` or `matrix[r, c]`. * </pre> * * Protobuf type {@code chalk.expression.v1.ExprGetSubscript} */ public final class ExprGetSubscript extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.ExprGetSubscript) ExprGetSubscriptOrBuilder { private static final long serialVersionUID = 0L; // Use ExprGetSubscript.newBuilder() to construct. private ExprGetSubscript(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ExprGetSubscript() { subscript_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExprGetSubscript(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprGetSubscript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprGetSubscript_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.class, ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode parent_; /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> * @return Whether the parent field is set. */ @java.lang.Override public boolean hasParent() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> * @return The parent. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getParent() { return parent_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : parent_; } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getParentOrBuilder() { return parent_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : parent_; } public static final int SUBSCRIPT_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> subscript_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getSubscriptList() { return subscript_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getSubscriptOrBuilderList() { return subscript_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ @java.lang.Override public int getSubscriptCount() { return subscript_.size(); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getSubscript(int index) { return subscript_.get(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getSubscriptOrBuilder( int index) { return subscript_.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 { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getParent()); } for (int i = 0; i < subscript_.size(); i++) { output.writeMessage(2, subscript_.get(i)); } 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, getParent()); } for (int i = 0; i < subscript_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, subscript_.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 ai.chalk.protos.chalk.expression.v1.ExprGetSubscript)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.ExprGetSubscript other = (ai.chalk.protos.chalk.expression.v1.ExprGetSubscript) obj; if (hasParent() != other.hasParent()) return false; if (hasParent()) { if (!getParent() .equals(other.getParent())) return false; } if (!getSubscriptList() .equals(other.getSubscriptList())) 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 (hasParent()) { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); } if (getSubscriptCount() > 0) { hash = (37 * hash) + SUBSCRIPT_FIELD_NUMBER; hash = (53 * hash) + getSubscriptList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.ExprGetSubscript 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * <pre> * A key-lookup expression, like `hash[name]` or `matrix[r, c]`. * </pre> * * Protobuf type {@code chalk.expression.v1.ExprGetSubscript} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.ExprGetSubscript) ai.chalk.protos.chalk.expression.v1.ExprGetSubscriptOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprGetSubscript_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprGetSubscript_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.class, ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getParentFieldBuilder(); getSubscriptFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; parent_ = null; if (parentBuilder_ != null) { parentBuilder_.dispose(); parentBuilder_ = null; } if (subscriptBuilder_ == null) { subscript_ = java.util.Collections.emptyList(); } else { subscript_ = null; subscriptBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprGetSubscript_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprGetSubscript getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprGetSubscript build() { ai.chalk.protos.chalk.expression.v1.ExprGetSubscript result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprGetSubscript buildPartial() { ai.chalk.protos.chalk.expression.v1.ExprGetSubscript result = new ai.chalk.protos.chalk.expression.v1.ExprGetSubscript(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.ExprGetSubscript result) { if (subscriptBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { subscript_ = java.util.Collections.unmodifiableList(subscript_); bitField0_ = (bitField0_ & ~0x00000002); } result.subscript_ = subscript_; } else { result.subscript_ = subscriptBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.ExprGetSubscript result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parentBuilder_ == null ? parent_ : parentBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.ExprGetSubscript) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.ExprGetSubscript)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.ExprGetSubscript other) { if (other == ai.chalk.protos.chalk.expression.v1.ExprGetSubscript.getDefaultInstance()) return this; if (other.hasParent()) { mergeParent(other.getParent()); } if (subscriptBuilder_ == null) { if (!other.subscript_.isEmpty()) { if (subscript_.isEmpty()) { subscript_ = other.subscript_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSubscriptIsMutable(); subscript_.addAll(other.subscript_); } onChanged(); } } else { if (!other.subscript_.isEmpty()) { if (subscriptBuilder_.isEmpty()) { subscriptBuilder_.dispose(); subscriptBuilder_ = null; subscript_ = other.subscript_; bitField0_ = (bitField0_ & ~0x00000002); subscriptBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSubscriptFieldBuilder() : null; } else { subscriptBuilder_.addAllMessages(other.subscript_); } } } 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( getParentFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { ai.chalk.protos.chalk.expression.v1.LogicalExprNode m = input.readMessage( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(), extensionRegistry); if (subscriptBuilder_ == null) { ensureSubscriptIsMutable(); subscript_.add(m); } else { subscriptBuilder_.addMessage(m); } 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode parent_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> parentBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> * @return Whether the parent field is set. */ public boolean hasParent() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> * @return The parent. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getParent() { if (parentBuilder_ == null) { return parent_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : parent_; } else { return parentBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ public Builder setParent(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (parentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } parent_ = value; } else { parentBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ public Builder setParent( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (parentBuilder_ == null) { parent_ = builderForValue.build(); } else { parentBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ public Builder mergeParent(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (parentBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && parent_ != null && parent_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getParentBuilder().mergeFrom(value); } else { parent_ = value; } } else { parentBuilder_.mergeFrom(value); } if (parent_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ public Builder clearParent() { bitField0_ = (bitField0_ & ~0x00000001); parent_ = null; if (parentBuilder_ != null) { parentBuilder_.dispose(); parentBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getParentBuilder() { bitField0_ |= 0x00000001; onChanged(); return getParentFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getParentOrBuilder() { if (parentBuilder_ != null) { return parentBuilder_.getMessageOrBuilder(); } else { return parent_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : parent_; } } /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getParentFieldBuilder() { if (parentBuilder_ == null) { parentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getParent(), getParentForChildren(), isClean()); parent_ = null; } return parentBuilder_; } private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> subscript_ = java.util.Collections.emptyList(); private void ensureSubscriptIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { subscript_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(subscript_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> subscriptBuilder_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getSubscriptList() { if (subscriptBuilder_ == null) { return java.util.Collections.unmodifiableList(subscript_); } else { return subscriptBuilder_.getMessageList(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public int getSubscriptCount() { if (subscriptBuilder_ == null) { return subscript_.size(); } else { return subscriptBuilder_.getCount(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getSubscript(int index) { if (subscriptBuilder_ == null) { return subscript_.get(index); } else { return subscriptBuilder_.getMessage(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public Builder setSubscript( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (subscriptBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubscriptIsMutable(); subscript_.set(index, value); onChanged(); } else { subscriptBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public Builder setSubscript( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (subscriptBuilder_ == null) { ensureSubscriptIsMutable(); subscript_.set(index, builderForValue.build()); onChanged(); } else { subscriptBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public Builder addSubscript(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (subscriptBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubscriptIsMutable(); subscript_.add(value); onChanged(); } else { subscriptBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public Builder addSubscript( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (subscriptBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubscriptIsMutable(); subscript_.add(index, value); onChanged(); } else { subscriptBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public Builder addSubscript( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (subscriptBuilder_ == null) { ensureSubscriptIsMutable(); subscript_.add(builderForValue.build()); onChanged(); } else { subscriptBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public Builder addSubscript( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (subscriptBuilder_ == null) { ensureSubscriptIsMutable(); subscript_.add(index, builderForValue.build()); onChanged(); } else { subscriptBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public Builder addAllSubscript( java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) { if (subscriptBuilder_ == null) { ensureSubscriptIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, subscript_); onChanged(); } else { subscriptBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public Builder clearSubscript() { if (subscriptBuilder_ == null) { subscript_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { subscriptBuilder_.clear(); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public Builder removeSubscript(int index) { if (subscriptBuilder_ == null) { ensureSubscriptIsMutable(); subscript_.remove(index); onChanged(); } else { subscriptBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getSubscriptBuilder( int index) { return getSubscriptFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getSubscriptOrBuilder( int index) { if (subscriptBuilder_ == null) { return subscript_.get(index); } else { return subscriptBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getSubscriptOrBuilderList() { if (subscriptBuilder_ != null) { return subscriptBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(subscript_); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addSubscriptBuilder() { return getSubscriptFieldBuilder().addBuilder( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addSubscriptBuilder( int index) { return getSubscriptFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> getSubscriptBuilderList() { return getSubscriptFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getSubscriptFieldBuilder() { if (subscriptBuilder_ == null) { subscriptBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( subscript_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); subscript_ = null; } return subscriptBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.ExprGetSubscript) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.ExprGetSubscript) private static final ai.chalk.protos.chalk.expression.v1.ExprGetSubscript DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.ExprGetSubscript(); } public static ai.chalk.protos.chalk.expression.v1.ExprGetSubscript getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ExprGetSubscript> PARSER = new com.google.protobuf.AbstractParser<ExprGetSubscript>() { @java.lang.Override public ExprGetSubscript 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<ExprGetSubscript> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ExprGetSubscript> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprGetSubscript getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ExprGetSubscriptOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface ExprGetSubscriptOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.ExprGetSubscript) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> * @return Whether the parent field is set. */ boolean hasParent(); /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> * @return The parent. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getParent(); /** * <code>.chalk.expression.v1.LogicalExprNode parent = 1 [json_name = "parent"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getParentOrBuilder(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getSubscriptList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getSubscript(int index); /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ int getSubscriptCount(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getSubscriptOrBuilderList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode subscript = 2 [json_name = "subscript"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getSubscriptOrBuilder( int index); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ExprLiteral.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * <pre> * A literal expression. * </pre> * * Protobuf type {@code chalk.expression.v1.ExprLiteral} */ public final class ExprLiteral extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.ExprLiteral) ExprLiteralOrBuilder { private static final long serialVersionUID = 0L; // Use ExprLiteral.newBuilder() to construct. private ExprLiteral(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ExprLiteral() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExprLiteral(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprLiteral_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprLiteral_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ExprLiteral.class, ai.chalk.protos.chalk.expression.v1.ExprLiteral.Builder.class); } private int bitField0_; public static final int VALUE_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.arrow.v1.ScalarValue value_; /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> * @return The value. */ @java.lang.Override public ai.chalk.protos.chalk.arrow.v1.ScalarValue getValue() { return value_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : value_; } /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getValueOrBuilder() { return value_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.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, 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, 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 ai.chalk.protos.chalk.expression.v1.ExprLiteral)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.ExprLiteral other = (ai.chalk.protos.chalk.expression.v1.ExprLiteral) obj; 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 (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.ExprLiteral 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * <pre> * A literal expression. * </pre> * * Protobuf type {@code chalk.expression.v1.ExprLiteral} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.ExprLiteral) ai.chalk.protos.chalk.expression.v1.ExprLiteralOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprLiteral_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprLiteral_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ExprLiteral.class, ai.chalk.protos.chalk.expression.v1.ExprLiteral.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.ExprLiteral.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValueFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; value_ = null; if (valueBuilder_ != null) { valueBuilder_.dispose(); valueBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ExprLiteral_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprLiteral getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.ExprLiteral.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprLiteral build() { ai.chalk.protos.chalk.expression.v1.ExprLiteral result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprLiteral buildPartial() { ai.chalk.protos.chalk.expression.v1.ExprLiteral result = new ai.chalk.protos.chalk.expression.v1.ExprLiteral(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.ExprLiteral result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.ExprLiteral) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.ExprLiteral)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.ExprLiteral other) { if (other == ai.chalk.protos.chalk.expression.v1.ExprLiteral.getDefaultInstance()) return this; 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( getValueFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; 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 ai.chalk.protos.chalk.arrow.v1.ScalarValue value_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> valueBuilder_; /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> * @return The value. */ public ai.chalk.protos.chalk.arrow.v1.ScalarValue getValue() { if (valueBuilder_ == null) { return value_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> */ public Builder setValue(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; } else { valueBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> */ public Builder setValue( ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); } else { valueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> */ public Builder mergeValue(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) { if (valueBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && value_ != null && value_ != ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; } } else { valueBuilder_.mergeFrom(value); } if (value_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000001); value_ = null; if (valueBuilder_ != null) { valueBuilder_.dispose(); valueBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> */ public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder getValueBuilder() { bitField0_ |= 0x00000001; onChanged(); return getValueFieldBuilder().getBuilder(); } /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> */ public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_ == null ? ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance() : value_; } } /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder>( getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.ExprLiteral) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.ExprLiteral) private static final ai.chalk.protos.chalk.expression.v1.ExprLiteral DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.ExprLiteral(); } public static ai.chalk.protos.chalk.expression.v1.ExprLiteral getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ExprLiteral> PARSER = new com.google.protobuf.AbstractParser<ExprLiteral>() { @java.lang.Override public ExprLiteral 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<ExprLiteral> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ExprLiteral> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ExprLiteral getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ExprLiteralOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface ExprLiteralOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.ExprLiteral) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> * @return Whether the value field is set. */ boolean hasValue(); /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> * @return The value. */ ai.chalk.protos.chalk.arrow.v1.ScalarValue getValue(); /** * <code>.chalk.arrow.v1.ScalarValue value = 1 [json_name = "value"];</code> */ ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getValueOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ExpressionProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public final class ExpressionProto { private ExpressionProto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_Identifier_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_Identifier_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_ExprGetAttribute_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_ExprGetAttribute_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_ExprGetSubscript_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_ExprGetSubscript_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_ExprCall_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_ExprCall_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_ExprCall_KwargsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_ExprCall_KwargsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_ExprLiteral_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_ExprLiteral_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_LogicalExprNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_LogicalExprNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_ColumnRelation_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_ColumnRelation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_Column_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_Column_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_Wildcard_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_Wildcard_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_PlaceholderNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_PlaceholderNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_LogicalExprList_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_LogicalExprList_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_GroupingSetNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_GroupingSetNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_CubeNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_CubeNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_RollupNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_RollupNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_NamedStructField_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_NamedStructField_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_ListIndex_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_ListIndex_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_ListRange_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_ListRange_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_GetIndexedField_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_GetIndexedField_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_IsNull_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_IsNull_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_IsNotNull_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_IsNotNull_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_IsTrue_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_IsTrue_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_IsFalse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_IsFalse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_IsUnknown_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_IsUnknown_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_IsNotTrue_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_IsNotTrue_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_IsNotFalse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_IsNotFalse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_IsNotUnknown_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_IsNotUnknown_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_Not_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_Not_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_AliasNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_AliasNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_BareTableReference_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_BareTableReference_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_PartialTableReference_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_PartialTableReference_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_FullTableReference_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_FullTableReference_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_OwnedTableReference_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_OwnedTableReference_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_BinaryExprNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_BinaryExprNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_NegativeNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_NegativeNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_InListNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_InListNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_ScalarFunctionNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_ScalarFunctionNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_AggregateExprNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_AggregateExprNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_AggregateUDFExprNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_AggregateUDFExprNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_AggregateUDFExprNode_KwargsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_AggregateUDFExprNode_KwargsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_ScalarUDFExprNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_ScalarUDFExprNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_WindowExprNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_WindowExprNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_BetweenNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_BetweenNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_LikeNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_LikeNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_ILikeNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_ILikeNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_SimilarToNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_SimilarToNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_CaseNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_CaseNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_WhenThen_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_WhenThen_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_CastNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_CastNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_TryCastNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_TryCastNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_SortExprNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_SortExprNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_WindowFrame_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_WindowFrame_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_expression_v1_WindowFrameBound_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_expression_v1_WindowFrameBound_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n$chalk/expression/v1/expression.proto\022\023" + "chalk.expression.v1\032\032chalk/arrow/v1/arro" + "w.proto\" \n\nIdentifier\022\022\n\004name\030\001 \001(\tR\004nam" + "e\"\217\001\n\020ExprGetAttribute\022<\n\006parent\030\001 \001(\0132$" + ".chalk.expression.v1.LogicalExprNodeR\006pa" + "rent\022=\n\tattribute\030\002 \001(\0132\037.chalk.expressi" + "on.v1.IdentifierR\tattribute\"\224\001\n\020ExprGetS" + "ubscript\022<\n\006parent\030\001 \001(\0132$.chalk.express" + "ion.v1.LogicalExprNodeR\006parent\022B\n\tsubscr" + "ipt\030\002 \003(\0132$.chalk.expression.v1.LogicalE" + "xprNodeR\tsubscript\"\242\002\n\010ExprCall\0228\n\004func\030" + "\001 \001(\0132$.chalk.expression.v1.LogicalExprN" + "odeR\004func\0228\n\004args\030\002 \003(\0132$.chalk.expressi" + "on.v1.LogicalExprNodeR\004args\022A\n\006kwargs\030\003 " + "\003(\0132).chalk.expression.v1.ExprCall.Kwarg" + "sEntryR\006kwargs\032_\n\013KwargsEntry\022\020\n\003key\030\001 \001" + "(\tR\003key\022:\n\005value\030\002 \001(\0132$.chalk.expressio" + "n.v1.LogicalExprNodeR\005value:\0028\001\"@\n\013ExprL" + "iteral\0221\n\005value\030\001 \001(\0132\033.chalk.arrow.v1.S" + "calarValueR\005value\"\310\025\n\017LogicalExprNode\022A\n" + "\nidentifier\030# \001(\0132\037.chalk.expression.v1." + "IdentifierH\000R\nidentifier\022L\n\rget_attribut" + "e\030$ \001(\0132%.chalk.expression.v1.ExprGetAtt" + "ributeH\000R\014getAttribute\022L\n\rget_subscript\030" + "% \001(\0132%.chalk.expression.v1.ExprGetSubsc" + "riptH\000R\014getSubscript\0223\n\004call\030& \001(\0132\035.cha" + "lk.expression.v1.ExprCallH\000R\004call\022G\n\rlit" + "eral_value\030\' \001(\0132 .chalk.expression.v1.E" + "xprLiteralH\000R\014literalValue\0229\n\006column\030\001 \001" + "(\0132\033.chalk.expression.v1.ColumnB\002\030\001H\001R\006c" + "olumn\022:\n\005alias\030\002 \001(\0132\036.chalk.expression." + "v1.AliasNodeB\002\030\001H\001R\005alias\022;\n\007literal\030\003 \001" + "(\0132\033.chalk.arrow.v1.ScalarValueB\002\030\001H\001R\007l" + "iteral\022J\n\013binary_expr\030\004 \001(\0132#.chalk.expr" + "ession.v1.BinaryExprNodeB\002\030\001H\001R\nbinaryEx" + "pr\022S\n\016aggregate_expr\030\005 \001(\0132&.chalk.expre" + "ssion.v1.AggregateExprNodeB\002\030\001H\001R\raggreg" + "ateExpr\022C\n\014is_null_expr\030\006 \001(\0132\033.chalk.ex" + "pression.v1.IsNullB\002\030\001H\001R\nisNullExpr\022M\n\020" + "is_not_null_expr\030\007 \001(\0132\036.chalk.expressio" + "n.v1.IsNotNullB\002\030\001H\001R\risNotNullExpr\0229\n\010n" + "ot_expr\030\010 \001(\0132\030.chalk.expression.v1.NotB" + "\002\030\001H\001R\007notExpr\022@\n\007between\030\t \001(\0132 .chalk." + "expression.v1.BetweenNodeB\002\030\001H\001R\007between" + "\0227\n\004case\030\n \001(\0132\035.chalk.expression.v1.Cas" + "eNodeB\002\030\001H\001R\004case\0227\n\004cast\030\013 \001(\0132\035.chalk." + "expression.v1.CastNodeB\002\030\001H\001R\004cast\022;\n\004so" + "rt\030\014 \001(\0132!.chalk.expression.v1.SortExprN" + "odeB\002\030\001H\001R\004sort\022C\n\010negative\030\r \001(\0132!.chal" + "k.expression.v1.NegativeNodeB\002\030\001H\001R\010nega" + "tive\022>\n\007in_list\030\016 \001(\0132\037.chalk.expression" + ".v1.InListNodeB\002\030\001H\001R\006inList\022?\n\010wildcard" + "\030\017 \001(\0132\035.chalk.expression.v1.WildcardB\002\030" + "\001H\001R\010wildcard\022V\n\017scalar_function\030\020 \001(\0132\'" + ".chalk.expression.v1.ScalarFunctionNodeB" + "\002\030\001H\001R\016scalarFunction\022A\n\010try_cast\030\021 \001(\0132" + " .chalk.expression.v1.TryCastNodeB\002\030\001H\001R" + "\007tryCast\022J\n\013window_expr\030\022 \001(\0132#.chalk.ex" + "pression.v1.WindowExprNodeB\002\030\001H\001R\nwindow" + "Expr\022]\n\022aggregate_udf_expr\030\023 \001(\0132).chalk" + ".expression.v1.AggregateUDFExprNodeB\002\030\001H" + "\001R\020aggregateUdfExpr\022T\n\017scalar_udf_expr\030\024" + " \001(\0132&.chalk.expression.v1.ScalarUDFExpr" + "NodeB\002\030\001H\001R\rscalarUdfExpr\022V\n\021get_indexed" + "_field\030\025 \001(\0132$.chalk.expression.v1.GetIn" + "dexedFieldB\002\030\001H\001R\017getIndexedField\022M\n\014gro" + "uping_set\030\026 \001(\0132$.chalk.expression.v1.Gr" + "oupingSetNodeB\002\030\001H\001R\013groupingSet\0227\n\004cube" + "\030\027 \001(\0132\035.chalk.expression.v1.CubeNodeB\002\030" + "\001H\001R\004cube\022=\n\006rollup\030\030 \001(\0132\037.chalk.expres" + "sion.v1.RollupNodeB\002\030\001H\001R\006rollup\022:\n\007is_t" + "rue\030\031 \001(\0132\033.chalk.expression.v1.IsTrueB\002" + "\030\001H\001R\006isTrue\022=\n\010is_false\030\032 \001(\0132\034.chalk.e" + "xpression.v1.IsFalseB\002\030\001H\001R\007isFalse\022C\n\ni" + "s_unknown\030\033 \001(\0132\036.chalk.expression.v1.Is" + "UnknownB\002\030\001H\001R\tisUnknown\022D\n\013is_not_true\030" + "\034 \001(\0132\036.chalk.expression.v1.IsNotTrueB\002\030" + "\001H\001R\tisNotTrue\022G\n\014is_not_false\030\035 \001(\0132\037.c" + "halk.expression.v1.IsNotFalseB\002\030\001H\001R\nisN" + "otFalse\022M\n\016is_not_unknown\030\036 \001(\0132!.chalk." + "expression.v1.IsNotUnknownB\002\030\001H\001R\014isNotU" + "nknown\0227\n\004like\030\037 \001(\0132\035.chalk.expression." + "v1.LikeNodeB\002\030\001H\001R\004like\022:\n\005ilike\030 \001(\0132\036" + ".chalk.expression.v1.ILikeNodeB\002\030\001H\001R\005il" + "ike\022G\n\nsimilar_to\030! \001(\0132\".chalk.expressi" + "on.v1.SimilarToNodeB\002\030\001H\001R\tsimilarTo\022L\n\013" + "placeholder\030\" \001(\0132$.chalk.expression.v1." + "PlaceholderNodeB\002\030\001H\001R\013placeholderB\013\n\tex" + "pr_formB\013\n\texpr_type\",\n\016ColumnRelation\022\032" + "\n\010relation\030\001 \001(\tR\010relation\"]\n\006Column\022\022\n\004" + "name\030\001 \001(\tR\004name\022?\n\010relation\030\002 \001(\0132#.cha" + "lk.expression.v1.ColumnRelationR\010relatio" + "n\";\n\010Wildcard\022!\n\tqualifier\030\001 \001(\tH\000R\tqual" + "ifier\210\001\001B\014\n\n_qualifier\"Y\n\017PlaceholderNod" + "e\022\016\n\002id\030\001 \001(\tR\002id\0226\n\tdata_type\030\002 \001(\0132\031.c" + "halk.arrow.v1.ArrowTypeR\010dataType\"K\n\017Log" + "icalExprList\0228\n\004expr\030\001 \003(\0132$.chalk.expre" + "ssion.v1.LogicalExprNodeR\004expr\"K\n\017Groupi" + "ngSetNode\0228\n\004expr\030\001 \003(\0132$.chalk.expressi" + "on.v1.LogicalExprListR\004expr\"D\n\010CubeNode\022" + "8\n\004expr\030\001 \003(\0132$.chalk.expression.v1.Logi" + "calExprNodeR\004expr\"F\n\nRollupNode\0228\n\004expr\030" + "\001 \003(\0132$.chalk.expression.v1.LogicalExprN" + "odeR\004expr\"C\n\020NamedStructField\022/\n\004name\030\001 " + "\001(\0132\033.chalk.arrow.v1.ScalarValueR\004name\"C" + "\n\tListIndex\0226\n\003key\030\001 \001(\0132$.chalk.express" + "ion.v1.LogicalExprNodeR\003key\"\201\001\n\tListRang" + "e\022:\n\005start\030\001 \001(\0132$.chalk.expression.v1.L" + "ogicalExprNodeR\005start\0228\n\004stop\030\002 \001(\0132$.ch" + "alk.expression.v1.LogicalExprNodeR\004stop\"" + "\255\002\n\017GetIndexedField\0228\n\004expr\030\001 \001(\0132$.chal" + "k.expression.v1.LogicalExprNodeR\004expr\022U\n" + "\022named_struct_field\030\002 \001(\0132%.chalk.expres" + "sion.v1.NamedStructFieldH\000R\020namedStructF" + "ield\022?\n\nlist_index\030\003 \001(\0132\036.chalk.express" + "ion.v1.ListIndexH\000R\tlistIndex\022?\n\nlist_ra" + "nge\030\004 \001(\0132\036.chalk.expression.v1.ListRang" + "eH\000R\tlistRangeB\007\n\005field\"B\n\006IsNull\0228\n\004exp" + "r\030\001 \001(\0132$.chalk.expression.v1.LogicalExp" + "rNodeR\004expr\"E\n\tIsNotNull\0228\n\004expr\030\001 \001(\0132$" + ".chalk.expression.v1.LogicalExprNodeR\004ex" + "pr\"B\n\006IsTrue\0228\n\004expr\030\001 \001(\0132$.chalk.expre" + "ssion.v1.LogicalExprNodeR\004expr\"C\n\007IsFals" + "e\0228\n\004expr\030\001 \001(\0132$.chalk.expression.v1.Lo" + "gicalExprNodeR\004expr\"E\n\tIsUnknown\0228\n\004expr" + "\030\001 \001(\0132$.chalk.expression.v1.LogicalExpr" + "NodeR\004expr\"E\n\tIsNotTrue\0228\n\004expr\030\001 \001(\0132$." + "chalk.expression.v1.LogicalExprNodeR\004exp" + "r\"F\n\nIsNotFalse\0228\n\004expr\030\001 \001(\0132$.chalk.ex" + "pression.v1.LogicalExprNodeR\004expr\"H\n\014IsN" + "otUnknown\0228\n\004expr\030\001 \001(\0132$.chalk.expressi" + "on.v1.LogicalExprNodeR\004expr\"?\n\003Not\0228\n\004ex" + "pr\030\001 \001(\0132$.chalk.expression.v1.LogicalEx" + "prNodeR\004expr\"\241\001\n\tAliasNode\0228\n\004expr\030\001 \001(\013" + "2$.chalk.expression.v1.LogicalExprNodeR\004" + "expr\022\024\n\005alias\030\002 \001(\tR\005alias\022D\n\010relation\030\003" + " \003(\0132(.chalk.expression.v1.OwnedTableRef" + "erenceR\010relation\"*\n\022BareTableReference\022\024" + "\n\005table\030\001 \001(\tR\005table\"E\n\025PartialTableRefe" + "rence\022\026\n\006schema\030\001 \001(\tR\006schema\022\024\n\005table\030\002" + " \001(\tR\005table\"\\\n\022FullTableReference\022\030\n\007cat" + "alog\030\001 \001(\tR\007catalog\022\026\n\006schema\030\002 \001(\tR\006sch" + "ema\022\024\n\005table\030\003 \001(\tR\005table\"\363\001\n\023OwnedTable" + "Reference\022=\n\004bare\030\001 \001(\0132\'.chalk.expressi" + "on.v1.BareTableReferenceH\000R\004bare\022F\n\007part" + "ial\030\002 \001(\0132*.chalk.expression.v1.PartialT" + "ableReferenceH\000R\007partial\022=\n\004full\030\003 \001(\0132\'" + ".chalk.expression.v1.FullTableReferenceH" + "\000R\004fullB\026\n\024table_reference_enum\"b\n\016Binar" + "yExprNode\022@\n\010operands\030\001 \003(\0132$.chalk.expr" + "ession.v1.LogicalExprNodeR\010operands\022\016\n\002o" + "p\030\003 \001(\tR\002op\"H\n\014NegativeNode\0228\n\004expr\030\001 \001(" + "\0132$.chalk.expression.v1.LogicalExprNodeR" + "\004expr\"\232\001\n\nInListNode\0228\n\004expr\030\001 \001(\0132$.cha" + "lk.expression.v1.LogicalExprNodeR\004expr\0228" + "\n\004list\030\002 \003(\0132$.chalk.expression.v1.Logic" + "alExprNodeR\004list\022\030\n\007negated\030\003 \001(\010R\007negat" + "ed\"\205\001\n\022ScalarFunctionNode\0225\n\003fun\030\001 \001(\0162#" + ".chalk.expression.v1.ScalarFunctionR\003fun" + "\0228\n\004args\030\002 \003(\0132$.chalk.expression.v1.Log" + "icalExprNodeR\004args\"\265\002\n\021AggregateExprNode" + "\022K\n\raggr_function\030\001 \001(\0162&.chalk.expressi" + "on.v1.AggregateFunctionR\014aggrFunction\0228\n" + "\004expr\030\002 \003(\0132$.chalk.expression.v1.Logica" + "lExprNodeR\004expr\022\032\n\010distinct\030\003 \001(\010R\010disti" + "nct\022<\n\006filter\030\004 \001(\0132$.chalk.expression.v" + "1.LogicalExprNodeR\006filter\022?\n\010order_by\030\005 " + "\003(\0132$.chalk.expression.v1.LogicalExprNod" + "eR\007orderBy\"\232\003\n\024AggregateUDFExprNode\022\031\n\010f" + "un_name\030\001 \001(\tR\007funName\0228\n\004args\030\002 \003(\0132$.c" + "halk.expression.v1.LogicalExprNodeR\004args" + "\022<\n\006filter\030\003 \001(\0132$.chalk.expression.v1.L" + "ogicalExprNodeR\006filter\022?\n\010order_by\030\004 \003(\013" + "2$.chalk.expression.v1.LogicalExprNodeR\007" + "orderBy\022M\n\006kwargs\030\005 \003(\01325.chalk.expressi" + "on.v1.AggregateUDFExprNode.KwargsEntryR\006" + "kwargs\032_\n\013KwargsEntry\022\020\n\003key\030\001 \001(\tR\003key\022" + ":\n\005value\030\002 \001(\0132$.chalk.expression.v1.Log" + "icalExprNodeR\005value:\0028\001\"h\n\021ScalarUDFExpr" + "Node\022\031\n\010fun_name\030\001 \001(\tR\007funName\0228\n\004args\030" + "\002 \003(\0132$.chalk.expression.v1.LogicalExprN" + "odeR\004args\"\201\004\n\016WindowExprNode\022M\n\raggr_fun" + "ction\030\001 \001(\0162&.chalk.expression.v1.Aggreg" + "ateFunctionH\000R\014aggrFunction\022X\n\021built_in_" + "function\030\002 \001(\0162*.chalk.expression.v1.Bui" + "ltInWindowFunctionH\000R\017builtInFunction\022\024\n" + "\004udaf\030\003 \001(\tH\000R\004udaf\022\024\n\004udwf\030\t \001(\tH\000R\004udw" + "f\0228\n\004expr\030\004 \001(\0132$.chalk.expression.v1.Lo" + "gicalExprNodeR\004expr\022G\n\014partition_by\030\005 \003(" + "\0132$.chalk.expression.v1.LogicalExprNodeR" + "\013partitionBy\022?\n\010order_by\030\006 \003(\0132$.chalk.e" + "xpression.v1.LogicalExprNodeR\007orderBy\022C\n" + "\014window_frame\030\010 \001(\0132 .chalk.expression.v" + "1.WindowFrameR\013windowFrameB\021\n\017window_fun" + "ction\"\323\001\n\013BetweenNode\0228\n\004expr\030\001 \001(\0132$.ch" + "alk.expression.v1.LogicalExprNodeR\004expr\022" + "\030\n\007negated\030\002 \001(\010R\007negated\0226\n\003low\030\003 \001(\0132$" + ".chalk.expression.v1.LogicalExprNodeR\003lo" + "w\0228\n\004high\030\004 \001(\0132$.chalk.expression.v1.Lo" + "gicalExprNodeR\004high\"\277\001\n\010LikeNode\022\030\n\007nega" + "ted\030\001 \001(\010R\007negated\0228\n\004expr\030\002 \001(\0132$.chalk" + ".expression.v1.LogicalExprNodeR\004expr\022>\n\007" + "pattern\030\003 \001(\0132$.chalk.expression.v1.Logi" + "calExprNodeR\007pattern\022\037\n\013escape_char\030\004 \001(" + "\tR\nescapeChar\"\300\001\n\tILikeNode\022\030\n\007negated\030\001" + " \001(\010R\007negated\0228\n\004expr\030\002 \001(\0132$.chalk.expr" + "ession.v1.LogicalExprNodeR\004expr\022>\n\007patte" + "rn\030\003 \001(\0132$.chalk.expression.v1.LogicalEx" + "prNodeR\007pattern\022\037\n\013escape_char\030\004 \001(\tR\nes" + "capeChar\"\304\001\n\rSimilarToNode\022\030\n\007negated\030\001 " + "\001(\010R\007negated\0228\n\004expr\030\002 \001(\0132$.chalk.expre" + "ssion.v1.LogicalExprNodeR\004expr\022>\n\007patter" + "n\030\003 \001(\0132$.chalk.expression.v1.LogicalExp" + "rNodeR\007pattern\022\037\n\013escape_char\030\004 \001(\tR\nesc" + "apeChar\"\314\001\n\010CaseNode\0228\n\004expr\030\001 \001(\0132$.cha" + "lk.expression.v1.LogicalExprNodeR\004expr\022C" + "\n\016when_then_expr\030\002 \003(\0132\035.chalk.expressio" + "n.v1.WhenThenR\014whenThenExpr\022A\n\telse_expr" + "\030\003 \001(\0132$.chalk.expression.v1.LogicalExpr" + "NodeR\010elseExpr\"\220\001\n\010WhenThen\022A\n\twhen_expr" + "\030\001 \001(\0132$.chalk.expression.v1.LogicalExpr" + "NodeR\010whenExpr\022A\n\tthen_expr\030\002 \001(\0132$.chal" + "k.expression.v1.LogicalExprNodeR\010thenExp" + "r\"~\n\010CastNode\0228\n\004expr\030\001 \001(\0132$.chalk.expr" + "ession.v1.LogicalExprNodeR\004expr\0228\n\narrow" + "_type\030\002 \001(\0132\031.chalk.arrow.v1.ArrowTypeR\t" + "arrowType\"\201\001\n\013TryCastNode\0228\n\004expr\030\001 \001(\0132" + "$.chalk.expression.v1.LogicalExprNodeR\004e" + "xpr\0228\n\narrow_type\030\002 \001(\0132\031.chalk.arrow.v1" + ".ArrowTypeR\tarrowType\"{\n\014SortExprNode\0228\n" + "\004expr\030\001 \001(\0132$.chalk.expression.v1.Logica" + "lExprNodeR\004expr\022\020\n\003asc\030\002 \001(\010R\003asc\022\037\n\013nul" + "ls_first\030\003 \001(\010R\nnullsFirst\"\366\001\n\013WindowFra" + "me\022S\n\022window_frame_units\030\001 \001(\0162%.chalk.e" + "xpression.v1.WindowFrameUnitsR\020windowFra" + "meUnits\022F\n\013start_bound\030\002 \001(\0132%.chalk.exp" + "ression.v1.WindowFrameBoundR\nstartBound\022" + "@\n\005bound\030\003 \001(\0132%.chalk.expression.v1.Win" + "dowFrameBoundH\000R\005bound\210\001\001B\010\n\006_bound\"\262\001\n\020" + "WindowFrameBound\022`\n\027window_frame_bound_t" + "ype\030\001 \001(\0162).chalk.expression.v1.WindowFr" + "ameBoundTypeR\024windowFrameBoundType\022<\n\013bo" + "und_value\030\002 \001(\0132\033.chalk.arrow.v1.ScalarV" + "alueR\nboundValue*\240\037\n\016ScalarFunction\022\037\n\033S" + "CALAR_FUNCTION_UNSPECIFIED\020\000\022\027\n\023SCALAR_F" + "UNCTION_ABS\020\001\022\030\n\024SCALAR_FUNCTION_ACOS\020\002\022" + "\030\n\024SCALAR_FUNCTION_ASIN\020\003\022\030\n\024SCALAR_FUNC" + "TION_ATAN\020\004\022\031\n\025SCALAR_FUNCTION_ASCII\020\005\022\030" + "\n\024SCALAR_FUNCTION_CEIL\020\006\022\027\n\023SCALAR_FUNCT" + "ION_COS\020\007\022\032\n\026SCALAR_FUNCTION_DIGEST\020\010\022\027\n" + "\023SCALAR_FUNCTION_EXP\020\t\022\031\n\025SCALAR_FUNCTIO" + "N_FLOOR\020\n\022\026\n\022SCALAR_FUNCTION_LN\020\013\022\027\n\023SCA" + "LAR_FUNCTION_LOG\020\014\022\031\n\025SCALAR_FUNCTION_LO" + "G10\020\r\022\030\n\024SCALAR_FUNCTION_LOG2\020\016\022\031\n\025SCALA" + "R_FUNCTION_ROUND\020\017\022\032\n\026SCALAR_FUNCTION_SI" + "GNUM\020\020\022\027\n\023SCALAR_FUNCTION_SIN\020\021\022\030\n\024SCALA" + "R_FUNCTION_SQRT\020\022\022\027\n\023SCALAR_FUNCTION_TAN" + "\020\023\022\031\n\025SCALAR_FUNCTION_TRUNC\020\024\022\031\n\025SCALAR_" + "FUNCTION_ARRAY\020\025\022 \n\034SCALAR_FUNCTION_REGE" + "XP_MATCH\020\026\022\036\n\032SCALAR_FUNCTION_BIT_LENGTH" + "\020\027\022\031\n\025SCALAR_FUNCTION_BTRIM\020\030\022$\n SCALAR_" + "FUNCTION_CHARACTER_LENGTH\020\031\022\027\n\023SCALAR_FU" + "NCTION_CHR\020\032\022\032\n\026SCALAR_FUNCTION_CONCAT\020\033" + "\022)\n%SCALAR_FUNCTION_CONCAT_WITH_SEPARATO" + "R\020\034\022\035\n\031SCALAR_FUNCTION_DATE_PART\020\035\022\036\n\032SC" + "ALAR_FUNCTION_DATE_TRUNC\020\036\022\034\n\030SCALAR_FUN" + "CTION_INIT_CAP\020\037\022\030\n\024SCALAR_FUNCTION_LEFT" + "\020 \022\030\n\024SCALAR_FUNCTION_LPAD\020!\022\031\n\025SCALAR_F" + "UNCTION_LOWER\020\"\022\031\n\025SCALAR_FUNCTION_LTRIM" + "\020#\022\027\n\023SCALAR_FUNCTION_MD5\020$\022\033\n\027SCALAR_FU" + "NCTION_NULL_IF\020%\022 \n\034SCALAR_FUNCTION_OCTE" + "T_LENGTH\020&\022\032\n\026SCALAR_FUNCTION_RANDOM\020\'\022\"" + "\n\036SCALAR_FUNCTION_REGEXP_REPLACE\020(\022\032\n\026SC" + "ALAR_FUNCTION_REPEAT\020)\022\033\n\027SCALAR_FUNCTIO" + "N_REPLACE\020*\022\033\n\027SCALAR_FUNCTION_REVERSE\020+" + "\022\031\n\025SCALAR_FUNCTION_RIGHT\020,\022\030\n\024SCALAR_FU" + "NCTION_RPAD\020-\022\031\n\025SCALAR_FUNCTION_RTRIM\020." + "\022\032\n\026SCALAR_FUNCTION_SHA224\020/\022\032\n\026SCALAR_F" + "UNCTION_SHA256\0200\022\032\n\026SCALAR_FUNCTION_SHA3" + "84\0201\022\032\n\026SCALAR_FUNCTION_SHA512\0202\022\036\n\032SCAL" + "AR_FUNCTION_SPLIT_PART\0203\022\037\n\033SCALAR_FUNCT" + "ION_STARTS_WITH\0204\022\032\n\026SCALAR_FUNCTION_STR" + "POS\0205\022\032\n\026SCALAR_FUNCTION_SUBSTR\0206\022\032\n\026SCA" + "LAR_FUNCTION_TO_HEX\0207\022 \n\034SCALAR_FUNCTION" + "_TO_TIMESTAMP\0208\022\'\n#SCALAR_FUNCTION_TO_TI" + "MESTAMP_MILLIS\0209\022\'\n#SCALAR_FUNCTION_TO_T" + "IMESTAMP_MICROS\020:\022(\n$SCALAR_FUNCTION_TO_" + "TIMESTAMP_SECONDS\020;\022\027\n\023SCALAR_FUNCTION_N" + "OW\020<\022\035\n\031SCALAR_FUNCTION_TRANSLATE\020=\022\030\n\024S" + "CALAR_FUNCTION_TRIM\020>\022\031\n\025SCALAR_FUNCTION" + "_UPPER\020?\022\034\n\030SCALAR_FUNCTION_COALESCE\020@\022\031" + "\n\025SCALAR_FUNCTION_POWER\020A\022\036\n\032SCALAR_FUNC" + "TION_STRUCT_FUN\020B\022!\n\035SCALAR_FUNCTION_FRO" + "M_UNIXTIME\020C\022\031\n\025SCALAR_FUNCTION_ATAN2\020D\022" + "\034\n\030SCALAR_FUNCTION_DATE_BIN\020E\022 \n\034SCALAR_" + "FUNCTION_ARROW_TYPEOF\020F\022 \n\034SCALAR_FUNCTI" + "ON_CURRENT_DATE\020G\022 \n\034SCALAR_FUNCTION_CUR" + "RENT_TIME\020H\022\030\n\024SCALAR_FUNCTION_UUID\020I\022\030\n" + "\024SCALAR_FUNCTION_CBRT\020J\022\031\n\025SCALAR_FUNCTI" + "ON_ACOSH\020K\022\031\n\025SCALAR_FUNCTION_ASINH\020L\022\031\n" + "\025SCALAR_FUNCTION_ATANH\020M\022\030\n\024SCALAR_FUNCT" + "ION_SINH\020N\022\030\n\024SCALAR_FUNCTION_COSH\020O\022\030\n\024" + "SCALAR_FUNCTION_TANH\020P\022\026\n\022SCALAR_FUNCTIO" + "N_PI\020Q\022\033\n\027SCALAR_FUNCTION_DEGREES\020R\022\033\n\027S" + "CALAR_FUNCTION_RADIANS\020S\022\035\n\031SCALAR_FUNCT" + "ION_FACTORIAL\020T\022\027\n\023SCALAR_FUNCTION_LCM\020U" + "\022\027\n\023SCALAR_FUNCTION_GCD\020V\022 \n\034SCALAR_FUNC" + "TION_ARRAY_APPEND\020W\022 \n\034SCALAR_FUNCTION_A" + "RRAY_CONCAT\020X\022\036\n\032SCALAR_FUNCTION_ARRAY_D" + "IMS\020Y\022 \n\034SCALAR_FUNCTION_ARRAY_REPEAT\020Z\022" + " \n\034SCALAR_FUNCTION_ARRAY_LENGTH\020[\022\037\n\033SCA" + "LAR_FUNCTION_ARRAY_NDIMS\020\\\022\"\n\036SCALAR_FUN" + "CTION_ARRAY_POSITION\020]\022#\n\037SCALAR_FUNCTIO" + "N_ARRAY_POSITIONS\020^\022!\n\035SCALAR_FUNCTION_A" + "RRAY_PREPEND\020_\022 \n\034SCALAR_FUNCTION_ARRAY_" + "REMOVE\020`\022!\n\035SCALAR_FUNCTION_ARRAY_REPLAC" + "E\020a\022#\n\037SCALAR_FUNCTION_ARRAY_TO_STRING\020b" + "\022\037\n\033SCALAR_FUNCTION_CARDINALITY\020c\022!\n\035SCA" + "LAR_FUNCTION_ARRAY_ELEMENT\020d\022\037\n\033SCALAR_F" + "UNCTION_ARRAY_SLICE\020e\022\032\n\026SCALAR_FUNCTION" + "_ENCODE\020f\022\032\n\026SCALAR_FUNCTION_DECODE\020g\022\027\n" + "\023SCALAR_FUNCTION_COT\020h\022\035\n\031SCALAR_FUNCTIO" + "N_ARRAY_HAS\020i\022!\n\035SCALAR_FUNCTION_ARRAY_H" + "AS_ANY\020j\022!\n\035SCALAR_FUNCTION_ARRAY_HAS_AL" + "L\020k\022\"\n\036SCALAR_FUNCTION_ARRAY_REMOVE_N\020l\022" + "#\n\037SCALAR_FUNCTION_ARRAY_REPLACE_N\020m\022$\n " + "SCALAR_FUNCTION_ARRAY_REMOVE_ALL\020n\022%\n!SC" + "ALAR_FUNCTION_ARRAY_REPLACE_ALL\020o\022\031\n\025SCA" + "LAR_FUNCTION_NANVL\020p\022\033\n\027SCALAR_FUNCTION_" + "FLATTEN\020q\022\031\n\025SCALAR_FUNCTION_ISNAN\020r\022\032\n\026" + "SCALAR_FUNCTION_ISZERO\020s\022\037\n\033SCALAR_FUNCT" + "ION_ARRAY_EMPTY\020t\022\"\n\036SCALAR_FUNCTION_ARR" + "AY_POP_BACK\020u\022#\n\037SCALAR_FUNCTION_STRING_" + "TO_ARRAY\020v\022&\n\"SCALAR_FUNCTION_TO_TIMESTA" + "MP_NANOS\020w\022#\n\037SCALAR_FUNCTION_ARRAY_INTE" + "RSECT\020x\022\037\n\033SCALAR_FUNCTION_ARRAY_UNION\020y" + "\022\034\n\030SCALAR_FUNCTION_OVER_LAY\020z\022\031\n\025SCALAR" + "_FUNCTION_RANGE\020{\022 \n\034SCALAR_FUNCTION_ARR" + "AY_EXCEPT\020|\022#\n\037SCALAR_FUNCTION_ARRAY_POP" + "_FRONT\020}\022\037\n\033SCALAR_FUNCTION_LEVENSHTEIN\020" + "~\022 \n\034SCALAR_FUNCTION_SUBSTR_INDEX\020\177\022 \n\033S" + "CALAR_FUNCTION_FIND_IN_SET\020\200\001\022\037\n\032SCALAR_" + "FUNCTION_ARRAY_SORT\020\201\001\022#\n\036SCALAR_FUNCTIO" + "N_ARRAY_DISTINCT\020\202\001*\213\n\n\021AggregateFunctio" + "n\022\"\n\036AGGREGATE_FUNCTION_UNSPECIFIED\020\000\022\032\n" + "\026AGGREGATE_FUNCTION_MIN\020\001\022\032\n\026AGGREGATE_F" + "UNCTION_MAX\020\002\022\032\n\026AGGREGATE_FUNCTION_SUM\020" + "\003\022\032\n\026AGGREGATE_FUNCTION_AVG\020\004\022\034\n\030AGGREGA" + "TE_FUNCTION_COUNT\020\005\022&\n\"AGGREGATE_FUNCTIO" + "N_APPROX_DISTINCT\020\006\022\034\n\030AGGREGATE_FUNCTIO" + "N_ARRAY\020\007\022\037\n\033AGGREGATE_FUNCTION_VARIANCE" + "\020\010\022#\n\037AGGREGATE_FUNCTION_VARIANCE_POP\020\t\022" + "!\n\035AGGREGATE_FUNCTION_COVARIANCE\020\n\022%\n!AG" + "GREGATE_FUNCTION_COVARIANCE_POP\020\013\022\035\n\031AGG" + "REGATE_FUNCTION_STDDEV\020\014\022!\n\035AGGREGATE_FU" + "NCTION_STDDEV_POP\020\r\022\"\n\036AGGREGATE_FUNCTIO" + "N_CORRELATION\020\016\022-\n)AGGREGATE_FUNCTION_AP" + "PROX_PERCENTILE_CONT\020\017\022$\n AGGREGATE_FUNC" + "TION_APPROX_MEDIAN\020\020\0229\n5AGGREGATE_FUNCTI" + "ON_APPROX_PERCENTILE_CONT_WITH_WEIGHT\020\021\022" + "\037\n\033AGGREGATE_FUNCTION_GROUPING\020\022\022\035\n\031AGGR" + "EGATE_FUNCTION_MEDIAN\020\023\022\036\n\032AGGREGATE_FUN" + "CTION_BIT_AND\020\024\022\035\n\031AGGREGATE_FUNCTION_BI" + "T_OR\020\025\022\036\n\032AGGREGATE_FUNCTION_BIT_XOR\020\026\022\037" + "\n\033AGGREGATE_FUNCTION_BOOL_AND\020\027\022\036\n\032AGGRE" + "GATE_FUNCTION_BOOL_OR\020\030\022\"\n\036AGGREGATE_FUN" + "CTION_FIRST_VALUE\020\031\022!\n\035AGGREGATE_FUNCTIO" + "N_LAST_VALUE\020\032\022!\n\035AGGREGATE_FUNCTION_REG" + "R_SLOPE\020\033\022%\n!AGGREGATE_FUNCTION_REGR_INT" + "ERCEPT\020\034\022!\n\035AGGREGATE_FUNCTION_REGR_COUN" + "T\020\035\022\036\n\032AGGREGATE_FUNCTION_REGR_R2\020\036\022 \n\034A" + "GGREGATE_FUNCTION_REGR_AVGX\020\037\022 \n\034AGGREGA" + "TE_FUNCTION_REGR_AVGY\020 \022\037\n\033AGGREGATE_FUN" + "CTION_REGR_SXX\020!\022\037\n\033AGGREGATE_FUNCTION_R" + "EGR_SYY\020\"\022\037\n\033AGGREGATE_FUNCTION_REGR_SXY" + "\020#\022\035\n\031AGGREGATE_FUNCTION_STRING\020$*\355\003\n\025Bu" + "iltInWindowFunction\022(\n$BUILT_IN_WINDOW_F" + "UNCTION_UNSPECIFIED\020\000\022\'\n#BUILT_IN_WINDOW" + "_FUNCTION_ROW_NUMBER\020\001\022!\n\035BUILT_IN_WINDO" + "W_FUNCTION_RANK\020\002\022\'\n#BUILT_IN_WINDOW_FUN" + "CTION_DENSE_RANK\020\003\022)\n%BUILT_IN_WINDOW_FU" + "NCTION_PERCENT_RANK\020\004\022&\n\"BUILT_IN_WINDOW" + "_FUNCTION_CUME_DIST\020\005\022\"\n\036BUILT_IN_WINDOW" + "_FUNCTION_NTILE\020\006\022 \n\034BUILT_IN_WINDOW_FUN" + "CTION_LAG\020\007\022!\n\035BUILT_IN_WINDOW_FUNCTION_" + "LEAD\020\010\022(\n$BUILT_IN_WINDOW_FUNCTION_FIRST" + "_VALUE\020\t\022\'\n#BUILT_IN_WINDOW_FUNCTION_LAS" + "T_VALUE\020\n\022&\n\"BUILT_IN_WINDOW_FUNCTION_NT" + "H_VALUE\020\013*\220\001\n\020WindowFrameUnits\022\"\n\036WINDOW" + "_FRAME_UNITS_UNSPECIFIED\020\000\022\033\n\027WINDOW_FRA" + "ME_UNITS_ROWS\020\001\022\034\n\030WINDOW_FRAME_UNITS_RA" + "NGE\020\002\022\035\n\031WINDOW_FRAME_UNITS_GROUPS\020\003*\266\001\n" + "\024WindowFrameBoundType\022\'\n#WINDOW_FRAME_BO" + "UND_TYPE_UNSPECIFIED\020\000\022\'\n#WINDOW_FRAME_B" + "OUND_TYPE_CURRENT_ROW\020\001\022%\n!WINDOW_FRAME_" + "BOUND_TYPE_PRECEDING\020\002\022%\n!WINDOW_FRAME_B" + "OUND_TYPE_FOLLOWING\020\003B\244\001\n#ai.chalk.proto" + "s.chalk.expression.v1B\017ExpressionProtoP\001" + "\242\002\003CEX\252\002\023Chalk.Expression.V1\312\002\023Chalk\\Exp" + "ression\\V1\342\002\037Chalk\\Expression\\V1\\GPBMeta", "data\352\002\025Chalk::Expression::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { ai.chalk.protos.chalk.arrow.v1.ArrowProto.getDescriptor(), }); internal_static_chalk_expression_v1_Identifier_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_expression_v1_Identifier_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_Identifier_descriptor, new java.lang.String[] { "Name", }); internal_static_chalk_expression_v1_ExprGetAttribute_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_chalk_expression_v1_ExprGetAttribute_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_ExprGetAttribute_descriptor, new java.lang.String[] { "Parent", "Attribute", }); internal_static_chalk_expression_v1_ExprGetSubscript_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_chalk_expression_v1_ExprGetSubscript_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_ExprGetSubscript_descriptor, new java.lang.String[] { "Parent", "Subscript", }); internal_static_chalk_expression_v1_ExprCall_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_chalk_expression_v1_ExprCall_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_ExprCall_descriptor, new java.lang.String[] { "Func", "Args", "Kwargs", }); internal_static_chalk_expression_v1_ExprCall_KwargsEntry_descriptor = internal_static_chalk_expression_v1_ExprCall_descriptor.getNestedTypes().get(0); internal_static_chalk_expression_v1_ExprCall_KwargsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_ExprCall_KwargsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_chalk_expression_v1_ExprLiteral_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_chalk_expression_v1_ExprLiteral_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_ExprLiteral_descriptor, new java.lang.String[] { "Value", }); internal_static_chalk_expression_v1_LogicalExprNode_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_chalk_expression_v1_LogicalExprNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_LogicalExprNode_descriptor, new java.lang.String[] { "Identifier", "GetAttribute", "GetSubscript", "Call", "LiteralValue", "Column", "Alias", "Literal", "BinaryExpr", "AggregateExpr", "IsNullExpr", "IsNotNullExpr", "NotExpr", "Between", "Case", "Cast", "Sort", "Negative", "InList", "Wildcard", "ScalarFunction", "TryCast", "WindowExpr", "AggregateUdfExpr", "ScalarUdfExpr", "GetIndexedField", "GroupingSet", "Cube", "Rollup", "IsTrue", "IsFalse", "IsUnknown", "IsNotTrue", "IsNotFalse", "IsNotUnknown", "Like", "Ilike", "SimilarTo", "Placeholder", "ExprForm", "ExprType", }); internal_static_chalk_expression_v1_ColumnRelation_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_chalk_expression_v1_ColumnRelation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_ColumnRelation_descriptor, new java.lang.String[] { "Relation", }); internal_static_chalk_expression_v1_Column_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_chalk_expression_v1_Column_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_Column_descriptor, new java.lang.String[] { "Name", "Relation", }); internal_static_chalk_expression_v1_Wildcard_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_chalk_expression_v1_Wildcard_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_Wildcard_descriptor, new java.lang.String[] { "Qualifier", }); internal_static_chalk_expression_v1_PlaceholderNode_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_chalk_expression_v1_PlaceholderNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_PlaceholderNode_descriptor, new java.lang.String[] { "Id", "DataType", }); internal_static_chalk_expression_v1_LogicalExprList_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_chalk_expression_v1_LogicalExprList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_LogicalExprList_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_GroupingSetNode_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_chalk_expression_v1_GroupingSetNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_GroupingSetNode_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_CubeNode_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_chalk_expression_v1_CubeNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_CubeNode_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_RollupNode_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_chalk_expression_v1_RollupNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_RollupNode_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_NamedStructField_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_chalk_expression_v1_NamedStructField_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_NamedStructField_descriptor, new java.lang.String[] { "Name", }); internal_static_chalk_expression_v1_ListIndex_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_chalk_expression_v1_ListIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_ListIndex_descriptor, new java.lang.String[] { "Key", }); internal_static_chalk_expression_v1_ListRange_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_chalk_expression_v1_ListRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_ListRange_descriptor, new java.lang.String[] { "Start", "Stop", }); internal_static_chalk_expression_v1_GetIndexedField_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_chalk_expression_v1_GetIndexedField_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_GetIndexedField_descriptor, new java.lang.String[] { "Expr", "NamedStructField", "ListIndex", "ListRange", "Field", }); internal_static_chalk_expression_v1_IsNull_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_chalk_expression_v1_IsNull_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_IsNull_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_IsNotNull_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_chalk_expression_v1_IsNotNull_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_IsNotNull_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_IsTrue_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_chalk_expression_v1_IsTrue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_IsTrue_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_IsFalse_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_chalk_expression_v1_IsFalse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_IsFalse_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_IsUnknown_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_chalk_expression_v1_IsUnknown_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_IsUnknown_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_IsNotTrue_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_chalk_expression_v1_IsNotTrue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_IsNotTrue_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_IsNotFalse_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_chalk_expression_v1_IsNotFalse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_IsNotFalse_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_IsNotUnknown_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_chalk_expression_v1_IsNotUnknown_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_IsNotUnknown_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_Not_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_chalk_expression_v1_Not_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_Not_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_AliasNode_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_chalk_expression_v1_AliasNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_AliasNode_descriptor, new java.lang.String[] { "Expr", "Alias", "Relation", }); internal_static_chalk_expression_v1_BareTableReference_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_chalk_expression_v1_BareTableReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_BareTableReference_descriptor, new java.lang.String[] { "Table", }); internal_static_chalk_expression_v1_PartialTableReference_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_chalk_expression_v1_PartialTableReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_PartialTableReference_descriptor, new java.lang.String[] { "Schema", "Table", }); internal_static_chalk_expression_v1_FullTableReference_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_chalk_expression_v1_FullTableReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_FullTableReference_descriptor, new java.lang.String[] { "Catalog", "Schema", "Table", }); internal_static_chalk_expression_v1_OwnedTableReference_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_chalk_expression_v1_OwnedTableReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_OwnedTableReference_descriptor, new java.lang.String[] { "Bare", "Partial", "Full", "TableReferenceEnum", }); internal_static_chalk_expression_v1_BinaryExprNode_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_chalk_expression_v1_BinaryExprNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_BinaryExprNode_descriptor, new java.lang.String[] { "Operands", "Op", }); internal_static_chalk_expression_v1_NegativeNode_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_chalk_expression_v1_NegativeNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_NegativeNode_descriptor, new java.lang.String[] { "Expr", }); internal_static_chalk_expression_v1_InListNode_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_chalk_expression_v1_InListNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_InListNode_descriptor, new java.lang.String[] { "Expr", "List", "Negated", }); internal_static_chalk_expression_v1_ScalarFunctionNode_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_chalk_expression_v1_ScalarFunctionNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_ScalarFunctionNode_descriptor, new java.lang.String[] { "Fun", "Args", }); internal_static_chalk_expression_v1_AggregateExprNode_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_chalk_expression_v1_AggregateExprNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_AggregateExprNode_descriptor, new java.lang.String[] { "AggrFunction", "Expr", "Distinct", "Filter", "OrderBy", }); internal_static_chalk_expression_v1_AggregateUDFExprNode_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_chalk_expression_v1_AggregateUDFExprNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_AggregateUDFExprNode_descriptor, new java.lang.String[] { "FunName", "Args", "Filter", "OrderBy", "Kwargs", }); internal_static_chalk_expression_v1_AggregateUDFExprNode_KwargsEntry_descriptor = internal_static_chalk_expression_v1_AggregateUDFExprNode_descriptor.getNestedTypes().get(0); internal_static_chalk_expression_v1_AggregateUDFExprNode_KwargsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_AggregateUDFExprNode_KwargsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_chalk_expression_v1_ScalarUDFExprNode_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_chalk_expression_v1_ScalarUDFExprNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_ScalarUDFExprNode_descriptor, new java.lang.String[] { "FunName", "Args", }); internal_static_chalk_expression_v1_WindowExprNode_descriptor = getDescriptor().getMessageTypes().get(39); internal_static_chalk_expression_v1_WindowExprNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_WindowExprNode_descriptor, new java.lang.String[] { "AggrFunction", "BuiltInFunction", "Udaf", "Udwf", "Expr", "PartitionBy", "OrderBy", "WindowFrame", "WindowFunction", }); internal_static_chalk_expression_v1_BetweenNode_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_chalk_expression_v1_BetweenNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_BetweenNode_descriptor, new java.lang.String[] { "Expr", "Negated", "Low", "High", }); internal_static_chalk_expression_v1_LikeNode_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_chalk_expression_v1_LikeNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_LikeNode_descriptor, new java.lang.String[] { "Negated", "Expr", "Pattern", "EscapeChar", }); internal_static_chalk_expression_v1_ILikeNode_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_chalk_expression_v1_ILikeNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_ILikeNode_descriptor, new java.lang.String[] { "Negated", "Expr", "Pattern", "EscapeChar", }); internal_static_chalk_expression_v1_SimilarToNode_descriptor = getDescriptor().getMessageTypes().get(43); internal_static_chalk_expression_v1_SimilarToNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_SimilarToNode_descriptor, new java.lang.String[] { "Negated", "Expr", "Pattern", "EscapeChar", }); internal_static_chalk_expression_v1_CaseNode_descriptor = getDescriptor().getMessageTypes().get(44); internal_static_chalk_expression_v1_CaseNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_CaseNode_descriptor, new java.lang.String[] { "Expr", "WhenThenExpr", "ElseExpr", }); internal_static_chalk_expression_v1_WhenThen_descriptor = getDescriptor().getMessageTypes().get(45); internal_static_chalk_expression_v1_WhenThen_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_WhenThen_descriptor, new java.lang.String[] { "WhenExpr", "ThenExpr", }); internal_static_chalk_expression_v1_CastNode_descriptor = getDescriptor().getMessageTypes().get(46); internal_static_chalk_expression_v1_CastNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_CastNode_descriptor, new java.lang.String[] { "Expr", "ArrowType", }); internal_static_chalk_expression_v1_TryCastNode_descriptor = getDescriptor().getMessageTypes().get(47); internal_static_chalk_expression_v1_TryCastNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_TryCastNode_descriptor, new java.lang.String[] { "Expr", "ArrowType", }); internal_static_chalk_expression_v1_SortExprNode_descriptor = getDescriptor().getMessageTypes().get(48); internal_static_chalk_expression_v1_SortExprNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_SortExprNode_descriptor, new java.lang.String[] { "Expr", "Asc", "NullsFirst", }); internal_static_chalk_expression_v1_WindowFrame_descriptor = getDescriptor().getMessageTypes().get(49); internal_static_chalk_expression_v1_WindowFrame_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_WindowFrame_descriptor, new java.lang.String[] { "WindowFrameUnits", "StartBound", "Bound", }); internal_static_chalk_expression_v1_WindowFrameBound_descriptor = getDescriptor().getMessageTypes().get(50); internal_static_chalk_expression_v1_WindowFrameBound_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_expression_v1_WindowFrameBound_descriptor, new java.lang.String[] { "WindowFrameBoundType", "BoundValue", }); ai.chalk.protos.chalk.arrow.v1.ArrowProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/FullTableReference.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.FullTableReference} */ public final class FullTableReference extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.FullTableReference) FullTableReferenceOrBuilder { private static final long serialVersionUID = 0L; // Use FullTableReference.newBuilder() to construct. private FullTableReference(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private FullTableReference() { catalog_ = ""; schema_ = ""; table_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FullTableReference(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_FullTableReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_FullTableReference_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.FullTableReference.class, ai.chalk.protos.chalk.expression.v1.FullTableReference.Builder.class); } public static final int CATALOG_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object catalog_ = ""; /** * <code>string catalog = 1 [json_name = "catalog"];</code> * @return The catalog. */ @java.lang.Override public java.lang.String getCatalog() { java.lang.Object ref = catalog_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); catalog_ = s; return s; } } /** * <code>string catalog = 1 [json_name = "catalog"];</code> * @return The bytes for catalog. */ @java.lang.Override public com.google.protobuf.ByteString getCatalogBytes() { java.lang.Object ref = catalog_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); catalog_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCHEMA_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object schema_ = ""; /** * <code>string schema = 2 [json_name = "schema"];</code> * @return The schema. */ @java.lang.Override public java.lang.String getSchema() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } } /** * <code>string schema = 2 [json_name = "schema"];</code> * @return The bytes for schema. */ @java.lang.Override public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schema_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TABLE_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** * <code>string table = 3 [json_name = "table"];</code> * @return The table. */ @java.lang.Override public java.lang.String getTable() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** * <code>string table = 3 [json_name = "table"];</code> * @return The bytes for table. */ @java.lang.Override public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalog_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, catalog_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schema_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, table_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalog_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, catalog_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schema_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, table_); } 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 ai.chalk.protos.chalk.expression.v1.FullTableReference)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.FullTableReference other = (ai.chalk.protos.chalk.expression.v1.FullTableReference) obj; if (!getCatalog() .equals(other.getCatalog())) return false; if (!getSchema() .equals(other.getSchema())) return false; if (!getTable() .equals(other.getTable())) 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(); hash = (37 * hash) + CATALOG_FIELD_NUMBER; hash = (53 * hash) + getCatalog().hashCode(); hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().hashCode(); hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.FullTableReference parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.FullTableReference parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.FullTableReference parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.FullTableReference parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.FullTableReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.FullTableReference parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.FullTableReference parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.FullTableReference parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.FullTableReference parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.FullTableReference parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.FullTableReference parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.FullTableReference parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.FullTableReference 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.FullTableReference} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.FullTableReference) ai.chalk.protos.chalk.expression.v1.FullTableReferenceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_FullTableReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_FullTableReference_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.FullTableReference.class, ai.chalk.protos.chalk.expression.v1.FullTableReference.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.FullTableReference.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; catalog_ = ""; schema_ = ""; table_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_FullTableReference_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.FullTableReference getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.FullTableReference.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.FullTableReference build() { ai.chalk.protos.chalk.expression.v1.FullTableReference result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.FullTableReference buildPartial() { ai.chalk.protos.chalk.expression.v1.FullTableReference result = new ai.chalk.protos.chalk.expression.v1.FullTableReference(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.FullTableReference result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.catalog_ = catalog_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.schema_ = schema_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.table_ = table_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.FullTableReference) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.FullTableReference)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.FullTableReference other) { if (other == ai.chalk.protos.chalk.expression.v1.FullTableReference.getDefaultInstance()) return this; if (!other.getCatalog().isEmpty()) { catalog_ = other.catalog_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getSchema().isEmpty()) { schema_ = other.schema_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getTable().isEmpty()) { table_ = other.table_; bitField0_ |= 0x00000004; onChanged(); } 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: { catalog_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { schema_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { table_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 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.lang.Object catalog_ = ""; /** * <code>string catalog = 1 [json_name = "catalog"];</code> * @return The catalog. */ public java.lang.String getCatalog() { java.lang.Object ref = catalog_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); catalog_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string catalog = 1 [json_name = "catalog"];</code> * @return The bytes for catalog. */ public com.google.protobuf.ByteString getCatalogBytes() { java.lang.Object ref = catalog_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); catalog_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string catalog = 1 [json_name = "catalog"];</code> * @param value The catalog to set. * @return This builder for chaining. */ public Builder setCatalog( java.lang.String value) { if (value == null) { throw new NullPointerException(); } catalog_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string catalog = 1 [json_name = "catalog"];</code> * @return This builder for chaining. */ public Builder clearCatalog() { catalog_ = getDefaultInstance().getCatalog(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string catalog = 1 [json_name = "catalog"];</code> * @param value The bytes for catalog to set. * @return This builder for chaining. */ public Builder setCatalogBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); catalog_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object schema_ = ""; /** * <code>string schema = 2 [json_name = "schema"];</code> * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string schema = 2 [json_name = "schema"];</code> * @return The bytes for schema. */ public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schema_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string schema = 2 [json_name = "schema"];</code> * @param value The schema to set. * @return This builder for chaining. */ public Builder setSchema( java.lang.String value) { if (value == null) { throw new NullPointerException(); } schema_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>string schema = 2 [json_name = "schema"];</code> * @return This builder for chaining. */ public Builder clearSchema() { schema_ = getDefaultInstance().getSchema(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * <code>string schema = 2 [json_name = "schema"];</code> * @param value The bytes for schema to set. * @return This builder for chaining. */ public Builder setSchemaBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); schema_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object table_ = ""; /** * <code>string table = 3 [json_name = "table"];</code> * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string table = 3 [json_name = "table"];</code> * @return The bytes for table. */ public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string table = 3 [json_name = "table"];</code> * @param value The table to set. * @return This builder for chaining. */ public Builder setTable( java.lang.String value) { if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>string table = 3 [json_name = "table"];</code> * @return This builder for chaining. */ public Builder clearTable() { table_ = getDefaultInstance().getTable(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * <code>string table = 3 [json_name = "table"];</code> * @param value The bytes for table to set. * @return This builder for chaining. */ public Builder setTableBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.FullTableReference) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.FullTableReference) private static final ai.chalk.protos.chalk.expression.v1.FullTableReference DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.FullTableReference(); } public static ai.chalk.protos.chalk.expression.v1.FullTableReference getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<FullTableReference> PARSER = new com.google.protobuf.AbstractParser<FullTableReference>() { @java.lang.Override public FullTableReference 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<FullTableReference> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<FullTableReference> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.FullTableReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/FullTableReferenceOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface FullTableReferenceOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.FullTableReference) com.google.protobuf.MessageOrBuilder { /** * <code>string catalog = 1 [json_name = "catalog"];</code> * @return The catalog. */ java.lang.String getCatalog(); /** * <code>string catalog = 1 [json_name = "catalog"];</code> * @return The bytes for catalog. */ com.google.protobuf.ByteString getCatalogBytes(); /** * <code>string schema = 2 [json_name = "schema"];</code> * @return The schema. */ java.lang.String getSchema(); /** * <code>string schema = 2 [json_name = "schema"];</code> * @return The bytes for schema. */ com.google.protobuf.ByteString getSchemaBytes(); /** * <code>string table = 3 [json_name = "table"];</code> * @return The table. */ java.lang.String getTable(); /** * <code>string table = 3 [json_name = "table"];</code> * @return The bytes for table. */ com.google.protobuf.ByteString getTableBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/GetIndexedField.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.GetIndexedField} */ public final class GetIndexedField extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.GetIndexedField) GetIndexedFieldOrBuilder { private static final long serialVersionUID = 0L; // Use GetIndexedField.newBuilder() to construct. private GetIndexedField(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetIndexedField() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetIndexedField(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_GetIndexedField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_GetIndexedField_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.GetIndexedField.class, ai.chalk.protos.chalk.expression.v1.GetIndexedField.Builder.class); } private int bitField0_; private int fieldCase_ = 0; @SuppressWarnings("serial") private java.lang.Object field_; public enum FieldCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NAMED_STRUCT_FIELD(2), LIST_INDEX(3), LIST_RANGE(4), FIELD_NOT_SET(0); private final int value; private FieldCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static FieldCase valueOf(int value) { return forNumber(value); } public static FieldCase forNumber(int value) { switch (value) { case 2: return NAMED_STRUCT_FIELD; case 3: return LIST_INDEX; case 4: return LIST_RANGE; case 0: return FIELD_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public FieldCase getFieldCase() { return FieldCase.forNumber( fieldCase_); } public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } public static final int NAMED_STRUCT_FIELD_FIELD_NUMBER = 2; /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> * @return Whether the namedStructField field is set. */ @java.lang.Override public boolean hasNamedStructField() { return fieldCase_ == 2; } /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> * @return The namedStructField. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.NamedStructField getNamedStructField() { if (fieldCase_ == 2) { return (ai.chalk.protos.chalk.expression.v1.NamedStructField) field_; } return ai.chalk.protos.chalk.expression.v1.NamedStructField.getDefaultInstance(); } /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.NamedStructFieldOrBuilder getNamedStructFieldOrBuilder() { if (fieldCase_ == 2) { return (ai.chalk.protos.chalk.expression.v1.NamedStructField) field_; } return ai.chalk.protos.chalk.expression.v1.NamedStructField.getDefaultInstance(); } public static final int LIST_INDEX_FIELD_NUMBER = 3; /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> * @return Whether the listIndex field is set. */ @java.lang.Override public boolean hasListIndex() { return fieldCase_ == 3; } /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> * @return The listIndex. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListIndex getListIndex() { if (fieldCase_ == 3) { return (ai.chalk.protos.chalk.expression.v1.ListIndex) field_; } return ai.chalk.protos.chalk.expression.v1.ListIndex.getDefaultInstance(); } /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListIndexOrBuilder getListIndexOrBuilder() { if (fieldCase_ == 3) { return (ai.chalk.protos.chalk.expression.v1.ListIndex) field_; } return ai.chalk.protos.chalk.expression.v1.ListIndex.getDefaultInstance(); } public static final int LIST_RANGE_FIELD_NUMBER = 4; /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> * @return Whether the listRange field is set. */ @java.lang.Override public boolean hasListRange() { return fieldCase_ == 4; } /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> * @return The listRange. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListRange getListRange() { if (fieldCase_ == 4) { return (ai.chalk.protos.chalk.expression.v1.ListRange) field_; } return ai.chalk.protos.chalk.expression.v1.ListRange.getDefaultInstance(); } /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListRangeOrBuilder getListRangeOrBuilder() { if (fieldCase_ == 4) { return (ai.chalk.protos.chalk.expression.v1.ListRange) field_; } return ai.chalk.protos.chalk.expression.v1.ListRange.getDefaultInstance(); } 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, getExpr()); } if (fieldCase_ == 2) { output.writeMessage(2, (ai.chalk.protos.chalk.expression.v1.NamedStructField) field_); } if (fieldCase_ == 3) { output.writeMessage(3, (ai.chalk.protos.chalk.expression.v1.ListIndex) field_); } if (fieldCase_ == 4) { output.writeMessage(4, (ai.chalk.protos.chalk.expression.v1.ListRange) field_); } 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, getExpr()); } if (fieldCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (ai.chalk.protos.chalk.expression.v1.NamedStructField) field_); } if (fieldCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (ai.chalk.protos.chalk.expression.v1.ListIndex) field_); } if (fieldCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (ai.chalk.protos.chalk.expression.v1.ListRange) field_); } 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 ai.chalk.protos.chalk.expression.v1.GetIndexedField)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.GetIndexedField other = (ai.chalk.protos.chalk.expression.v1.GetIndexedField) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) return false; } if (!getFieldCase().equals(other.getFieldCase())) return false; switch (fieldCase_) { case 2: if (!getNamedStructField() .equals(other.getNamedStructField())) return false; break; case 3: if (!getListIndex() .equals(other.getListIndex())) return false; break; case 4: if (!getListRange() .equals(other.getListRange())) return false; break; case 0: default: } 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } switch (fieldCase_) { case 2: hash = (37 * hash) + NAMED_STRUCT_FIELD_FIELD_NUMBER; hash = (53 * hash) + getNamedStructField().hashCode(); break; case 3: hash = (37 * hash) + LIST_INDEX_FIELD_NUMBER; hash = (53 * hash) + getListIndex().hashCode(); break; case 4: hash = (37 * hash) + LIST_RANGE_FIELD_NUMBER; hash = (53 * hash) + getListRange().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.GetIndexedField 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.GetIndexedField} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.GetIndexedField) ai.chalk.protos.chalk.expression.v1.GetIndexedFieldOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_GetIndexedField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_GetIndexedField_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.GetIndexedField.class, ai.chalk.protos.chalk.expression.v1.GetIndexedField.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.GetIndexedField.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } if (namedStructFieldBuilder_ != null) { namedStructFieldBuilder_.clear(); } if (listIndexBuilder_ != null) { listIndexBuilder_.clear(); } if (listRangeBuilder_ != null) { listRangeBuilder_.clear(); } fieldCase_ = 0; field_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_GetIndexedField_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.GetIndexedField getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.GetIndexedField.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.GetIndexedField build() { ai.chalk.protos.chalk.expression.v1.GetIndexedField result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.GetIndexedField buildPartial() { ai.chalk.protos.chalk.expression.v1.GetIndexedField result = new ai.chalk.protos.chalk.expression.v1.GetIndexedField(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.GetIndexedField result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(ai.chalk.protos.chalk.expression.v1.GetIndexedField result) { result.fieldCase_ = fieldCase_; result.field_ = this.field_; if (fieldCase_ == 2 && namedStructFieldBuilder_ != null) { result.field_ = namedStructFieldBuilder_.build(); } if (fieldCase_ == 3 && listIndexBuilder_ != null) { result.field_ = listIndexBuilder_.build(); } if (fieldCase_ == 4 && listRangeBuilder_ != null) { result.field_ = listRangeBuilder_.build(); } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.GetIndexedField) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.GetIndexedField)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.GetIndexedField other) { if (other == ai.chalk.protos.chalk.expression.v1.GetIndexedField.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } switch (other.getFieldCase()) { case NAMED_STRUCT_FIELD: { mergeNamedStructField(other.getNamedStructField()); break; } case LIST_INDEX: { mergeListIndex(other.getListIndex()); break; } case LIST_RANGE: { mergeListRange(other.getListRange()); break; } case FIELD_NOT_SET: { break; } } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getNamedStructFieldFieldBuilder().getBuilder(), extensionRegistry); fieldCase_ = 2; break; } // case 18 case 26: { input.readMessage( getListIndexFieldBuilder().getBuilder(), extensionRegistry); fieldCase_ = 3; break; } // case 26 case 34: { input.readMessage( getListRangeFieldBuilder().getBuilder(), extensionRegistry); fieldCase_ = 4; break; } // case 34 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 fieldCase_ = 0; private java.lang.Object field_; public FieldCase getFieldCase() { return FieldCase.forNumber( fieldCase_); } public Builder clearField() { fieldCase_ = 0; field_ = null; onChanged(); return this; } private int bitField0_; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.NamedStructField, ai.chalk.protos.chalk.expression.v1.NamedStructField.Builder, ai.chalk.protos.chalk.expression.v1.NamedStructFieldOrBuilder> namedStructFieldBuilder_; /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> * @return Whether the namedStructField field is set. */ @java.lang.Override public boolean hasNamedStructField() { return fieldCase_ == 2; } /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> * @return The namedStructField. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.NamedStructField getNamedStructField() { if (namedStructFieldBuilder_ == null) { if (fieldCase_ == 2) { return (ai.chalk.protos.chalk.expression.v1.NamedStructField) field_; } return ai.chalk.protos.chalk.expression.v1.NamedStructField.getDefaultInstance(); } else { if (fieldCase_ == 2) { return namedStructFieldBuilder_.getMessage(); } return ai.chalk.protos.chalk.expression.v1.NamedStructField.getDefaultInstance(); } } /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> */ public Builder setNamedStructField(ai.chalk.protos.chalk.expression.v1.NamedStructField value) { if (namedStructFieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); } field_ = value; onChanged(); } else { namedStructFieldBuilder_.setMessage(value); } fieldCase_ = 2; return this; } /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> */ public Builder setNamedStructField( ai.chalk.protos.chalk.expression.v1.NamedStructField.Builder builderForValue) { if (namedStructFieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); } else { namedStructFieldBuilder_.setMessage(builderForValue.build()); } fieldCase_ = 2; return this; } /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> */ public Builder mergeNamedStructField(ai.chalk.protos.chalk.expression.v1.NamedStructField value) { if (namedStructFieldBuilder_ == null) { if (fieldCase_ == 2 && field_ != ai.chalk.protos.chalk.expression.v1.NamedStructField.getDefaultInstance()) { field_ = ai.chalk.protos.chalk.expression.v1.NamedStructField.newBuilder((ai.chalk.protos.chalk.expression.v1.NamedStructField) field_) .mergeFrom(value).buildPartial(); } else { field_ = value; } onChanged(); } else { if (fieldCase_ == 2) { namedStructFieldBuilder_.mergeFrom(value); } else { namedStructFieldBuilder_.setMessage(value); } } fieldCase_ = 2; return this; } /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> */ public Builder clearNamedStructField() { if (namedStructFieldBuilder_ == null) { if (fieldCase_ == 2) { fieldCase_ = 0; field_ = null; onChanged(); } } else { if (fieldCase_ == 2) { fieldCase_ = 0; field_ = null; } namedStructFieldBuilder_.clear(); } return this; } /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> */ public ai.chalk.protos.chalk.expression.v1.NamedStructField.Builder getNamedStructFieldBuilder() { return getNamedStructFieldFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.NamedStructFieldOrBuilder getNamedStructFieldOrBuilder() { if ((fieldCase_ == 2) && (namedStructFieldBuilder_ != null)) { return namedStructFieldBuilder_.getMessageOrBuilder(); } else { if (fieldCase_ == 2) { return (ai.chalk.protos.chalk.expression.v1.NamedStructField) field_; } return ai.chalk.protos.chalk.expression.v1.NamedStructField.getDefaultInstance(); } } /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.NamedStructField, ai.chalk.protos.chalk.expression.v1.NamedStructField.Builder, ai.chalk.protos.chalk.expression.v1.NamedStructFieldOrBuilder> getNamedStructFieldFieldBuilder() { if (namedStructFieldBuilder_ == null) { if (!(fieldCase_ == 2)) { field_ = ai.chalk.protos.chalk.expression.v1.NamedStructField.getDefaultInstance(); } namedStructFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.NamedStructField, ai.chalk.protos.chalk.expression.v1.NamedStructField.Builder, ai.chalk.protos.chalk.expression.v1.NamedStructFieldOrBuilder>( (ai.chalk.protos.chalk.expression.v1.NamedStructField) field_, getParentForChildren(), isClean()); field_ = null; } fieldCase_ = 2; onChanged(); return namedStructFieldBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.ListIndex, ai.chalk.protos.chalk.expression.v1.ListIndex.Builder, ai.chalk.protos.chalk.expression.v1.ListIndexOrBuilder> listIndexBuilder_; /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> * @return Whether the listIndex field is set. */ @java.lang.Override public boolean hasListIndex() { return fieldCase_ == 3; } /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> * @return The listIndex. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListIndex getListIndex() { if (listIndexBuilder_ == null) { if (fieldCase_ == 3) { return (ai.chalk.protos.chalk.expression.v1.ListIndex) field_; } return ai.chalk.protos.chalk.expression.v1.ListIndex.getDefaultInstance(); } else { if (fieldCase_ == 3) { return listIndexBuilder_.getMessage(); } return ai.chalk.protos.chalk.expression.v1.ListIndex.getDefaultInstance(); } } /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> */ public Builder setListIndex(ai.chalk.protos.chalk.expression.v1.ListIndex value) { if (listIndexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } field_ = value; onChanged(); } else { listIndexBuilder_.setMessage(value); } fieldCase_ = 3; return this; } /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> */ public Builder setListIndex( ai.chalk.protos.chalk.expression.v1.ListIndex.Builder builderForValue) { if (listIndexBuilder_ == null) { field_ = builderForValue.build(); onChanged(); } else { listIndexBuilder_.setMessage(builderForValue.build()); } fieldCase_ = 3; return this; } /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> */ public Builder mergeListIndex(ai.chalk.protos.chalk.expression.v1.ListIndex value) { if (listIndexBuilder_ == null) { if (fieldCase_ == 3 && field_ != ai.chalk.protos.chalk.expression.v1.ListIndex.getDefaultInstance()) { field_ = ai.chalk.protos.chalk.expression.v1.ListIndex.newBuilder((ai.chalk.protos.chalk.expression.v1.ListIndex) field_) .mergeFrom(value).buildPartial(); } else { field_ = value; } onChanged(); } else { if (fieldCase_ == 3) { listIndexBuilder_.mergeFrom(value); } else { listIndexBuilder_.setMessage(value); } } fieldCase_ = 3; return this; } /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> */ public Builder clearListIndex() { if (listIndexBuilder_ == null) { if (fieldCase_ == 3) { fieldCase_ = 0; field_ = null; onChanged(); } } else { if (fieldCase_ == 3) { fieldCase_ = 0; field_ = null; } listIndexBuilder_.clear(); } return this; } /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> */ public ai.chalk.protos.chalk.expression.v1.ListIndex.Builder getListIndexBuilder() { return getListIndexFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListIndexOrBuilder getListIndexOrBuilder() { if ((fieldCase_ == 3) && (listIndexBuilder_ != null)) { return listIndexBuilder_.getMessageOrBuilder(); } else { if (fieldCase_ == 3) { return (ai.chalk.protos.chalk.expression.v1.ListIndex) field_; } return ai.chalk.protos.chalk.expression.v1.ListIndex.getDefaultInstance(); } } /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.ListIndex, ai.chalk.protos.chalk.expression.v1.ListIndex.Builder, ai.chalk.protos.chalk.expression.v1.ListIndexOrBuilder> getListIndexFieldBuilder() { if (listIndexBuilder_ == null) { if (!(fieldCase_ == 3)) { field_ = ai.chalk.protos.chalk.expression.v1.ListIndex.getDefaultInstance(); } listIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.ListIndex, ai.chalk.protos.chalk.expression.v1.ListIndex.Builder, ai.chalk.protos.chalk.expression.v1.ListIndexOrBuilder>( (ai.chalk.protos.chalk.expression.v1.ListIndex) field_, getParentForChildren(), isClean()); field_ = null; } fieldCase_ = 3; onChanged(); return listIndexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.ListRange, ai.chalk.protos.chalk.expression.v1.ListRange.Builder, ai.chalk.protos.chalk.expression.v1.ListRangeOrBuilder> listRangeBuilder_; /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> * @return Whether the listRange field is set. */ @java.lang.Override public boolean hasListRange() { return fieldCase_ == 4; } /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> * @return The listRange. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListRange getListRange() { if (listRangeBuilder_ == null) { if (fieldCase_ == 4) { return (ai.chalk.protos.chalk.expression.v1.ListRange) field_; } return ai.chalk.protos.chalk.expression.v1.ListRange.getDefaultInstance(); } else { if (fieldCase_ == 4) { return listRangeBuilder_.getMessage(); } return ai.chalk.protos.chalk.expression.v1.ListRange.getDefaultInstance(); } } /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> */ public Builder setListRange(ai.chalk.protos.chalk.expression.v1.ListRange value) { if (listRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } field_ = value; onChanged(); } else { listRangeBuilder_.setMessage(value); } fieldCase_ = 4; return this; } /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> */ public Builder setListRange( ai.chalk.protos.chalk.expression.v1.ListRange.Builder builderForValue) { if (listRangeBuilder_ == null) { field_ = builderForValue.build(); onChanged(); } else { listRangeBuilder_.setMessage(builderForValue.build()); } fieldCase_ = 4; return this; } /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> */ public Builder mergeListRange(ai.chalk.protos.chalk.expression.v1.ListRange value) { if (listRangeBuilder_ == null) { if (fieldCase_ == 4 && field_ != ai.chalk.protos.chalk.expression.v1.ListRange.getDefaultInstance()) { field_ = ai.chalk.protos.chalk.expression.v1.ListRange.newBuilder((ai.chalk.protos.chalk.expression.v1.ListRange) field_) .mergeFrom(value).buildPartial(); } else { field_ = value; } onChanged(); } else { if (fieldCase_ == 4) { listRangeBuilder_.mergeFrom(value); } else { listRangeBuilder_.setMessage(value); } } fieldCase_ = 4; return this; } /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> */ public Builder clearListRange() { if (listRangeBuilder_ == null) { if (fieldCase_ == 4) { fieldCase_ = 0; field_ = null; onChanged(); } } else { if (fieldCase_ == 4) { fieldCase_ = 0; field_ = null; } listRangeBuilder_.clear(); } return this; } /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> */ public ai.chalk.protos.chalk.expression.v1.ListRange.Builder getListRangeBuilder() { return getListRangeFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListRangeOrBuilder getListRangeOrBuilder() { if ((fieldCase_ == 4) && (listRangeBuilder_ != null)) { return listRangeBuilder_.getMessageOrBuilder(); } else { if (fieldCase_ == 4) { return (ai.chalk.protos.chalk.expression.v1.ListRange) field_; } return ai.chalk.protos.chalk.expression.v1.ListRange.getDefaultInstance(); } } /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.ListRange, ai.chalk.protos.chalk.expression.v1.ListRange.Builder, ai.chalk.protos.chalk.expression.v1.ListRangeOrBuilder> getListRangeFieldBuilder() { if (listRangeBuilder_ == null) { if (!(fieldCase_ == 4)) { field_ = ai.chalk.protos.chalk.expression.v1.ListRange.getDefaultInstance(); } listRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.ListRange, ai.chalk.protos.chalk.expression.v1.ListRange.Builder, ai.chalk.protos.chalk.expression.v1.ListRangeOrBuilder>( (ai.chalk.protos.chalk.expression.v1.ListRange) field_, getParentForChildren(), isClean()); field_ = null; } fieldCase_ = 4; onChanged(); return listRangeBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.GetIndexedField) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.GetIndexedField) private static final ai.chalk.protos.chalk.expression.v1.GetIndexedField DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.GetIndexedField(); } public static ai.chalk.protos.chalk.expression.v1.GetIndexedField getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetIndexedField> PARSER = new com.google.protobuf.AbstractParser<GetIndexedField>() { @java.lang.Override public GetIndexedField 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<GetIndexedField> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetIndexedField> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.GetIndexedField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/GetIndexedFieldOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface GetIndexedFieldOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.GetIndexedField) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> * @return Whether the namedStructField field is set. */ boolean hasNamedStructField(); /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> * @return The namedStructField. */ ai.chalk.protos.chalk.expression.v1.NamedStructField getNamedStructField(); /** * <code>.chalk.expression.v1.NamedStructField named_struct_field = 2 [json_name = "namedStructField"];</code> */ ai.chalk.protos.chalk.expression.v1.NamedStructFieldOrBuilder getNamedStructFieldOrBuilder(); /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> * @return Whether the listIndex field is set. */ boolean hasListIndex(); /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> * @return The listIndex. */ ai.chalk.protos.chalk.expression.v1.ListIndex getListIndex(); /** * <code>.chalk.expression.v1.ListIndex list_index = 3 [json_name = "listIndex"];</code> */ ai.chalk.protos.chalk.expression.v1.ListIndexOrBuilder getListIndexOrBuilder(); /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> * @return Whether the listRange field is set. */ boolean hasListRange(); /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> * @return The listRange. */ ai.chalk.protos.chalk.expression.v1.ListRange getListRange(); /** * <code>.chalk.expression.v1.ListRange list_range = 4 [json_name = "listRange"];</code> */ ai.chalk.protos.chalk.expression.v1.ListRangeOrBuilder getListRangeOrBuilder(); ai.chalk.protos.chalk.expression.v1.GetIndexedField.FieldCase getFieldCase(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/GroupingSetNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.GroupingSetNode} */ public final class GroupingSetNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.GroupingSetNode) GroupingSetNodeOrBuilder { private static final long serialVersionUID = 0L; // Use GroupingSetNode.newBuilder() to construct. private GroupingSetNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GroupingSetNode() { expr_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GroupingSetNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_GroupingSetNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_GroupingSetNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.GroupingSetNode.class, ai.chalk.protos.chalk.expression.v1.GroupingSetNode.Builder.class); } public static final int EXPR_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprList> expr_; /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprList> getExprList() { return expr_; } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprListOrBuilder> getExprOrBuilderList() { return expr_; } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public int getExprCount() { return expr_.size(); } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprList getExpr(int index) { return expr_.get(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprListOrBuilder getExprOrBuilder( int index) { return expr_.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 < expr_.size(); i++) { output.writeMessage(1, expr_.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 < expr_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, expr_.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 ai.chalk.protos.chalk.expression.v1.GroupingSetNode)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.GroupingSetNode other = (ai.chalk.protos.chalk.expression.v1.GroupingSetNode) obj; if (!getExprList() .equals(other.getExprList())) 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 (getExprCount() > 0) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExprList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.GroupingSetNode 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.GroupingSetNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.GroupingSetNode) ai.chalk.protos.chalk.expression.v1.GroupingSetNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_GroupingSetNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_GroupingSetNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.GroupingSetNode.class, ai.chalk.protos.chalk.expression.v1.GroupingSetNode.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.GroupingSetNode.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (exprBuilder_ == null) { expr_ = java.util.Collections.emptyList(); } else { expr_ = null; exprBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_GroupingSetNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.GroupingSetNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.GroupingSetNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.GroupingSetNode build() { ai.chalk.protos.chalk.expression.v1.GroupingSetNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.GroupingSetNode buildPartial() { ai.chalk.protos.chalk.expression.v1.GroupingSetNode result = new ai.chalk.protos.chalk.expression.v1.GroupingSetNode(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.GroupingSetNode result) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { expr_ = java.util.Collections.unmodifiableList(expr_); bitField0_ = (bitField0_ & ~0x00000001); } result.expr_ = expr_; } else { result.expr_ = exprBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.GroupingSetNode result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.GroupingSetNode) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.GroupingSetNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.GroupingSetNode other) { if (other == ai.chalk.protos.chalk.expression.v1.GroupingSetNode.getDefaultInstance()) return this; if (exprBuilder_ == null) { if (!other.expr_.isEmpty()) { if (expr_.isEmpty()) { expr_ = other.expr_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureExprIsMutable(); expr_.addAll(other.expr_); } onChanged(); } } else { if (!other.expr_.isEmpty()) { if (exprBuilder_.isEmpty()) { exprBuilder_.dispose(); exprBuilder_ = null; expr_ = other.expr_; bitField0_ = (bitField0_ & ~0x00000001); exprBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getExprFieldBuilder() : null; } else { exprBuilder_.addAllMessages(other.expr_); } } } 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: { ai.chalk.protos.chalk.expression.v1.LogicalExprList m = input.readMessage( ai.chalk.protos.chalk.expression.v1.LogicalExprList.parser(), extensionRegistry); if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.add(m); } else { exprBuilder_.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<ai.chalk.protos.chalk.expression.v1.LogicalExprList> expr_ = java.util.Collections.emptyList(); private void ensureExprIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { expr_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprList>(expr_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprList, ai.chalk.protos.chalk.expression.v1.LogicalExprList.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprListOrBuilder> exprBuilder_; /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprList> getExprList() { if (exprBuilder_ == null) { return java.util.Collections.unmodifiableList(expr_); } else { return exprBuilder_.getMessageList(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public int getExprCount() { if (exprBuilder_ == null) { return expr_.size(); } else { return exprBuilder_.getCount(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprList getExpr(int index) { if (exprBuilder_ == null) { return expr_.get(index); } else { return exprBuilder_.getMessage(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprList value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExprIsMutable(); expr_.set(index, value); onChanged(); } else { exprBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprList.Builder builderForValue) { if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.set(index, builderForValue.build()); onChanged(); } else { exprBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public Builder addExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprList value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExprIsMutable(); expr_.add(value); onChanged(); } else { exprBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public Builder addExpr( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprList value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureExprIsMutable(); expr_.add(index, value); onChanged(); } else { exprBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public Builder addExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprList.Builder builderForValue) { if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.add(builderForValue.build()); onChanged(); } else { exprBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public Builder addExpr( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprList.Builder builderForValue) { if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.add(index, builderForValue.build()); onChanged(); } else { exprBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public Builder addAllExpr( java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprList> values) { if (exprBuilder_ == null) { ensureExprIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, expr_); onChanged(); } else { exprBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { if (exprBuilder_ == null) { expr_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { exprBuilder_.clear(); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public Builder removeExpr(int index) { if (exprBuilder_ == null) { ensureExprIsMutable(); expr_.remove(index); onChanged(); } else { exprBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprList.Builder getExprBuilder( int index) { return getExprFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprListOrBuilder getExprOrBuilder( int index) { if (exprBuilder_ == null) { return expr_.get(index); } else { return exprBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprListOrBuilder> getExprOrBuilderList() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(expr_); } } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprList.Builder addExprBuilder() { return getExprFieldBuilder().addBuilder( ai.chalk.protos.chalk.expression.v1.LogicalExprList.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprList.Builder addExprBuilder( int index) { return getExprFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.expression.v1.LogicalExprList.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprList.Builder> getExprBuilderList() { return getExprFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprList, ai.chalk.protos.chalk.expression.v1.LogicalExprList.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprListOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprList, ai.chalk.protos.chalk.expression.v1.LogicalExprList.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprListOrBuilder>( expr_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.GroupingSetNode) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.GroupingSetNode) private static final ai.chalk.protos.chalk.expression.v1.GroupingSetNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.GroupingSetNode(); } public static ai.chalk.protos.chalk.expression.v1.GroupingSetNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GroupingSetNode> PARSER = new com.google.protobuf.AbstractParser<GroupingSetNode>() { @java.lang.Override public GroupingSetNode 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<GroupingSetNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GroupingSetNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.GroupingSetNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/GroupingSetNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface GroupingSetNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.GroupingSetNode) com.google.protobuf.MessageOrBuilder { /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprList> getExprList(); /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprList getExpr(int index); /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ int getExprCount(); /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprListOrBuilder> getExprOrBuilderList(); /** * <code>repeated .chalk.expression.v1.LogicalExprList expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprListOrBuilder getExprOrBuilder( int index); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ILikeNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.ILikeNode} */ public final class ILikeNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.ILikeNode) ILikeNodeOrBuilder { private static final long serialVersionUID = 0L; // Use ILikeNode.newBuilder() to construct. private ILikeNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ILikeNode() { escapeChar_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ILikeNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ILikeNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ILikeNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ILikeNode.class, ai.chalk.protos.chalk.expression.v1.ILikeNode.Builder.class); } private int bitField0_; public static final int NEGATED_FIELD_NUMBER = 1; private boolean negated_ = false; /** * <code>bool negated = 1 [json_name = "negated"];</code> * @return The negated. */ @java.lang.Override public boolean getNegated() { return negated_; } public static final int EXPR_FIELD_NUMBER = 2; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } public static final int PATTERN_FIELD_NUMBER = 3; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode pattern_; /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> * @return Whether the pattern field is set. */ @java.lang.Override public boolean hasPattern() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> * @return The pattern. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getPattern() { return pattern_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : pattern_; } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getPatternOrBuilder() { return pattern_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : pattern_; } public static final int ESCAPE_CHAR_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object escapeChar_ = ""; /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return The escapeChar. */ @java.lang.Override public java.lang.String getEscapeChar() { java.lang.Object ref = escapeChar_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); escapeChar_ = s; return s; } } /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return The bytes for escapeChar. */ @java.lang.Override public com.google.protobuf.ByteString getEscapeCharBytes() { java.lang.Object ref = escapeChar_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); escapeChar_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (negated_ != false) { output.writeBool(1, negated_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getExpr()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getPattern()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(escapeChar_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, escapeChar_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (negated_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, negated_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getExpr()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getPattern()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(escapeChar_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, escapeChar_); } 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 ai.chalk.protos.chalk.expression.v1.ILikeNode)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.ILikeNode other = (ai.chalk.protos.chalk.expression.v1.ILikeNode) obj; if (getNegated() != other.getNegated()) return false; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) return false; } if (hasPattern() != other.hasPattern()) return false; if (hasPattern()) { if (!getPattern() .equals(other.getPattern())) return false; } if (!getEscapeChar() .equals(other.getEscapeChar())) 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(); hash = (37 * hash) + NEGATED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNegated()); if (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } if (hasPattern()) { hash = (37 * hash) + PATTERN_FIELD_NUMBER; hash = (53 * hash) + getPattern().hashCode(); } hash = (37 * hash) + ESCAPE_CHAR_FIELD_NUMBER; hash = (53 * hash) + getEscapeChar().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.ILikeNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ILikeNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ILikeNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ILikeNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ILikeNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ILikeNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ILikeNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ILikeNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ILikeNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ILikeNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ILikeNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ILikeNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.ILikeNode 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.ILikeNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.ILikeNode) ai.chalk.protos.chalk.expression.v1.ILikeNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ILikeNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ILikeNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ILikeNode.class, ai.chalk.protos.chalk.expression.v1.ILikeNode.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.ILikeNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); getPatternFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; negated_ = false; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } pattern_ = null; if (patternBuilder_ != null) { patternBuilder_.dispose(); patternBuilder_ = null; } escapeChar_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ILikeNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ILikeNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.ILikeNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ILikeNode build() { ai.chalk.protos.chalk.expression.v1.ILikeNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ILikeNode buildPartial() { ai.chalk.protos.chalk.expression.v1.ILikeNode result = new ai.chalk.protos.chalk.expression.v1.ILikeNode(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.ILikeNode result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.negated_ = negated_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.pattern_ = patternBuilder_ == null ? pattern_ : patternBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.escapeChar_ = escapeChar_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.ILikeNode) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.ILikeNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.ILikeNode other) { if (other == ai.chalk.protos.chalk.expression.v1.ILikeNode.getDefaultInstance()) return this; if (other.getNegated() != false) { setNegated(other.getNegated()); } if (other.hasExpr()) { mergeExpr(other.getExpr()); } if (other.hasPattern()) { mergePattern(other.getPattern()); } if (!other.getEscapeChar().isEmpty()) { escapeChar_ = other.escapeChar_; bitField0_ |= 0x00000008; onChanged(); } 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 8: { negated_ = input.readBool(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { input.readMessage( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getPatternFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { escapeChar_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 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 boolean negated_ ; /** * <code>bool negated = 1 [json_name = "negated"];</code> * @return The negated. */ @java.lang.Override public boolean getNegated() { return negated_; } /** * <code>bool negated = 1 [json_name = "negated"];</code> * @param value The negated to set. * @return This builder for chaining. */ public Builder setNegated(boolean value) { negated_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>bool negated = 1 [json_name = "negated"];</code> * @return This builder for chaining. */ public Builder clearNegated() { bitField0_ = (bitField0_ & ~0x00000001); negated_ = false; onChanged(); return this; } private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000002); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000002; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } private ai.chalk.protos.chalk.expression.v1.LogicalExprNode pattern_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> patternBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> * @return Whether the pattern field is set. */ public boolean hasPattern() { return ((bitField0_ & 0x00000004) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> * @return The pattern. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getPattern() { if (patternBuilder_ == null) { return pattern_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : pattern_; } else { return patternBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ public Builder setPattern(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (patternBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pattern_ = value; } else { patternBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ public Builder setPattern( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (patternBuilder_ == null) { pattern_ = builderForValue.build(); } else { patternBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ public Builder mergePattern(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (patternBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && pattern_ != null && pattern_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getPatternBuilder().mergeFrom(value); } else { pattern_ = value; } } else { patternBuilder_.mergeFrom(value); } if (pattern_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ public Builder clearPattern() { bitField0_ = (bitField0_ & ~0x00000004); pattern_ = null; if (patternBuilder_ != null) { patternBuilder_.dispose(); patternBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getPatternBuilder() { bitField0_ |= 0x00000004; onChanged(); return getPatternFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getPatternOrBuilder() { if (patternBuilder_ != null) { return patternBuilder_.getMessageOrBuilder(); } else { return pattern_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : pattern_; } } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getPatternFieldBuilder() { if (patternBuilder_ == null) { patternBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getPattern(), getParentForChildren(), isClean()); pattern_ = null; } return patternBuilder_; } private java.lang.Object escapeChar_ = ""; /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return The escapeChar. */ public java.lang.String getEscapeChar() { java.lang.Object ref = escapeChar_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); escapeChar_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return The bytes for escapeChar. */ public com.google.protobuf.ByteString getEscapeCharBytes() { java.lang.Object ref = escapeChar_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); escapeChar_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @param value The escapeChar to set. * @return This builder for chaining. */ public Builder setEscapeChar( java.lang.String value) { if (value == null) { throw new NullPointerException(); } escapeChar_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return This builder for chaining. */ public Builder clearEscapeChar() { escapeChar_ = getDefaultInstance().getEscapeChar(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @param value The bytes for escapeChar to set. * @return This builder for chaining. */ public Builder setEscapeCharBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); escapeChar_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.ILikeNode) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.ILikeNode) private static final ai.chalk.protos.chalk.expression.v1.ILikeNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.ILikeNode(); } public static ai.chalk.protos.chalk.expression.v1.ILikeNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ILikeNode> PARSER = new com.google.protobuf.AbstractParser<ILikeNode>() { @java.lang.Override public ILikeNode 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<ILikeNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ILikeNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ILikeNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ILikeNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface ILikeNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.ILikeNode) com.google.protobuf.MessageOrBuilder { /** * <code>bool negated = 1 [json_name = "negated"];</code> * @return The negated. */ boolean getNegated(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> * @return Whether the pattern field is set. */ boolean hasPattern(); /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> * @return The pattern. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getPattern(); /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getPatternOrBuilder(); /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return The escapeChar. */ java.lang.String getEscapeChar(); /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return The bytes for escapeChar. */ com.google.protobuf.ByteString getEscapeCharBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/Identifier.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.Identifier} */ public final class Identifier extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.Identifier) IdentifierOrBuilder { private static final long serialVersionUID = 0L; // Use Identifier.newBuilder() to construct. private Identifier(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private Identifier() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Identifier(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Identifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Identifier_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.Identifier.class, ai.chalk.protos.chalk.expression.v1.Identifier.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * <code>string name = 1 [json_name = "name"];</code> * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * <code>string name = 1 [json_name = "name"];</code> * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } 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 ai.chalk.protos.chalk.expression.v1.Identifier)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.Identifier other = (ai.chalk.protos.chalk.expression.v1.Identifier) obj; if (!getName() .equals(other.getName())) 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(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.Identifier parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.Identifier parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.Identifier parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.Identifier parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.Identifier parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.Identifier parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.Identifier parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.Identifier parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.Identifier parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.Identifier parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.Identifier parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.Identifier parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.Identifier 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.Identifier} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.Identifier) ai.chalk.protos.chalk.expression.v1.IdentifierOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Identifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Identifier_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.Identifier.class, ai.chalk.protos.chalk.expression.v1.Identifier.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.Identifier.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_Identifier_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.Identifier getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.Identifier build() { ai.chalk.protos.chalk.expression.v1.Identifier result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.Identifier buildPartial() { ai.chalk.protos.chalk.expression.v1.Identifier result = new ai.chalk.protos.chalk.expression.v1.Identifier(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.Identifier result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.Identifier) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.Identifier)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.Identifier other) { if (other == ai.chalk.protos.chalk.expression.v1.Identifier.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } 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: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; 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.lang.Object name_ = ""; /** * <code>string name = 1 [json_name = "name"];</code> * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string name = 1 [json_name = "name"];</code> * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string name = 1 [json_name = "name"];</code> * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string name = 1 [json_name = "name"];</code> * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string name = 1 [json_name = "name"];</code> * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.Identifier) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.Identifier) private static final ai.chalk.protos.chalk.expression.v1.Identifier DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.Identifier(); } public static ai.chalk.protos.chalk.expression.v1.Identifier getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<Identifier> PARSER = new com.google.protobuf.AbstractParser<Identifier>() { @java.lang.Override public Identifier 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<Identifier> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<Identifier> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.Identifier getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IdentifierOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface IdentifierOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.Identifier) com.google.protobuf.MessageOrBuilder { /** * <code>string name = 1 [json_name = "name"];</code> * @return The name. */ java.lang.String getName(); /** * <code>string name = 1 [json_name = "name"];</code> * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/InListNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.InListNode} */ public final class InListNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.InListNode) InListNodeOrBuilder { private static final long serialVersionUID = 0L; // Use InListNode.newBuilder() to construct. private InListNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private InListNode() { list_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InListNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_InListNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_InListNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.InListNode.class, ai.chalk.protos.chalk.expression.v1.InListNode.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } public static final int LIST_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> list_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getListList() { return list_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getListOrBuilderList() { return list_; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ @java.lang.Override public int getListCount() { return list_.size(); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getList(int index) { return list_.get(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getListOrBuilder( int index) { return list_.get(index); } public static final int NEGATED_FIELD_NUMBER = 3; private boolean negated_ = false; /** * <code>bool negated = 3 [json_name = "negated"];</code> * @return The negated. */ @java.lang.Override public boolean getNegated() { return negated_; } 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, getExpr()); } for (int i = 0; i < list_.size(); i++) { output.writeMessage(2, list_.get(i)); } if (negated_ != false) { output.writeBool(3, negated_); } 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, getExpr()); } for (int i = 0; i < list_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, list_.get(i)); } if (negated_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, negated_); } 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 ai.chalk.protos.chalk.expression.v1.InListNode)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.InListNode other = (ai.chalk.protos.chalk.expression.v1.InListNode) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) return false; } if (!getListList() .equals(other.getListList())) return false; if (getNegated() != other.getNegated()) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } if (getListCount() > 0) { hash = (37 * hash) + LIST_FIELD_NUMBER; hash = (53 * hash) + getListList().hashCode(); } hash = (37 * hash) + NEGATED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNegated()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.InListNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.InListNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.InListNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.InListNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.InListNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.InListNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.InListNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.InListNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.InListNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.InListNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.InListNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.InListNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.InListNode 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.InListNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.InListNode) ai.chalk.protos.chalk.expression.v1.InListNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_InListNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_InListNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.InListNode.class, ai.chalk.protos.chalk.expression.v1.InListNode.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.InListNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); getListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } if (listBuilder_ == null) { list_ = java.util.Collections.emptyList(); } else { list_ = null; listBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); negated_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_InListNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.InListNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.InListNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.InListNode build() { ai.chalk.protos.chalk.expression.v1.InListNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.InListNode buildPartial() { ai.chalk.protos.chalk.expression.v1.InListNode result = new ai.chalk.protos.chalk.expression.v1.InListNode(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.expression.v1.InListNode result) { if (listBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { list_ = java.util.Collections.unmodifiableList(list_); bitField0_ = (bitField0_ & ~0x00000002); } result.list_ = list_; } else { result.list_ = listBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.InListNode result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.negated_ = negated_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.InListNode) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.InListNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.InListNode other) { if (other == ai.chalk.protos.chalk.expression.v1.InListNode.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } if (listBuilder_ == null) { if (!other.list_.isEmpty()) { if (list_.isEmpty()) { list_ = other.list_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureListIsMutable(); list_.addAll(other.list_); } onChanged(); } } else { if (!other.list_.isEmpty()) { if (listBuilder_.isEmpty()) { listBuilder_.dispose(); listBuilder_ = null; list_ = other.list_; bitField0_ = (bitField0_ & ~0x00000002); listBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getListFieldBuilder() : null; } else { listBuilder_.addAllMessages(other.list_); } } } if (other.getNegated() != false) { setNegated(other.getNegated()); } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { ai.chalk.protos.chalk.expression.v1.LogicalExprNode m = input.readMessage( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.parser(), extensionRegistry); if (listBuilder_ == null) { ensureListIsMutable(); list_.add(m); } else { listBuilder_.addMessage(m); } break; } // case 18 case 24: { negated_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } private java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> list_ = java.util.Collections.emptyList(); private void ensureListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { list_ = new java.util.ArrayList<ai.chalk.protos.chalk.expression.v1.LogicalExprNode>(list_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> listBuilder_; /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getListList() { if (listBuilder_ == null) { return java.util.Collections.unmodifiableList(list_); } else { return listBuilder_.getMessageList(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public int getListCount() { if (listBuilder_ == null) { return list_.size(); } else { return listBuilder_.getCount(); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getList(int index) { if (listBuilder_ == null) { return list_.get(index); } else { return listBuilder_.getMessage(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public Builder setList( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (listBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListIsMutable(); list_.set(index, value); onChanged(); } else { listBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public Builder setList( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.set(index, builderForValue.build()); onChanged(); } else { listBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public Builder addList(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (listBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListIsMutable(); list_.add(value); onChanged(); } else { listBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public Builder addList( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (listBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListIsMutable(); list_.add(index, value); onChanged(); } else { listBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public Builder addList( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.add(builderForValue.build()); onChanged(); } else { listBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public Builder addList( int index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (listBuilder_ == null) { ensureListIsMutable(); list_.add(index, builderForValue.build()); onChanged(); } else { listBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public Builder addAllList( java.lang.Iterable<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNode> values) { if (listBuilder_ == null) { ensureListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, list_); onChanged(); } else { listBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public Builder clearList() { if (listBuilder_ == null) { list_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { listBuilder_.clear(); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public Builder removeList(int index) { if (listBuilder_ == null) { ensureListIsMutable(); list_.remove(index); onChanged(); } else { listBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getListBuilder( int index) { return getListFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getListOrBuilder( int index) { if (listBuilder_ == null) { return list_.get(index); } else { return listBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getListOrBuilderList() { if (listBuilder_ != null) { return listBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(list_); } } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addListBuilder() { return getListFieldBuilder().addBuilder( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder addListBuilder( int index) { return getListFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()); } /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ public java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder> getListBuilderList() { return getListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getListFieldBuilder() { if (listBuilder_ == null) { listBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( list_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); list_ = null; } return listBuilder_; } private boolean negated_ ; /** * <code>bool negated = 3 [json_name = "negated"];</code> * @return The negated. */ @java.lang.Override public boolean getNegated() { return negated_; } /** * <code>bool negated = 3 [json_name = "negated"];</code> * @param value The negated to set. * @return This builder for chaining. */ public Builder setNegated(boolean value) { negated_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>bool negated = 3 [json_name = "negated"];</code> * @return This builder for chaining. */ public Builder clearNegated() { bitField0_ = (bitField0_ & ~0x00000004); negated_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.InListNode) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.InListNode) private static final ai.chalk.protos.chalk.expression.v1.InListNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.InListNode(); } public static ai.chalk.protos.chalk.expression.v1.InListNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<InListNode> PARSER = new com.google.protobuf.AbstractParser<InListNode>() { @java.lang.Override public InListNode 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<InListNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<InListNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.InListNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/InListNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface InListNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.InListNode) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ java.util.List<ai.chalk.protos.chalk.expression.v1.LogicalExprNode> getListList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getList(int index); /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ int getListCount(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getListOrBuilderList(); /** * <code>repeated .chalk.expression.v1.LogicalExprNode list = 2 [json_name = "list"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getListOrBuilder( int index); /** * <code>bool negated = 3 [json_name = "negated"];</code> * @return The negated. */ boolean getNegated(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsFalse.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.IsFalse} */ public final class IsFalse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.IsFalse) IsFalseOrBuilder { private static final long serialVersionUID = 0L; // Use IsFalse.newBuilder() to construct. private IsFalse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private IsFalse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IsFalse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsFalse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsFalse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsFalse.class, ai.chalk.protos.chalk.expression.v1.IsFalse.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } 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, getExpr()); } 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, getExpr()); } 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 ai.chalk.protos.chalk.expression.v1.IsFalse)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.IsFalse other = (ai.chalk.protos.chalk.expression.v1.IsFalse) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.IsFalse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsFalse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsFalse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsFalse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsFalse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsFalse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsFalse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsFalse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsFalse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsFalse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsFalse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsFalse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.IsFalse 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.IsFalse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.IsFalse) ai.chalk.protos.chalk.expression.v1.IsFalseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsFalse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsFalse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsFalse.class, ai.chalk.protos.chalk.expression.v1.IsFalse.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.IsFalse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsFalse_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsFalse getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.IsFalse.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsFalse build() { ai.chalk.protos.chalk.expression.v1.IsFalse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsFalse buildPartial() { ai.chalk.protos.chalk.expression.v1.IsFalse result = new ai.chalk.protos.chalk.expression.v1.IsFalse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.IsFalse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.IsFalse) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.IsFalse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.IsFalse other) { if (other == ai.chalk.protos.chalk.expression.v1.IsFalse.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.IsFalse) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.IsFalse) private static final ai.chalk.protos.chalk.expression.v1.IsFalse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.IsFalse(); } public static ai.chalk.protos.chalk.expression.v1.IsFalse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<IsFalse> PARSER = new com.google.protobuf.AbstractParser<IsFalse>() { @java.lang.Override public IsFalse 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<IsFalse> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<IsFalse> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsFalse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsFalseOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface IsFalseOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.IsFalse) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsNotFalse.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.IsNotFalse} */ public final class IsNotFalse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.IsNotFalse) IsNotFalseOrBuilder { private static final long serialVersionUID = 0L; // Use IsNotFalse.newBuilder() to construct. private IsNotFalse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private IsNotFalse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IsNotFalse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotFalse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotFalse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsNotFalse.class, ai.chalk.protos.chalk.expression.v1.IsNotFalse.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } 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, getExpr()); } 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, getExpr()); } 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 ai.chalk.protos.chalk.expression.v1.IsNotFalse)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.IsNotFalse other = (ai.chalk.protos.chalk.expression.v1.IsNotFalse) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.IsNotFalse 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.IsNotFalse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.IsNotFalse) ai.chalk.protos.chalk.expression.v1.IsNotFalseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotFalse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotFalse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsNotFalse.class, ai.chalk.protos.chalk.expression.v1.IsNotFalse.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.IsNotFalse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotFalse_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotFalse getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.IsNotFalse.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotFalse build() { ai.chalk.protos.chalk.expression.v1.IsNotFalse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotFalse buildPartial() { ai.chalk.protos.chalk.expression.v1.IsNotFalse result = new ai.chalk.protos.chalk.expression.v1.IsNotFalse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.IsNotFalse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.IsNotFalse) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.IsNotFalse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.IsNotFalse other) { if (other == ai.chalk.protos.chalk.expression.v1.IsNotFalse.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.IsNotFalse) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.IsNotFalse) private static final ai.chalk.protos.chalk.expression.v1.IsNotFalse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.IsNotFalse(); } public static ai.chalk.protos.chalk.expression.v1.IsNotFalse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<IsNotFalse> PARSER = new com.google.protobuf.AbstractParser<IsNotFalse>() { @java.lang.Override public IsNotFalse 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<IsNotFalse> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<IsNotFalse> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotFalse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsNotFalseOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface IsNotFalseOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.IsNotFalse) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsNotNull.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.IsNotNull} */ public final class IsNotNull extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.IsNotNull) IsNotNullOrBuilder { private static final long serialVersionUID = 0L; // Use IsNotNull.newBuilder() to construct. private IsNotNull(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private IsNotNull() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IsNotNull(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotNull_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotNull_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsNotNull.class, ai.chalk.protos.chalk.expression.v1.IsNotNull.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } 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, getExpr()); } 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, getExpr()); } 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 ai.chalk.protos.chalk.expression.v1.IsNotNull)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.IsNotNull other = (ai.chalk.protos.chalk.expression.v1.IsNotNull) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.IsNotNull parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNotNull parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotNull parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNotNull parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotNull parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNotNull parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotNull parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNotNull parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotNull parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNotNull parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotNull parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNotNull parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.IsNotNull 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.IsNotNull} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.IsNotNull) ai.chalk.protos.chalk.expression.v1.IsNotNullOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotNull_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotNull_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsNotNull.class, ai.chalk.protos.chalk.expression.v1.IsNotNull.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.IsNotNull.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotNull_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotNull getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.IsNotNull.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotNull build() { ai.chalk.protos.chalk.expression.v1.IsNotNull result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotNull buildPartial() { ai.chalk.protos.chalk.expression.v1.IsNotNull result = new ai.chalk.protos.chalk.expression.v1.IsNotNull(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.IsNotNull result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.IsNotNull) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.IsNotNull)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.IsNotNull other) { if (other == ai.chalk.protos.chalk.expression.v1.IsNotNull.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.IsNotNull) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.IsNotNull) private static final ai.chalk.protos.chalk.expression.v1.IsNotNull DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.IsNotNull(); } public static ai.chalk.protos.chalk.expression.v1.IsNotNull getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<IsNotNull> PARSER = new com.google.protobuf.AbstractParser<IsNotNull>() { @java.lang.Override public IsNotNull 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<IsNotNull> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<IsNotNull> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotNull getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsNotNullOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface IsNotNullOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.IsNotNull) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsNotTrue.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.IsNotTrue} */ public final class IsNotTrue extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.IsNotTrue) IsNotTrueOrBuilder { private static final long serialVersionUID = 0L; // Use IsNotTrue.newBuilder() to construct. private IsNotTrue(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private IsNotTrue() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IsNotTrue(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotTrue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotTrue_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsNotTrue.class, ai.chalk.protos.chalk.expression.v1.IsNotTrue.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } 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, getExpr()); } 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, getExpr()); } 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 ai.chalk.protos.chalk.expression.v1.IsNotTrue)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.IsNotTrue other = (ai.chalk.protos.chalk.expression.v1.IsNotTrue) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.IsNotTrue 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.IsNotTrue} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.IsNotTrue) ai.chalk.protos.chalk.expression.v1.IsNotTrueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotTrue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotTrue_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsNotTrue.class, ai.chalk.protos.chalk.expression.v1.IsNotTrue.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.IsNotTrue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotTrue_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotTrue getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.IsNotTrue.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotTrue build() { ai.chalk.protos.chalk.expression.v1.IsNotTrue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotTrue buildPartial() { ai.chalk.protos.chalk.expression.v1.IsNotTrue result = new ai.chalk.protos.chalk.expression.v1.IsNotTrue(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.IsNotTrue result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.IsNotTrue) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.IsNotTrue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.IsNotTrue other) { if (other == ai.chalk.protos.chalk.expression.v1.IsNotTrue.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.IsNotTrue) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.IsNotTrue) private static final ai.chalk.protos.chalk.expression.v1.IsNotTrue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.IsNotTrue(); } public static ai.chalk.protos.chalk.expression.v1.IsNotTrue getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<IsNotTrue> PARSER = new com.google.protobuf.AbstractParser<IsNotTrue>() { @java.lang.Override public IsNotTrue 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<IsNotTrue> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<IsNotTrue> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotTrue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsNotTrueOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface IsNotTrueOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.IsNotTrue) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsNotUnknown.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.IsNotUnknown} */ public final class IsNotUnknown extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.IsNotUnknown) IsNotUnknownOrBuilder { private static final long serialVersionUID = 0L; // Use IsNotUnknown.newBuilder() to construct. private IsNotUnknown(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private IsNotUnknown() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IsNotUnknown(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotUnknown_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotUnknown_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsNotUnknown.class, ai.chalk.protos.chalk.expression.v1.IsNotUnknown.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } 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, getExpr()); } 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, getExpr()); } 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 ai.chalk.protos.chalk.expression.v1.IsNotUnknown)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.IsNotUnknown other = (ai.chalk.protos.chalk.expression.v1.IsNotUnknown) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.IsNotUnknown 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.IsNotUnknown} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.IsNotUnknown) ai.chalk.protos.chalk.expression.v1.IsNotUnknownOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotUnknown_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotUnknown_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsNotUnknown.class, ai.chalk.protos.chalk.expression.v1.IsNotUnknown.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.IsNotUnknown.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNotUnknown_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotUnknown getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.IsNotUnknown.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotUnknown build() { ai.chalk.protos.chalk.expression.v1.IsNotUnknown result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotUnknown buildPartial() { ai.chalk.protos.chalk.expression.v1.IsNotUnknown result = new ai.chalk.protos.chalk.expression.v1.IsNotUnknown(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.IsNotUnknown result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.IsNotUnknown) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.IsNotUnknown)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.IsNotUnknown other) { if (other == ai.chalk.protos.chalk.expression.v1.IsNotUnknown.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.IsNotUnknown) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.IsNotUnknown) private static final ai.chalk.protos.chalk.expression.v1.IsNotUnknown DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.IsNotUnknown(); } public static ai.chalk.protos.chalk.expression.v1.IsNotUnknown getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<IsNotUnknown> PARSER = new com.google.protobuf.AbstractParser<IsNotUnknown>() { @java.lang.Override public IsNotUnknown 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<IsNotUnknown> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<IsNotUnknown> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNotUnknown getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsNotUnknownOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface IsNotUnknownOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.IsNotUnknown) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsNull.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.IsNull} */ public final class IsNull extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.IsNull) IsNullOrBuilder { private static final long serialVersionUID = 0L; // Use IsNull.newBuilder() to construct. private IsNull(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private IsNull() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IsNull(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNull_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNull_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsNull.class, ai.chalk.protos.chalk.expression.v1.IsNull.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } 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, getExpr()); } 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, getExpr()); } 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 ai.chalk.protos.chalk.expression.v1.IsNull)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.IsNull other = (ai.chalk.protos.chalk.expression.v1.IsNull) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.IsNull parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNull parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNull parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNull parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNull parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsNull parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNull parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNull parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNull parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNull parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsNull parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsNull parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.IsNull 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.IsNull} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.IsNull) ai.chalk.protos.chalk.expression.v1.IsNullOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNull_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNull_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsNull.class, ai.chalk.protos.chalk.expression.v1.IsNull.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.IsNull.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsNull_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNull getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.IsNull.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNull build() { ai.chalk.protos.chalk.expression.v1.IsNull result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNull buildPartial() { ai.chalk.protos.chalk.expression.v1.IsNull result = new ai.chalk.protos.chalk.expression.v1.IsNull(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.IsNull result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.IsNull) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.IsNull)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.IsNull other) { if (other == ai.chalk.protos.chalk.expression.v1.IsNull.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.IsNull) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.IsNull) private static final ai.chalk.protos.chalk.expression.v1.IsNull DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.IsNull(); } public static ai.chalk.protos.chalk.expression.v1.IsNull getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<IsNull> PARSER = new com.google.protobuf.AbstractParser<IsNull>() { @java.lang.Override public IsNull 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<IsNull> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<IsNull> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsNull getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsNullOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface IsNullOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.IsNull) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsTrue.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.IsTrue} */ public final class IsTrue extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.IsTrue) IsTrueOrBuilder { private static final long serialVersionUID = 0L; // Use IsTrue.newBuilder() to construct. private IsTrue(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private IsTrue() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IsTrue(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsTrue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsTrue_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsTrue.class, ai.chalk.protos.chalk.expression.v1.IsTrue.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } 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, getExpr()); } 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, getExpr()); } 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 ai.chalk.protos.chalk.expression.v1.IsTrue)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.IsTrue other = (ai.chalk.protos.chalk.expression.v1.IsTrue) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.IsTrue parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsTrue parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsTrue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsTrue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsTrue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsTrue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsTrue parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsTrue parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsTrue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsTrue parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsTrue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsTrue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.IsTrue 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.IsTrue} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.IsTrue) ai.chalk.protos.chalk.expression.v1.IsTrueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsTrue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsTrue_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsTrue.class, ai.chalk.protos.chalk.expression.v1.IsTrue.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.IsTrue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsTrue_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsTrue getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.IsTrue.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsTrue build() { ai.chalk.protos.chalk.expression.v1.IsTrue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsTrue buildPartial() { ai.chalk.protos.chalk.expression.v1.IsTrue result = new ai.chalk.protos.chalk.expression.v1.IsTrue(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.IsTrue result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.IsTrue) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.IsTrue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.IsTrue other) { if (other == ai.chalk.protos.chalk.expression.v1.IsTrue.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.IsTrue) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.IsTrue) private static final ai.chalk.protos.chalk.expression.v1.IsTrue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.IsTrue(); } public static ai.chalk.protos.chalk.expression.v1.IsTrue getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<IsTrue> PARSER = new com.google.protobuf.AbstractParser<IsTrue>() { @java.lang.Override public IsTrue 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<IsTrue> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<IsTrue> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsTrue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsTrueOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface IsTrueOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.IsTrue) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsUnknown.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.IsUnknown} */ public final class IsUnknown extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.IsUnknown) IsUnknownOrBuilder { private static final long serialVersionUID = 0L; // Use IsUnknown.newBuilder() to construct. private IsUnknown(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private IsUnknown() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IsUnknown(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsUnknown_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsUnknown_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsUnknown.class, ai.chalk.protos.chalk.expression.v1.IsUnknown.Builder.class); } private int bitField0_; public static final int EXPR_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } 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, getExpr()); } 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, getExpr()); } 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 ai.chalk.protos.chalk.expression.v1.IsUnknown)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.IsUnknown other = (ai.chalk.protos.chalk.expression.v1.IsUnknown) obj; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) 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 (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.IsUnknown parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsUnknown parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsUnknown parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsUnknown parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsUnknown parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.IsUnknown parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsUnknown parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsUnknown parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsUnknown parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsUnknown parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.IsUnknown parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.IsUnknown parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.IsUnknown 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.IsUnknown} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.IsUnknown) ai.chalk.protos.chalk.expression.v1.IsUnknownOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsUnknown_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsUnknown_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.IsUnknown.class, ai.chalk.protos.chalk.expression.v1.IsUnknown.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.IsUnknown.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_IsUnknown_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsUnknown getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.IsUnknown.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsUnknown build() { ai.chalk.protos.chalk.expression.v1.IsUnknown result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsUnknown buildPartial() { ai.chalk.protos.chalk.expression.v1.IsUnknown result = new ai.chalk.protos.chalk.expression.v1.IsUnknown(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.IsUnknown result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.IsUnknown) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.IsUnknown)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.IsUnknown other) { if (other == ai.chalk.protos.chalk.expression.v1.IsUnknown.getDefaultInstance()) return this; if (other.hasExpr()) { mergeExpr(other.getExpr()); } 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( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000001); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.IsUnknown) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.IsUnknown) private static final ai.chalk.protos.chalk.expression.v1.IsUnknown DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.IsUnknown(); } public static ai.chalk.protos.chalk.expression.v1.IsUnknown getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<IsUnknown> PARSER = new com.google.protobuf.AbstractParser<IsUnknown>() { @java.lang.Override public IsUnknown 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<IsUnknown> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<IsUnknown> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.IsUnknown getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/IsUnknownOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface IsUnknownOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.IsUnknown) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 1 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/LikeNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.LikeNode} */ public final class LikeNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.LikeNode) LikeNodeOrBuilder { private static final long serialVersionUID = 0L; // Use LikeNode.newBuilder() to construct. private LikeNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private LikeNode() { escapeChar_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LikeNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LikeNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LikeNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.LikeNode.class, ai.chalk.protos.chalk.expression.v1.LikeNode.Builder.class); } private int bitField0_; public static final int NEGATED_FIELD_NUMBER = 1; private boolean negated_ = false; /** * <code>bool negated = 1 [json_name = "negated"];</code> * @return The negated. */ @java.lang.Override public boolean getNegated() { return negated_; } public static final int EXPR_FIELD_NUMBER = 2; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> * @return Whether the expr field is set. */ @java.lang.Override public boolean hasExpr() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> * @return The expr. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } public static final int PATTERN_FIELD_NUMBER = 3; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode pattern_; /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> * @return Whether the pattern field is set. */ @java.lang.Override public boolean hasPattern() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> * @return The pattern. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getPattern() { return pattern_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : pattern_; } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getPatternOrBuilder() { return pattern_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : pattern_; } public static final int ESCAPE_CHAR_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object escapeChar_ = ""; /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return The escapeChar. */ @java.lang.Override public java.lang.String getEscapeChar() { java.lang.Object ref = escapeChar_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); escapeChar_ = s; return s; } } /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return The bytes for escapeChar. */ @java.lang.Override public com.google.protobuf.ByteString getEscapeCharBytes() { java.lang.Object ref = escapeChar_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); escapeChar_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (negated_ != false) { output.writeBool(1, negated_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getExpr()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getPattern()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(escapeChar_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, escapeChar_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (negated_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, negated_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getExpr()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getPattern()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(escapeChar_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, escapeChar_); } 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 ai.chalk.protos.chalk.expression.v1.LikeNode)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.LikeNode other = (ai.chalk.protos.chalk.expression.v1.LikeNode) obj; if (getNegated() != other.getNegated()) return false; if (hasExpr() != other.hasExpr()) return false; if (hasExpr()) { if (!getExpr() .equals(other.getExpr())) return false; } if (hasPattern() != other.hasPattern()) return false; if (hasPattern()) { if (!getPattern() .equals(other.getPattern())) return false; } if (!getEscapeChar() .equals(other.getEscapeChar())) 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(); hash = (37 * hash) + NEGATED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNegated()); if (hasExpr()) { hash = (37 * hash) + EXPR_FIELD_NUMBER; hash = (53 * hash) + getExpr().hashCode(); } if (hasPattern()) { hash = (37 * hash) + PATTERN_FIELD_NUMBER; hash = (53 * hash) + getPattern().hashCode(); } hash = (37 * hash) + ESCAPE_CHAR_FIELD_NUMBER; hash = (53 * hash) + getEscapeChar().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.LikeNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.LikeNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.LikeNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.LikeNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.LikeNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.LikeNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.LikeNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.LikeNode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.LikeNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.LikeNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.LikeNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.LikeNode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.LikeNode 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.LikeNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.LikeNode) ai.chalk.protos.chalk.expression.v1.LikeNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LikeNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LikeNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.LikeNode.class, ai.chalk.protos.chalk.expression.v1.LikeNode.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.LikeNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getExprFieldBuilder(); getPatternFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; negated_ = false; expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } pattern_ = null; if (patternBuilder_ != null) { patternBuilder_.dispose(); patternBuilder_ = null; } escapeChar_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_LikeNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LikeNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.LikeNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LikeNode build() { ai.chalk.protos.chalk.expression.v1.LikeNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LikeNode buildPartial() { ai.chalk.protos.chalk.expression.v1.LikeNode result = new ai.chalk.protos.chalk.expression.v1.LikeNode(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.LikeNode result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.negated_ = negated_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.expr_ = exprBuilder_ == null ? expr_ : exprBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.pattern_ = patternBuilder_ == null ? pattern_ : patternBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.escapeChar_ = escapeChar_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.LikeNode) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.LikeNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.LikeNode other) { if (other == ai.chalk.protos.chalk.expression.v1.LikeNode.getDefaultInstance()) return this; if (other.getNegated() != false) { setNegated(other.getNegated()); } if (other.hasExpr()) { mergeExpr(other.getExpr()); } if (other.hasPattern()) { mergePattern(other.getPattern()); } if (!other.getEscapeChar().isEmpty()) { escapeChar_ = other.escapeChar_; bitField0_ |= 0x00000008; onChanged(); } 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 8: { negated_ = input.readBool(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { input.readMessage( getExprFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getPatternFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { escapeChar_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 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 boolean negated_ ; /** * <code>bool negated = 1 [json_name = "negated"];</code> * @return The negated. */ @java.lang.Override public boolean getNegated() { return negated_; } /** * <code>bool negated = 1 [json_name = "negated"];</code> * @param value The negated to set. * @return This builder for chaining. */ public Builder setNegated(boolean value) { negated_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>bool negated = 1 [json_name = "negated"];</code> * @return This builder for chaining. */ public Builder clearNegated() { bitField0_ = (bitField0_ & ~0x00000001); negated_ = false; onChanged(); return this; } private ai.chalk.protos.chalk.expression.v1.LogicalExprNode expr_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> exprBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> * @return Whether the expr field is set. */ public boolean hasExpr() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> * @return The expr. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr() { if (exprBuilder_ == null) { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } else { return exprBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder setExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expr_ = value; } else { exprBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder setExpr( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (exprBuilder_ == null) { expr_ = builderForValue.build(); } else { exprBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder mergeExpr(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (exprBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && expr_ != null && expr_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getExprBuilder().mergeFrom(value); } else { expr_ = value; } } else { exprBuilder_.mergeFrom(value); } if (expr_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public Builder clearExpr() { bitField0_ = (bitField0_ & ~0x00000002); expr_ = null; if (exprBuilder_ != null) { exprBuilder_.dispose(); exprBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getExprBuilder() { bitField0_ |= 0x00000002; onChanged(); return getExprFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder() { if (exprBuilder_ != null) { return exprBuilder_.getMessageOrBuilder(); } else { return expr_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : expr_; } } /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getExprFieldBuilder() { if (exprBuilder_ == null) { exprBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getExpr(), getParentForChildren(), isClean()); expr_ = null; } return exprBuilder_; } private ai.chalk.protos.chalk.expression.v1.LogicalExprNode pattern_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> patternBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> * @return Whether the pattern field is set. */ public boolean hasPattern() { return ((bitField0_ & 0x00000004) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> * @return The pattern. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getPattern() { if (patternBuilder_ == null) { return pattern_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : pattern_; } else { return patternBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ public Builder setPattern(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (patternBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pattern_ = value; } else { patternBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ public Builder setPattern( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (patternBuilder_ == null) { pattern_ = builderForValue.build(); } else { patternBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ public Builder mergePattern(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (patternBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && pattern_ != null && pattern_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getPatternBuilder().mergeFrom(value); } else { pattern_ = value; } } else { patternBuilder_.mergeFrom(value); } if (pattern_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ public Builder clearPattern() { bitField0_ = (bitField0_ & ~0x00000004); pattern_ = null; if (patternBuilder_ != null) { patternBuilder_.dispose(); patternBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getPatternBuilder() { bitField0_ |= 0x00000004; onChanged(); return getPatternFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getPatternOrBuilder() { if (patternBuilder_ != null) { return patternBuilder_.getMessageOrBuilder(); } else { return pattern_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : pattern_; } } /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getPatternFieldBuilder() { if (patternBuilder_ == null) { patternBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getPattern(), getParentForChildren(), isClean()); pattern_ = null; } return patternBuilder_; } private java.lang.Object escapeChar_ = ""; /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return The escapeChar. */ public java.lang.String getEscapeChar() { java.lang.Object ref = escapeChar_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); escapeChar_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return The bytes for escapeChar. */ public com.google.protobuf.ByteString getEscapeCharBytes() { java.lang.Object ref = escapeChar_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); escapeChar_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @param value The escapeChar to set. * @return This builder for chaining. */ public Builder setEscapeChar( java.lang.String value) { if (value == null) { throw new NullPointerException(); } escapeChar_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return This builder for chaining. */ public Builder clearEscapeChar() { escapeChar_ = getDefaultInstance().getEscapeChar(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @param value The bytes for escapeChar to set. * @return This builder for chaining. */ public Builder setEscapeCharBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); escapeChar_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.LikeNode) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.LikeNode) private static final ai.chalk.protos.chalk.expression.v1.LikeNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.LikeNode(); } public static ai.chalk.protos.chalk.expression.v1.LikeNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<LikeNode> PARSER = new com.google.protobuf.AbstractParser<LikeNode>() { @java.lang.Override public LikeNode 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<LikeNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<LikeNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LikeNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/LikeNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface LikeNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.LikeNode) com.google.protobuf.MessageOrBuilder { /** * <code>bool negated = 1 [json_name = "negated"];</code> * @return The negated. */ boolean getNegated(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> * @return Whether the expr field is set. */ boolean hasExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> * @return The expr. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getExpr(); /** * <code>.chalk.expression.v1.LogicalExprNode expr = 2 [json_name = "expr"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getExprOrBuilder(); /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> * @return Whether the pattern field is set. */ boolean hasPattern(); /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> * @return The pattern. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getPattern(); /** * <code>.chalk.expression.v1.LogicalExprNode pattern = 3 [json_name = "pattern"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getPatternOrBuilder(); /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return The escapeChar. */ java.lang.String getEscapeChar(); /** * <code>string escape_char = 4 [json_name = "escapeChar"];</code> * @return The bytes for escapeChar. */ com.google.protobuf.ByteString getEscapeCharBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ListIndex.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.ListIndex} */ public final class ListIndex extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.ListIndex) ListIndexOrBuilder { private static final long serialVersionUID = 0L; // Use ListIndex.newBuilder() to construct. private ListIndex(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ListIndex() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListIndex(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ListIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ListIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ListIndex.class, ai.chalk.protos.chalk.expression.v1.ListIndex.Builder.class); } private int bitField0_; public static final int KEY_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode key_; /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> * @return Whether the key field is set. */ @java.lang.Override public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> * @return The key. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKey() { return key_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : key_; } /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getKeyOrBuilder() { return key_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : key_; } 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()); } 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()); } 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 ai.chalk.protos.chalk.expression.v1.ListIndex)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.ListIndex other = (ai.chalk.protos.chalk.expression.v1.ListIndex) obj; if (hasKey() != other.hasKey()) return false; if (hasKey()) { if (!getKey() .equals(other.getKey())) 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(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.ListIndex parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ListIndex parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ListIndex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ListIndex parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ListIndex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ListIndex parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ListIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ListIndex parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ListIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ListIndex parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ListIndex parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ListIndex parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.ListIndex 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.ListIndex} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.ListIndex) ai.chalk.protos.chalk.expression.v1.ListIndexOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ListIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ListIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ListIndex.class, ai.chalk.protos.chalk.expression.v1.ListIndex.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.ListIndex.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getKeyFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; key_ = null; if (keyBuilder_ != null) { keyBuilder_.dispose(); keyBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ListIndex_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListIndex getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.ListIndex.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListIndex build() { ai.chalk.protos.chalk.expression.v1.ListIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListIndex buildPartial() { ai.chalk.protos.chalk.expression.v1.ListIndex result = new ai.chalk.protos.chalk.expression.v1.ListIndex(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.ListIndex result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.key_ = keyBuilder_ == null ? key_ : keyBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.ListIndex) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.ListIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.ListIndex other) { if (other == ai.chalk.protos.chalk.expression.v1.ListIndex.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } 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 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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode key_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> keyBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> * @return Whether the key field is set. */ public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> * @return The key. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKey() { if (keyBuilder_ == null) { return key_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : key_; } else { return keyBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> */ public Builder setKey(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (keyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } key_ = value; } else { keyBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> */ public Builder setKey( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (keyBuilder_ == null) { key_ = builderForValue.build(); } else { keyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> */ public Builder mergeKey(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (keyBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && key_ != null && key_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getKeyBuilder().mergeFrom(value); } else { key_ = value; } } else { keyBuilder_.mergeFrom(value); } if (key_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> */ public Builder clearKey() { bitField0_ = (bitField0_ & ~0x00000001); key_ = null; if (keyBuilder_ != null) { keyBuilder_.dispose(); keyBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getKeyBuilder() { bitField0_ |= 0x00000001; onChanged(); return getKeyFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getKeyOrBuilder() { if (keyBuilder_ != null) { return keyBuilder_.getMessageOrBuilder(); } else { return key_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : key_; } } /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getKeyFieldBuilder() { if (keyBuilder_ == null) { keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getKey(), getParentForChildren(), isClean()); key_ = null; } return keyBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.ListIndex) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.ListIndex) private static final ai.chalk.protos.chalk.expression.v1.ListIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.ListIndex(); } public static ai.chalk.protos.chalk.expression.v1.ListIndex getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ListIndex> PARSER = new com.google.protobuf.AbstractParser<ListIndex>() { @java.lang.Override public ListIndex 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<ListIndex> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ListIndex> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListIndex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ListIndexOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; public interface ListIndexOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.expression.v1.ListIndex) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> * @return Whether the key field is set. */ boolean hasKey(); /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> * @return The key. */ ai.chalk.protos.chalk.expression.v1.LogicalExprNode getKey(); /** * <code>.chalk.expression.v1.LogicalExprNode key = 1 [json_name = "key"];</code> */ ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getKeyOrBuilder(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/expression/v1/ListRange.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/expression/v1/expression.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.expression.v1; /** * Protobuf type {@code chalk.expression.v1.ListRange} */ public final class ListRange extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.expression.v1.ListRange) ListRangeOrBuilder { private static final long serialVersionUID = 0L; // Use ListRange.newBuilder() to construct. private ListRange(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ListRange() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListRange(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ListRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ListRange_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ListRange.class, ai.chalk.protos.chalk.expression.v1.ListRange.Builder.class); } private int bitField0_; public static final int START_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode start_; /** * <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code> * @return Whether the start field is set. */ @java.lang.Override public boolean hasStart() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code> * @return The start. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getStart() { return start_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : start_; } /** * <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getStartOrBuilder() { return start_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : start_; } public static final int STOP_FIELD_NUMBER = 2; private ai.chalk.protos.chalk.expression.v1.LogicalExprNode stop_; /** * <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code> * @return Whether the stop field is set. */ @java.lang.Override public boolean hasStop() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code> * @return The stop. */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getStop() { return stop_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : stop_; } /** * <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getStopOrBuilder() { return stop_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : stop_; } 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, getStart()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getStop()); } 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, getStart()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStop()); } 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 ai.chalk.protos.chalk.expression.v1.ListRange)) { return super.equals(obj); } ai.chalk.protos.chalk.expression.v1.ListRange other = (ai.chalk.protos.chalk.expression.v1.ListRange) obj; if (hasStart() != other.hasStart()) return false; if (hasStart()) { if (!getStart() .equals(other.getStart())) return false; } if (hasStop() != other.hasStop()) return false; if (hasStop()) { if (!getStop() .equals(other.getStop())) 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 (hasStart()) { hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + getStart().hashCode(); } if (hasStop()) { hash = (37 * hash) + STOP_FIELD_NUMBER; hash = (53 * hash) + getStop().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.expression.v1.ListRange parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ListRange parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ListRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ListRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ListRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.expression.v1.ListRange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ListRange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ListRange parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ListRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ListRange parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ai.chalk.protos.chalk.expression.v1.ListRange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.expression.v1.ListRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ai.chalk.protos.chalk.expression.v1.ListRange 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code chalk.expression.v1.ListRange} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.expression.v1.ListRange) ai.chalk.protos.chalk.expression.v1.ListRangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ListRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ListRange_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.expression.v1.ListRange.class, ai.chalk.protos.chalk.expression.v1.ListRange.Builder.class); } // Construct using ai.chalk.protos.chalk.expression.v1.ListRange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStartFieldBuilder(); getStopFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; start_ = null; if (startBuilder_ != null) { startBuilder_.dispose(); startBuilder_ = null; } stop_ = null; if (stopBuilder_ != null) { stopBuilder_.dispose(); stopBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.expression.v1.ExpressionProto.internal_static_chalk_expression_v1_ListRange_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListRange getDefaultInstanceForType() { return ai.chalk.protos.chalk.expression.v1.ListRange.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListRange build() { ai.chalk.protos.chalk.expression.v1.ListRange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListRange buildPartial() { ai.chalk.protos.chalk.expression.v1.ListRange result = new ai.chalk.protos.chalk.expression.v1.ListRange(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.expression.v1.ListRange result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.start_ = startBuilder_ == null ? start_ : startBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.stop_ = stopBuilder_ == null ? stop_ : stopBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ai.chalk.protos.chalk.expression.v1.ListRange) { return mergeFrom((ai.chalk.protos.chalk.expression.v1.ListRange)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.expression.v1.ListRange other) { if (other == ai.chalk.protos.chalk.expression.v1.ListRange.getDefaultInstance()) return this; if (other.hasStart()) { mergeStart(other.getStart()); } if (other.hasStop()) { mergeStop(other.getStop()); } 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( getStartFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getStopFieldBuilder().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 ai.chalk.protos.chalk.expression.v1.LogicalExprNode start_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> startBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code> * @return Whether the start field is set. */ public boolean hasStart() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code> * @return The start. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getStart() { if (startBuilder_ == null) { return start_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : start_; } else { return startBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code> */ public Builder setStart(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (startBuilder_ == null) { if (value == null) { throw new NullPointerException(); } start_ = value; } else { startBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code> */ public Builder setStart( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (startBuilder_ == null) { start_ = builderForValue.build(); } else { startBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code> */ public Builder mergeStart(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (startBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && start_ != null && start_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getStartBuilder().mergeFrom(value); } else { start_ = value; } } else { startBuilder_.mergeFrom(value); } if (start_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code> */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000001); start_ = null; if (startBuilder_ != null) { startBuilder_.dispose(); startBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getStartBuilder() { bitField0_ |= 0x00000001; onChanged(); return getStartFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getStartOrBuilder() { if (startBuilder_ != null) { return startBuilder_.getMessageOrBuilder(); } else { return start_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : start_; } } /** * <code>.chalk.expression.v1.LogicalExprNode start = 1 [json_name = "start"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getStartFieldBuilder() { if (startBuilder_ == null) { startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getStart(), getParentForChildren(), isClean()); start_ = null; } return startBuilder_; } private ai.chalk.protos.chalk.expression.v1.LogicalExprNode stop_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> stopBuilder_; /** * <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code> * @return Whether the stop field is set. */ public boolean hasStop() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code> * @return The stop. */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode getStop() { if (stopBuilder_ == null) { return stop_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : stop_; } else { return stopBuilder_.getMessage(); } } /** * <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code> */ public Builder setStop(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (stopBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stop_ = value; } else { stopBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code> */ public Builder setStop( ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder builderForValue) { if (stopBuilder_ == null) { stop_ = builderForValue.build(); } else { stopBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code> */ public Builder mergeStop(ai.chalk.protos.chalk.expression.v1.LogicalExprNode value) { if (stopBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && stop_ != null && stop_ != ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance()) { getStopBuilder().mergeFrom(value); } else { stop_ = value; } } else { stopBuilder_.mergeFrom(value); } if (stop_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code> */ public Builder clearStop() { bitField0_ = (bitField0_ & ~0x00000002); stop_ = null; if (stopBuilder_ != null) { stopBuilder_.dispose(); stopBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder getStopBuilder() { bitField0_ |= 0x00000002; onChanged(); return getStopFieldBuilder().getBuilder(); } /** * <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code> */ public ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder getStopOrBuilder() { if (stopBuilder_ != null) { return stopBuilder_.getMessageOrBuilder(); } else { return stop_ == null ? ai.chalk.protos.chalk.expression.v1.LogicalExprNode.getDefaultInstance() : stop_; } } /** * <code>.chalk.expression.v1.LogicalExprNode stop = 2 [json_name = "stop"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder> getStopFieldBuilder() { if (stopBuilder_ == null) { stopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.expression.v1.LogicalExprNode, ai.chalk.protos.chalk.expression.v1.LogicalExprNode.Builder, ai.chalk.protos.chalk.expression.v1.LogicalExprNodeOrBuilder>( getStop(), getParentForChildren(), isClean()); stop_ = null; } return stopBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:chalk.expression.v1.ListRange) } // @@protoc_insertion_point(class_scope:chalk.expression.v1.ListRange) private static final ai.chalk.protos.chalk.expression.v1.ListRange DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.expression.v1.ListRange(); } public static ai.chalk.protos.chalk.expression.v1.ListRange getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ListRange> PARSER = new com.google.protobuf.AbstractParser<ListRange>() { @java.lang.Override public ListRange 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<ListRange> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ListRange> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.expression.v1.ListRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }