index
int64
repo_id
string
file_path
string
content
string
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/OutputExprOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/online_query.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; public interface OutputExprOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.common.v1.OutputExpr) com.google.protobuf.MessageOrBuilder { /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return Whether the featureFqn field is set. */ boolean hasFeatureFqn(); /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The featureFqn. */ java.lang.String getFeatureFqn(); /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The bytes for featureFqn. */ com.google.protobuf.ByteString getFeatureFqnBytes(); ai.chalk.protos.chalk.common.v1.OutputExpr.ExprCase getExprCase(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/QueryExplainInfo.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/online_query.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; /** * Protobuf type {@code chalk.common.v1.QueryExplainInfo} */ public final class QueryExplainInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.common.v1.QueryExplainInfo) QueryExplainInfoOrBuilder { private static final long serialVersionUID = 0L; // Use QueryExplainInfo.newBuilder() to construct. private QueryExplainInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private QueryExplainInfo() { planString_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryExplainInfo(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_QueryExplainInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_QueryExplainInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.QueryExplainInfo.class, ai.chalk.protos.chalk.common.v1.QueryExplainInfo.Builder.class); } private int bitField0_; public static final int PLAN_STRING_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object planString_ = ""; /** * <pre> * Unstructured string representation of the plan * </pre> * * <code>optional string plan_string = 1 [json_name = "planString"];</code> * @return Whether the planString field is set. */ @java.lang.Override public boolean hasPlanString() { return ((bitField0_ & 0x00000001) != 0); } /** * <pre> * Unstructured string representation of the plan * </pre> * * <code>optional string plan_string = 1 [json_name = "planString"];</code> * @return The planString. */ @java.lang.Override public java.lang.String getPlanString() { java.lang.Object ref = planString_; 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(); planString_ = s; return s; } } /** * <pre> * Unstructured string representation of the plan * </pre> * * <code>optional string plan_string = 1 [json_name = "planString"];</code> * @return The bytes for planString. */ @java.lang.Override public com.google.protobuf.ByteString getPlanStringBytes() { java.lang.Object ref = planString_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); planString_ = 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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, planString_); } 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, planString_); } 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.common.v1.QueryExplainInfo)) { return super.equals(obj); } ai.chalk.protos.chalk.common.v1.QueryExplainInfo other = (ai.chalk.protos.chalk.common.v1.QueryExplainInfo) obj; if (hasPlanString() != other.hasPlanString()) return false; if (hasPlanString()) { if (!getPlanString() .equals(other.getPlanString())) 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 (hasPlanString()) { hash = (37 * hash) + PLAN_STRING_FIELD_NUMBER; hash = (53 * hash) + getPlanString().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.common.v1.QueryExplainInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.QueryExplainInfo 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.common.v1.QueryExplainInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.QueryExplainInfo 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.common.v1.QueryExplainInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.QueryExplainInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.common.v1.QueryExplainInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.QueryExplainInfo 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.common.v1.QueryExplainInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.QueryExplainInfo 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.common.v1.QueryExplainInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.QueryExplainInfo 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.common.v1.QueryExplainInfo 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.common.v1.QueryExplainInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.common.v1.QueryExplainInfo) ai.chalk.protos.chalk.common.v1.QueryExplainInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_QueryExplainInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_QueryExplainInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.QueryExplainInfo.class, ai.chalk.protos.chalk.common.v1.QueryExplainInfo.Builder.class); } // Construct using ai.chalk.protos.chalk.common.v1.QueryExplainInfo.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; planString_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_QueryExplainInfo_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryExplainInfo getDefaultInstanceForType() { return ai.chalk.protos.chalk.common.v1.QueryExplainInfo.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryExplainInfo build() { ai.chalk.protos.chalk.common.v1.QueryExplainInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryExplainInfo buildPartial() { ai.chalk.protos.chalk.common.v1.QueryExplainInfo result = new ai.chalk.protos.chalk.common.v1.QueryExplainInfo(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.common.v1.QueryExplainInfo result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.planString_ = planString_; 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.common.v1.QueryExplainInfo) { return mergeFrom((ai.chalk.protos.chalk.common.v1.QueryExplainInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.common.v1.QueryExplainInfo other) { if (other == ai.chalk.protos.chalk.common.v1.QueryExplainInfo.getDefaultInstance()) return this; if (other.hasPlanString()) { planString_ = other.planString_; 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: { planString_ = 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 planString_ = ""; /** * <pre> * Unstructured string representation of the plan * </pre> * * <code>optional string plan_string = 1 [json_name = "planString"];</code> * @return Whether the planString field is set. */ public boolean hasPlanString() { return ((bitField0_ & 0x00000001) != 0); } /** * <pre> * Unstructured string representation of the plan * </pre> * * <code>optional string plan_string = 1 [json_name = "planString"];</code> * @return The planString. */ public java.lang.String getPlanString() { java.lang.Object ref = planString_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); planString_ = s; return s; } else { return (java.lang.String) ref; } } /** * <pre> * Unstructured string representation of the plan * </pre> * * <code>optional string plan_string = 1 [json_name = "planString"];</code> * @return The bytes for planString. */ public com.google.protobuf.ByteString getPlanStringBytes() { java.lang.Object ref = planString_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); planString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <pre> * Unstructured string representation of the plan * </pre> * * <code>optional string plan_string = 1 [json_name = "planString"];</code> * @param value The planString to set. * @return This builder for chaining. */ public Builder setPlanString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } planString_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * Unstructured string representation of the plan * </pre> * * <code>optional string plan_string = 1 [json_name = "planString"];</code> * @return This builder for chaining. */ public Builder clearPlanString() { planString_ = getDefaultInstance().getPlanString(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <pre> * Unstructured string representation of the plan * </pre> * * <code>optional string plan_string = 1 [json_name = "planString"];</code> * @param value The bytes for planString to set. * @return This builder for chaining. */ public Builder setPlanStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); planString_ = 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.common.v1.QueryExplainInfo) } // @@protoc_insertion_point(class_scope:chalk.common.v1.QueryExplainInfo) private static final ai.chalk.protos.chalk.common.v1.QueryExplainInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.common.v1.QueryExplainInfo(); } public static ai.chalk.protos.chalk.common.v1.QueryExplainInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<QueryExplainInfo> PARSER = new com.google.protobuf.AbstractParser<QueryExplainInfo>() { @java.lang.Override public QueryExplainInfo 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<QueryExplainInfo> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<QueryExplainInfo> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryExplainInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/QueryExplainInfoOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/online_query.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; public interface QueryExplainInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.common.v1.QueryExplainInfo) com.google.protobuf.MessageOrBuilder { /** * <pre> * Unstructured string representation of the plan * </pre> * * <code>optional string plan_string = 1 [json_name = "planString"];</code> * @return Whether the planString field is set. */ boolean hasPlanString(); /** * <pre> * Unstructured string representation of the plan * </pre> * * <code>optional string plan_string = 1 [json_name = "planString"];</code> * @return The planString. */ java.lang.String getPlanString(); /** * <pre> * Unstructured string representation of the plan * </pre> * * <code>optional string plan_string = 1 [json_name = "planString"];</code> * @return The bytes for planString. */ com.google.protobuf.ByteString getPlanStringBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/QueryLogEntry.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; /** * <pre> * This is a proto representation of the SQL QueryLogModel. * </pre> * * Protobuf type {@code chalk.common.v1.QueryLogEntry} */ @java.lang.Deprecated public final class QueryLogEntry extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.common.v1.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.common.v1.QueryLogProto.internal_static_chalk_common_v1_QueryLogEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.QueryLogProto.internal_static_chalk_common_v1_QueryLogEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.QueryLogEntry.class, ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogEntry)) { return super.equals(obj); } ai.chalk.protos.chalk.common.v1.QueryLogEntry other = (ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogEntry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.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.common.v1.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.common.v1.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.common.v1.QueryLogEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.common.v1.QueryLogEntry) ai.chalk.protos.chalk.common.v1.QueryLogEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.QueryLogProto.internal_static_chalk_common_v1_QueryLogEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.QueryLogProto.internal_static_chalk_common_v1_QueryLogEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.QueryLogEntry.class, ai.chalk.protos.chalk.common.v1.QueryLogEntry.Builder.class); } // Construct using ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogProto.internal_static_chalk_common_v1_QueryLogEntry_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryLogEntry getDefaultInstanceForType() { return ai.chalk.protos.chalk.common.v1.QueryLogEntry.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryLogEntry build() { ai.chalk.protos.chalk.common.v1.QueryLogEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryLogEntry buildPartial() { ai.chalk.protos.chalk.common.v1.QueryLogEntry result = new ai.chalk.protos.chalk.common.v1.QueryLogEntry(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogEntry) { return mergeFrom((ai.chalk.protos.chalk.common.v1.QueryLogEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.common.v1.QueryLogEntry other) { if (other == ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogEntry) } // @@protoc_insertion_point(class_scope:chalk.common.v1.QueryLogEntry) private static final ai.chalk.protos.chalk.common.v1.QueryLogEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.common.v1.QueryLogEntry(); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/QueryLogEntryOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; @java.lang.Deprecated public interface QueryLogEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.common.v1.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/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/QueryLogFilters.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; /** * Protobuf type {@code chalk.common.v1.QueryLogFilters} */ @java.lang.Deprecated public final class QueryLogFilters extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.common.v1.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.common.v1.QueryLogProto.internal_static_chalk_common_v1_QueryLogFilters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.QueryLogProto.internal_static_chalk_common_v1_QueryLogFilters_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.QueryLogFilters.class, ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName> queryName_; /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.common.v1.VersionedQueryName> getQueryNameList() { return queryName_; } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.common.v1.VersionedQueryNameOrBuilder> getQueryNameOrBuilderList() { return queryName_; } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ @java.lang.Override public int getQueryNameCount() { return queryName_.size(); } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.VersionedQueryName getQueryName(int index) { return queryName_.get(index); } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogFilters)) { return super.equals(obj); } ai.chalk.protos.chalk.common.v1.QueryLogFilters other = (ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogFilters parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogFilters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogFilters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogFilters parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogFilters parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.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.common.v1.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.common.v1.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.common.v1.QueryLogFilters} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.common.v1.QueryLogFilters) ai.chalk.protos.chalk.common.v1.QueryLogFiltersOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.QueryLogProto.internal_static_chalk_common_v1_QueryLogFilters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.QueryLogProto.internal_static_chalk_common_v1_QueryLogFilters_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.QueryLogFilters.class, ai.chalk.protos.chalk.common.v1.QueryLogFilters.Builder.class); } // Construct using ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogProto.internal_static_chalk_common_v1_QueryLogFilters_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryLogFilters getDefaultInstanceForType() { return ai.chalk.protos.chalk.common.v1.QueryLogFilters.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryLogFilters build() { ai.chalk.protos.chalk.common.v1.QueryLogFilters result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.QueryLogFilters buildPartial() { ai.chalk.protos.chalk.common.v1.QueryLogFilters result = new ai.chalk.protos.chalk.common.v1.QueryLogFilters(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.common.v1.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.common.v1.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.common.v1.QueryLogFilters) { return mergeFrom((ai.chalk.protos.chalk.common.v1.QueryLogFilters)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.common.v1.QueryLogFilters other) { if (other == ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName m = input.readMessage( ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName> queryName_ = java.util.Collections.emptyList(); private void ensureQueryNameIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { queryName_ = new java.util.ArrayList<ai.chalk.protos.chalk.common.v1.VersionedQueryName>(queryName_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.common.v1.VersionedQueryName, ai.chalk.protos.chalk.common.v1.VersionedQueryName.Builder, ai.chalk.protos.chalk.common.v1.VersionedQueryNameOrBuilder> queryNameBuilder_; /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public java.util.List<ai.chalk.protos.chalk.common.v1.VersionedQueryName> getQueryNameList() { if (queryNameBuilder_ == null) { return java.util.Collections.unmodifiableList(queryName_); } else { return queryNameBuilder_.getMessageList(); } } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public int getQueryNameCount() { if (queryNameBuilder_ == null) { return queryName_.size(); } else { return queryNameBuilder_.getCount(); } } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public ai.chalk.protos.chalk.common.v1.VersionedQueryName getQueryName(int index) { if (queryNameBuilder_ == null) { return queryName_.get(index); } else { return queryNameBuilder_.getMessage(index); } } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder setQueryName( int index, ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder setQueryName( int index, ai.chalk.protos.chalk.common.v1.VersionedQueryName.Builder builderForValue) { if (queryNameBuilder_ == null) { ensureQueryNameIsMutable(); queryName_.set(index, builderForValue.build()); onChanged(); } else { queryNameBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder addQueryName(ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder addQueryName( int index, ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder addQueryName( ai.chalk.protos.chalk.common.v1.VersionedQueryName.Builder builderForValue) { if (queryNameBuilder_ == null) { ensureQueryNameIsMutable(); queryName_.add(builderForValue.build()); onChanged(); } else { queryNameBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder addQueryName( int index, ai.chalk.protos.chalk.common.v1.VersionedQueryName.Builder builderForValue) { if (queryNameBuilder_ == null) { ensureQueryNameIsMutable(); queryName_.add(index, builderForValue.build()); onChanged(); } else { queryNameBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public Builder addAllQueryName( java.lang.Iterable<? extends ai.chalk.protos.chalk.common.v1.VersionedQueryName> values) { if (queryNameBuilder_ == null) { ensureQueryNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, queryName_); onChanged(); } else { queryNameBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.common.v1.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.common.v1.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.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public ai.chalk.protos.chalk.common.v1.VersionedQueryName.Builder getQueryNameBuilder( int index) { return getQueryNameFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public ai.chalk.protos.chalk.common.v1.VersionedQueryNameOrBuilder getQueryNameOrBuilder( int index) { if (queryNameBuilder_ == null) { return queryName_.get(index); } else { return queryNameBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.common.v1.VersionedQueryNameOrBuilder> getQueryNameOrBuilderList() { if (queryNameBuilder_ != null) { return queryNameBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(queryName_); } } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public ai.chalk.protos.chalk.common.v1.VersionedQueryName.Builder addQueryNameBuilder() { return getQueryNameFieldBuilder().addBuilder( ai.chalk.protos.chalk.common.v1.VersionedQueryName.getDefaultInstance()); } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public ai.chalk.protos.chalk.common.v1.VersionedQueryName.Builder addQueryNameBuilder( int index) { return getQueryNameFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.common.v1.VersionedQueryName.getDefaultInstance()); } /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ public java.util.List<ai.chalk.protos.chalk.common.v1.VersionedQueryName.Builder> getQueryNameBuilderList() { return getQueryNameFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.common.v1.VersionedQueryName, ai.chalk.protos.chalk.common.v1.VersionedQueryName.Builder, ai.chalk.protos.chalk.common.v1.VersionedQueryNameOrBuilder> getQueryNameFieldBuilder() { if (queryNameBuilder_ == null) { queryNameBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.common.v1.VersionedQueryName, ai.chalk.protos.chalk.common.v1.VersionedQueryName.Builder, ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogFilters) } // @@protoc_insertion_point(class_scope:chalk.common.v1.QueryLogFilters) private static final ai.chalk.protos.chalk.common.v1.QueryLogFilters DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.common.v1.QueryLogFilters(); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogFilters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/QueryLogFiltersOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; @java.lang.Deprecated public interface QueryLogFiltersOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.common.v1.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.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ java.util.List<ai.chalk.protos.chalk.common.v1.VersionedQueryName> getQueryNameList(); /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ ai.chalk.protos.chalk.common.v1.VersionedQueryName getQueryName(int index); /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ int getQueryNameCount(); /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.common.v1.VersionedQueryNameOrBuilder> getQueryNameOrBuilderList(); /** * <code>repeated .chalk.common.v1.VersionedQueryName query_name = 3 [json_name = "queryName"];</code> */ ai.chalk.protos.chalk.common.v1.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/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/QueryLogProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; 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_common_v1_VersionedQueryName_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_VersionedQueryName_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_common_v1_QueryLogFilters_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_QueryLogFilters_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_common_v1_GetQueryLogEntriesPageToken_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_GetQueryLogEntriesPageToken_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_common_v1_GetQueryLogEntriesRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_GetQueryLogEntriesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_common_v1_QueryLogEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_QueryLogEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_common_v1_GetQueryLogEntriesResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_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/common/v1/query_log.proto\022\017chalk" + ".common.v1\032$chalk/common/v1/operation_ki" + "nd.proto\032\"chalk/common/v1/query_status.p" + "roto\032\037google/protobuf/timestamp.proto\"\201\001" + "\n\022VersionedQueryName\022\035\n\nquery_name\030\001 \001(\t" + "R\tqueryName\0221\n\022query_name_version\030\002 \001(\tH" + "\000R\020queryNameVersion\210\001\001:\002\030\001B\025\n\023_query_nam" + "e_version\"\363\003\n\017QueryLogFilters\022!\n\014operati" + "on_id\030\001 \003(\tR\013operationId\022E\n\016operation_ki" + "nd\030\002 \003(\0162\036.chalk.common.v1.OperationKind" + "R\roperationKind\022B\n\nquery_name\030\003 \003(\0132#.ch" + "alk.common.v1.VersionedQueryNameR\tqueryN" + "ame\022\031\n\010agent_id\030\005 \003(\tR\007agentId\022\037\n\013branch" + "_name\030\006 \003(\tR\nbranchName\022%\n\016correlation_i" + "d\030\007 \003(\tR\rcorrelationId\022\031\n\010trace_id\030\010 \003(\t" + "R\007traceId\022\"\n\rquery_plan_id\030\t \003(\tR\013queryP" + "lanId\022#\n\rdeployment_id\030\n \003(\tR\014deployment" + "Id\022?\n\014query_status\030\013 \003(\0162\034.chalk.common." + "v1.QueryStatusR\013queryStatus\022&\n\017meta_quer" + "y_hash\030\014 \003(\tR\rmetaQueryHash:\002\030\001\"\227\001\n\033GetQ" + "ueryLogEntriesPageToken\022(\n\020operation_id_" + "hwm\030\001 \001(\tR\016operationIdHwm\022J\n\023query_times" + "tamp_hwm\030\002 \001(\0132\032.google.protobuf.Timesta" + "mpR\021queryTimestampHwm:\002\030\001\"\242\003\n\031GetQueryLo" + "gEntriesRequest\022l\n%query_timestamp_lower" + "_bound_inclusive\030\001 \001(\0132\032.google.protobuf" + ".TimestampR!queryTimestampLowerBoundIncl" + "usive\022q\n%query_timestamp_upper_bound_exc" + "lusive\030\002 \001(\0132\032.google.protobuf.Timestamp" + "H\000R!queryTimestampUpperBoundExclusive\210\001\001" + "\022:\n\007filters\030\003 \001(\0132 .chalk.common.v1.Quer" + "yLogFiltersR\007filters\022\033\n\tpage_size\030\004 \001(\005R" + "\010pageSize\022\035\n\npage_token\030\005 \001(\tR\tpageToken" + ":\002\030\001B(\n&_query_timestamp_upper_bound_exc" + "lusive\"\247\006\n\rQueryLogEntry\022!\n\014operation_id" + "\030\001 \001(\tR\013operationId\022%\n\016environment_id\030\002 " + "\001(\tR\renvironmentId\022#\n\rdeployment_id\030\003 \001(" + "\tR\014deploymentId\022E\n\016operation_kind\030\004 \001(\0162" + "\036.chalk.common.v1.OperationKindR\roperati" + "onKind\022C\n\017query_timestamp\030\005 \001(\0132\032.google" + ".protobuf.TimestampR\016queryTimestamp\022L\n\024e" + "xecution_started_at\030\006 \001(\0132\032.google.proto" + "buf.TimestampR\022executionStartedAt\022N\n\025exe" + "cution_finished_at\030\007 \001(\0132\032.google.protob" + "uf.TimestampR\023executionFinishedAt\022?\n\014que" + "ry_status\030\010 \001(\0162\034.chalk.common.v1.QueryS" + "tatusR\013queryStatus\022\035\n\nquery_name\030\t \001(\tR\t" + "queryName\022,\n\022query_name_version\030\n \001(\tR\020q" + "ueryNameVersion\022\031\n\010agent_id\030\013 \001(\tR\007agent" + "Id\022\037\n\013branch_name\030\014 \001(\tR\nbranchName\022%\n\016c" + "orrelation_id\030\r \001(\tR\rcorrelationId\022\031\n\010tr" + "ace_id\030\016 \001(\tR\007traceId\022\"\n\rquery_plan_id\030\017" + " \001(\tR\013queryPlanId\022!\n\014value_tables\030\020 \003(\tR" + "\013valueTables\022&\n\017meta_query_hash\030\021 \001(\tR\rm" + "etaQueryHash:\002\030\001\"\202\001\n\032GetQueryLogEntriesR" + "esponse\0228\n\007entries\030\001 \003(\0132\036.chalk.common." + "v1.QueryLogEntryR\007entries\022&\n\017next_page_t" + "oken\030\002 \001(\tR\rnextPageToken:\002\030\001B\216\001\n\037ai.cha" + "lk.protos.chalk.common.v1B\rQueryLogProto" + "P\001\242\002\003CCX\252\002\017Chalk.Common.V1\312\002\017Chalk\\Commo" + "n\\V1\342\002\033Chalk\\Common\\V1\\GPBMetadata\352\002\021Cha" + "lk::Common::V1b\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_common_v1_VersionedQueryName_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_common_v1_VersionedQueryName_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_VersionedQueryName_descriptor, new java.lang.String[] { "QueryName", "QueryNameVersion", }); internal_static_chalk_common_v1_QueryLogFilters_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_chalk_common_v1_QueryLogFilters_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_QueryLogFilters_descriptor, new java.lang.String[] { "OperationId", "OperationKind", "QueryName", "AgentId", "BranchName", "CorrelationId", "TraceId", "QueryPlanId", "DeploymentId", "QueryStatus", "MetaQueryHash", }); internal_static_chalk_common_v1_GetQueryLogEntriesPageToken_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_chalk_common_v1_GetQueryLogEntriesPageToken_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_GetQueryLogEntriesPageToken_descriptor, new java.lang.String[] { "OperationIdHwm", "QueryTimestampHwm", }); internal_static_chalk_common_v1_GetQueryLogEntriesRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_chalk_common_v1_GetQueryLogEntriesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_GetQueryLogEntriesRequest_descriptor, new java.lang.String[] { "QueryTimestampLowerBoundInclusive", "QueryTimestampUpperBoundExclusive", "Filters", "PageSize", "PageToken", }); internal_static_chalk_common_v1_QueryLogEntry_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_chalk_common_v1_QueryLogEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_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_common_v1_GetQueryLogEntriesResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_chalk_common_v1_GetQueryLogEntriesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_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/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/QueryStatus.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/query_status.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; /** * Protobuf enum {@code chalk.common.v1.QueryStatus} */ public enum QueryStatus implements com.google.protobuf.ProtocolMessageEnum { /** * <pre> * Default value, should not be used * </pre> * * <code>QUERY_STATUS_UNSPECIFIED = 0;</code> */ QUERY_STATUS_UNSPECIFIED(0), /** * <pre> * Pending submission to the database. * </pre> * * <code>QUERY_STATUS_PENDING_SUBMISSION = 1;</code> */ QUERY_STATUS_PENDING_SUBMISSION(1), /** * <pre> * Submitted to the database, but not yet running * </pre> * * <code>QUERY_STATUS_SUBMITTED = 2;</code> */ QUERY_STATUS_SUBMITTED(2), /** * <pre> * Running in the database. * </pre> * * <code>QUERY_STATUS_RUNNING = 3;</code> */ QUERY_STATUS_RUNNING(3), /** * <pre> * Error with either submitting or running the job. * </pre> * * <code>QUERY_STATUS_ERROR = 4;</code> */ QUERY_STATUS_ERROR(4), /** * <pre> * The job did not complete before an expiration deadline, so there are no results. * </pre> * * <code>QUERY_STATUS_EXPIRED = 5;</code> */ QUERY_STATUS_EXPIRED(5), /** * <pre> * Manually cancelled before it errored or finished successfully. * </pre> * * <code>QUERY_STATUS_CANCELLED = 6;</code> */ QUERY_STATUS_CANCELLED(6), /** * <pre> * Successfully ran the job. * </pre> * * <code>QUERY_STATUS_SUCCESSFUL = 7;</code> */ QUERY_STATUS_SUCCESSFUL(7), /** * <pre> * Succesfully ran the job, but encountered nonfatal errors (e.g. failed to run resolver on some rows) * </pre> * * <code>QUERY_STATUS_SUCCESSFUL_WITH_NONFATAL_ERRORS = 8;</code> */ QUERY_STATUS_SUCCESSFUL_WITH_NONFATAL_ERRORS(8), UNRECOGNIZED(-1), ; /** * <pre> * Default value, should not be used * </pre> * * <code>QUERY_STATUS_UNSPECIFIED = 0;</code> */ public static final int QUERY_STATUS_UNSPECIFIED_VALUE = 0; /** * <pre> * Pending submission to the database. * </pre> * * <code>QUERY_STATUS_PENDING_SUBMISSION = 1;</code> */ public static final int QUERY_STATUS_PENDING_SUBMISSION_VALUE = 1; /** * <pre> * Submitted to the database, but not yet running * </pre> * * <code>QUERY_STATUS_SUBMITTED = 2;</code> */ public static final int QUERY_STATUS_SUBMITTED_VALUE = 2; /** * <pre> * Running in the database. * </pre> * * <code>QUERY_STATUS_RUNNING = 3;</code> */ public static final int QUERY_STATUS_RUNNING_VALUE = 3; /** * <pre> * Error with either submitting or running the job. * </pre> * * <code>QUERY_STATUS_ERROR = 4;</code> */ public static final int QUERY_STATUS_ERROR_VALUE = 4; /** * <pre> * The job did not complete before an expiration deadline, so there are no results. * </pre> * * <code>QUERY_STATUS_EXPIRED = 5;</code> */ public static final int QUERY_STATUS_EXPIRED_VALUE = 5; /** * <pre> * Manually cancelled before it errored or finished successfully. * </pre> * * <code>QUERY_STATUS_CANCELLED = 6;</code> */ public static final int QUERY_STATUS_CANCELLED_VALUE = 6; /** * <pre> * Successfully ran the job. * </pre> * * <code>QUERY_STATUS_SUCCESSFUL = 7;</code> */ public static final int QUERY_STATUS_SUCCESSFUL_VALUE = 7; /** * <pre> * Succesfully ran the job, but encountered nonfatal errors (e.g. failed to run resolver on some rows) * </pre> * * <code>QUERY_STATUS_SUCCESSFUL_WITH_NONFATAL_ERRORS = 8;</code> */ public static final int QUERY_STATUS_SUCCESSFUL_WITH_NONFATAL_ERRORS_VALUE = 8; 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 QueryStatus 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 QueryStatus forNumber(int value) { switch (value) { case 0: return QUERY_STATUS_UNSPECIFIED; case 1: return QUERY_STATUS_PENDING_SUBMISSION; case 2: return QUERY_STATUS_SUBMITTED; case 3: return QUERY_STATUS_RUNNING; case 4: return QUERY_STATUS_ERROR; case 5: return QUERY_STATUS_EXPIRED; case 6: return QUERY_STATUS_CANCELLED; case 7: return QUERY_STATUS_SUCCESSFUL; case 8: return QUERY_STATUS_SUCCESSFUL_WITH_NONFATAL_ERRORS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<QueryStatus> internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< QueryStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<QueryStatus>() { public QueryStatus findValueByNumber(int number) { return QueryStatus.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.common.v1.QueryStatusProto.getDescriptor().getEnumTypes().get(0); } private static final QueryStatus[] VALUES = values(); public static QueryStatus 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 QueryStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:chalk.common.v1.QueryStatus) }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/QueryStatusProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/query_status.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; public final class QueryStatusProto { private QueryStatusProto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } 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/common/v1/query_status.proto\022\017ch" + "alk.common.v1*\243\002\n\013QueryStatus\022\034\n\030QUERY_S" + "TATUS_UNSPECIFIED\020\000\022#\n\037QUERY_STATUS_PEND" + "ING_SUBMISSION\020\001\022\032\n\026QUERY_STATUS_SUBMITT" + "ED\020\002\022\030\n\024QUERY_STATUS_RUNNING\020\003\022\026\n\022QUERY_" + "STATUS_ERROR\020\004\022\030\n\024QUERY_STATUS_EXPIRED\020\005" + "\022\032\n\026QUERY_STATUS_CANCELLED\020\006\022\033\n\027QUERY_ST" + "ATUS_SUCCESSFUL\020\007\0220\n,QUERY_STATUS_SUCCES" + "SFUL_WITH_NONFATAL_ERRORS\020\010B\221\001\n\037ai.chalk" + ".protos.chalk.common.v1B\020QueryStatusProt" + "oP\001\242\002\003CCX\252\002\017Chalk.Common.V1\312\002\017Chalk\\Comm" + "on\\V1\342\002\033Chalk\\Common\\V1\\GPBMetadata\352\002\021Ch" + "alk::Common::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); } // @@protoc_insertion_point(outer_class_scope) }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/QueryValuesProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; 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_common_v1_OperationIdTableIdentifier_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_OperationIdTableIdentifier_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_common_v1_TableNameTableIdentifier_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_TableNameTableIdentifier_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_common_v1_GetQueryValuesPageToken_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_GetQueryValuesPageToken_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_common_v1_GetQueryValuesRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_GetQueryValuesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_common_v1_GetQueryValuesResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_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/common/v1/query_values.proto\022\017ch" + "alk.common.v1\032\037chalk/common/v1/query_log" + ".proto\032\037google/protobuf/timestamp.proto\"" + "C\n\032OperationIdTableIdentifier\022!\n\014operati" + "on_id\030\001 \001(\tR\013operationId:\002\030\001\"y\n\030TableNam" + "eTableIdentifier\022\035\n\ntable_name\030\001 \001(\tR\tta" + "bleName\022:\n\007filters\030\002 \001(\0132 .chalk.common." + "v1.QueryLogFiltersR\007filters:\002\030\001\"\261\001\n\027GetQ" + "ueryValuesPageToken\022J\n\023query_timestamp_h" + "wm\030\001 \001(\0132\032.google.protobuf.TimestampR\021qu" + "eryTimestampHwm\022(\n\020operation_id_hwm\030\002 \001(" + "\tR\016operationIdHwm\022\034\n\nrow_id_hwm\030\003 \001(\003R\010r" + "owIdHwm:\002\030\001\"\332\004\n\025GetQueryValuesRequest\022e\n" + "\027operation_id_identifier\030\001 \001(\0132+.chalk.c" + "ommon.v1.OperationIdTableIdentifierH\000R\025o" + "perationIdIdentifier\022_\n\025table_name_ident" + "ifier\030\002 \001(\0132).chalk.common.v1.TableNameT" + "ableIdentifierH\000R\023tableNameIdentifier\022l\n" + "%query_timestamp_lower_bound_inclusive\030\003" + " \001(\0132\032.google.protobuf.TimestampR!queryT" + "imestampLowerBoundInclusive\022q\n%query_tim" + "estamp_upper_bound_exclusive\030\004 \001(\0132\032.goo" + "gle.protobuf.TimestampH\001R!queryTimestamp" + "UpperBoundExclusive\210\001\001\022\032\n\010features\030\005 \003(\t" + "R\010features\022\033\n\tpage_size\030\007 \001(\005R\010pageSize\022" + "\035\n\npage_token\030\010 \001(\tR\tpageToken:\002\030\001B\022\n\020ta" + "ble_identifierB(\n&_query_timestamp_upper" + "_bound_exclusive\"k\n\026GetQueryValuesRespon" + "se\022&\n\017next_page_token\030\001 \001(\tR\rnextPageTok" + "en\022\032\n\007parquet\030\002 \001(\014H\000R\007parquet:\002\030\001B\t\n\007pa" + "yloadB\221\001\n\037ai.chalk.protos.chalk.common.v" + "1B\020QueryValuesProtoP\001\242\002\003CCX\252\002\017Chalk.Comm" + "on.V1\312\002\017Chalk\\Common\\V1\342\002\033Chalk\\Common\\V" + "1\\GPBMetadata\352\002\021Chalk::Common::V1b\006proto" + "3" }; 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_common_v1_OperationIdTableIdentifier_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_common_v1_OperationIdTableIdentifier_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_OperationIdTableIdentifier_descriptor, new java.lang.String[] { "OperationId", }); internal_static_chalk_common_v1_TableNameTableIdentifier_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_chalk_common_v1_TableNameTableIdentifier_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_TableNameTableIdentifier_descriptor, new java.lang.String[] { "TableName", "Filters", }); internal_static_chalk_common_v1_GetQueryValuesPageToken_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_chalk_common_v1_GetQueryValuesPageToken_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_GetQueryValuesPageToken_descriptor, new java.lang.String[] { "QueryTimestampHwm", "OperationIdHwm", "RowIdHwm", }); internal_static_chalk_common_v1_GetQueryValuesRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_chalk_common_v1_GetQueryValuesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_GetQueryValuesRequest_descriptor, new java.lang.String[] { "OperationIdIdentifier", "TableNameIdentifier", "QueryTimestampLowerBoundInclusive", "QueryTimestampUpperBoundExclusive", "Features", "PageSize", "PageToken", "TableIdentifier", }); internal_static_chalk_common_v1_GetQueryValuesResponse_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_chalk_common_v1_GetQueryValuesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_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/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/Series.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/chart.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; /** * Protobuf type {@code chalk.common.v1.Series} */ @java.lang.Deprecated public final class Series extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.common.v1.Series) SeriesOrBuilder { private static final long serialVersionUID = 0L; // Use Series.newBuilder() to construct. private Series(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private Series() { points_ = emptyDoubleList(); label_ = ""; units_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Series(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.ChartProto.internal_static_chalk_common_v1_Series_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.ChartProto.internal_static_chalk_common_v1_Series_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.Series.class, ai.chalk.protos.chalk.common.v1.Series.Builder.class); } public static final int POINTS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private com.google.protobuf.Internal.DoubleList points_ = emptyDoubleList(); /** * <code>repeated double points = 1 [json_name = "points"];</code> * @return A list containing the points. */ @java.lang.Override public java.util.List<java.lang.Double> getPointsList() { return points_; } /** * <code>repeated double points = 1 [json_name = "points"];</code> * @return The count of points. */ public int getPointsCount() { return points_.size(); } /** * <code>repeated double points = 1 [json_name = "points"];</code> * @param index The index of the element to return. * @return The points at the given index. */ public double getPoints(int index) { return points_.getDouble(index); } private int pointsMemoizedSerializedSize = -1; public static final int LABEL_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object label_ = ""; /** * <code>string label = 2 [json_name = "label"];</code> * @return The label. */ @java.lang.Override public java.lang.String getLabel() { java.lang.Object ref = label_; 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(); label_ = s; return s; } } /** * <code>string label = 2 [json_name = "label"];</code> * @return The bytes for label. */ @java.lang.Override public com.google.protobuf.ByteString getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); label_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNITS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object units_ = ""; /** * <code>string units = 3 [json_name = "units"];</code> * @return The units. */ @java.lang.Override public java.lang.String getUnits() { java.lang.Object ref = units_; 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(); units_ = s; return s; } } /** * <code>string units = 3 [json_name = "units"];</code> * @return The bytes for units. */ @java.lang.Override public com.google.protobuf.ByteString getUnitsBytes() { java.lang.Object ref = units_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); units_ = 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 { getSerializedSize(); if (getPointsList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(pointsMemoizedSerializedSize); } for (int i = 0; i < points_.size(); i++) { output.writeDoubleNoTag(points_.getDouble(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, label_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(units_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, units_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; dataSize = 8 * getPointsList().size(); size += dataSize; if (!getPointsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } pointsMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, label_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(units_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, units_); } 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.common.v1.Series)) { return super.equals(obj); } ai.chalk.protos.chalk.common.v1.Series other = (ai.chalk.protos.chalk.common.v1.Series) obj; if (!getPointsList() .equals(other.getPointsList())) return false; if (!getLabel() .equals(other.getLabel())) return false; if (!getUnits() .equals(other.getUnits())) 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 (getPointsCount() > 0) { hash = (37 * hash) + POINTS_FIELD_NUMBER; hash = (53 * hash) + getPointsList().hashCode(); } hash = (37 * hash) + LABEL_FIELD_NUMBER; hash = (53 * hash) + getLabel().hashCode(); hash = (37 * hash) + UNITS_FIELD_NUMBER; hash = (53 * hash) + getUnits().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.common.v1.Series parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.Series 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.common.v1.Series parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.Series 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.common.v1.Series parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.Series parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.common.v1.Series parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.Series 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.common.v1.Series parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.Series 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.common.v1.Series parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.Series 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.common.v1.Series 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.common.v1.Series} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.common.v1.Series) ai.chalk.protos.chalk.common.v1.SeriesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.ChartProto.internal_static_chalk_common_v1_Series_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.ChartProto.internal_static_chalk_common_v1_Series_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.Series.class, ai.chalk.protos.chalk.common.v1.Series.Builder.class); } // Construct using ai.chalk.protos.chalk.common.v1.Series.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; points_ = emptyDoubleList(); label_ = ""; units_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.common.v1.ChartProto.internal_static_chalk_common_v1_Series_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.Series getDefaultInstanceForType() { return ai.chalk.protos.chalk.common.v1.Series.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.common.v1.Series build() { ai.chalk.protos.chalk.common.v1.Series result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.Series buildPartial() { ai.chalk.protos.chalk.common.v1.Series result = new ai.chalk.protos.chalk.common.v1.Series(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.common.v1.Series result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { points_.makeImmutable(); result.points_ = points_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.label_ = label_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.units_ = units_; } } @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.common.v1.Series) { return mergeFrom((ai.chalk.protos.chalk.common.v1.Series)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.common.v1.Series other) { if (other == ai.chalk.protos.chalk.common.v1.Series.getDefaultInstance()) return this; if (!other.points_.isEmpty()) { if (points_.isEmpty()) { points_ = other.points_; points_.makeImmutable(); bitField0_ |= 0x00000001; } else { ensurePointsIsMutable(); points_.addAll(other.points_); } onChanged(); } if (!other.getLabel().isEmpty()) { label_ = other.label_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getUnits().isEmpty()) { units_ = other.units_; 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 9: { double v = input.readDouble(); ensurePointsIsMutable(); points_.addDouble(v); break; } // case 9 case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); int alloc = length > 4096 ? 4096 : length; ensurePointsIsMutable(alloc / 8); while (input.getBytesUntilLimit() > 0) { points_.addDouble(input.readDouble()); } input.popLimit(limit); break; } // case 10 case 18: { label_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { units_ = 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 com.google.protobuf.Internal.DoubleList points_ = emptyDoubleList(); private void ensurePointsIsMutable() { if (!points_.isModifiable()) { points_ = makeMutableCopy(points_); } bitField0_ |= 0x00000001; } private void ensurePointsIsMutable(int capacity) { if (!points_.isModifiable()) { points_ = makeMutableCopy(points_, capacity); } bitField0_ |= 0x00000001; } /** * <code>repeated double points = 1 [json_name = "points"];</code> * @return A list containing the points. */ public java.util.List<java.lang.Double> getPointsList() { points_.makeImmutable(); return points_; } /** * <code>repeated double points = 1 [json_name = "points"];</code> * @return The count of points. */ public int getPointsCount() { return points_.size(); } /** * <code>repeated double points = 1 [json_name = "points"];</code> * @param index The index of the element to return. * @return The points at the given index. */ public double getPoints(int index) { return points_.getDouble(index); } /** * <code>repeated double points = 1 [json_name = "points"];</code> * @param index The index to set the value at. * @param value The points to set. * @return This builder for chaining. */ public Builder setPoints( int index, double value) { ensurePointsIsMutable(); points_.setDouble(index, value); bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>repeated double points = 1 [json_name = "points"];</code> * @param value The points to add. * @return This builder for chaining. */ public Builder addPoints(double value) { ensurePointsIsMutable(); points_.addDouble(value); bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>repeated double points = 1 [json_name = "points"];</code> * @param values The points to add. * @return This builder for chaining. */ public Builder addAllPoints( java.lang.Iterable<? extends java.lang.Double> values) { ensurePointsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, points_); bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>repeated double points = 1 [json_name = "points"];</code> * @return This builder for chaining. */ public Builder clearPoints() { points_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private java.lang.Object label_ = ""; /** * <code>string label = 2 [json_name = "label"];</code> * @return The label. */ public java.lang.String getLabel() { java.lang.Object ref = label_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); label_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string label = 2 [json_name = "label"];</code> * @return The bytes for label. */ public com.google.protobuf.ByteString getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); label_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string label = 2 [json_name = "label"];</code> * @param value The label to set. * @return This builder for chaining. */ public Builder setLabel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } label_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>string label = 2 [json_name = "label"];</code> * @return This builder for chaining. */ public Builder clearLabel() { label_ = getDefaultInstance().getLabel(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * <code>string label = 2 [json_name = "label"];</code> * @param value The bytes for label to set. * @return This builder for chaining. */ public Builder setLabelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); label_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object units_ = ""; /** * <code>string units = 3 [json_name = "units"];</code> * @return The units. */ public java.lang.String getUnits() { java.lang.Object ref = units_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); units_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string units = 3 [json_name = "units"];</code> * @return The bytes for units. */ public com.google.protobuf.ByteString getUnitsBytes() { java.lang.Object ref = units_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); units_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string units = 3 [json_name = "units"];</code> * @param value The units to set. * @return This builder for chaining. */ public Builder setUnits( java.lang.String value) { if (value == null) { throw new NullPointerException(); } units_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>string units = 3 [json_name = "units"];</code> * @return This builder for chaining. */ public Builder clearUnits() { units_ = getDefaultInstance().getUnits(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * <code>string units = 3 [json_name = "units"];</code> * @param value The bytes for units to set. * @return This builder for chaining. */ public Builder setUnitsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); units_ = 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.common.v1.Series) } // @@protoc_insertion_point(class_scope:chalk.common.v1.Series) private static final ai.chalk.protos.chalk.common.v1.Series DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.common.v1.Series(); } public static ai.chalk.protos.chalk.common.v1.Series getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<Series> PARSER = new com.google.protobuf.AbstractParser<Series>() { @java.lang.Override public Series 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<Series> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<Series> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.Series getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/SeriesOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/chart.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; @java.lang.Deprecated public interface SeriesOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.common.v1.Series) com.google.protobuf.MessageOrBuilder { /** * <code>repeated double points = 1 [json_name = "points"];</code> * @return A list containing the points. */ java.util.List<java.lang.Double> getPointsList(); /** * <code>repeated double points = 1 [json_name = "points"];</code> * @return The count of points. */ int getPointsCount(); /** * <code>repeated double points = 1 [json_name = "points"];</code> * @param index The index of the element to return. * @return The points at the given index. */ double getPoints(int index); /** * <code>string label = 2 [json_name = "label"];</code> * @return The label. */ java.lang.String getLabel(); /** * <code>string label = 2 [json_name = "label"];</code> * @return The bytes for label. */ com.google.protobuf.ByteString getLabelBytes(); /** * <code>string units = 3 [json_name = "units"];</code> * @return The units. */ java.lang.String getUnits(); /** * <code>string units = 3 [json_name = "units"];</code> * @return The bytes for units. */ com.google.protobuf.ByteString getUnitsBytes(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/TableNameTableIdentifier.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; /** * Protobuf type {@code chalk.common.v1.TableNameTableIdentifier} */ @java.lang.Deprecated public final class TableNameTableIdentifier extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.common.v1.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.common.v1.QueryValuesProto.internal_static_chalk_common_v1_TableNameTableIdentifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.QueryValuesProto.internal_static_chalk_common_v1_TableNameTableIdentifier_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier.class, ai.chalk.protos.chalk.common.v1.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.common.v1.TableNameTableIdentifier)) { return super.equals(obj); } ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier other = (ai.chalk.protos.chalk.common.v1.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.common.v1.TableNameTableIdentifier parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.TableNameTableIdentifier parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.TableNameTableIdentifier parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.TableNameTableIdentifier parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.TableNameTableIdentifier parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.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.common.v1.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.common.v1.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.common.v1.TableNameTableIdentifier} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.common.v1.TableNameTableIdentifier) ai.chalk.protos.chalk.common.v1.TableNameTableIdentifierOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.QueryValuesProto.internal_static_chalk_common_v1_TableNameTableIdentifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.QueryValuesProto.internal_static_chalk_common_v1_TableNameTableIdentifier_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier.class, ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier.Builder.class); } // Construct using ai.chalk.protos.chalk.common.v1.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.common.v1.QueryValuesProto.internal_static_chalk_common_v1_TableNameTableIdentifier_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier getDefaultInstanceForType() { return ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier build() { ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier buildPartial() { ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier result = new ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.common.v1.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.common.v1.TableNameTableIdentifier) { return mergeFrom((ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier other) { if (other == ai.chalk.protos.chalk.common.v1.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.common.v1.TableNameTableIdentifier) } // @@protoc_insertion_point(class_scope:chalk.common.v1.TableNameTableIdentifier) private static final ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.common.v1.TableNameTableIdentifier(); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.TableNameTableIdentifier getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/TableNameTableIdentifierOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/query_values.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; @java.lang.Deprecated public interface TableNameTableIdentifierOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.common.v1.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/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/UploadFeaturesBulkRequest.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/online_query.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; /** * <pre> * UPLOAD FEATURES * </pre> * * Protobuf type {@code chalk.common.v1.UploadFeaturesBulkRequest} */ public final class UploadFeaturesBulkRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.common.v1.UploadFeaturesBulkRequest) UploadFeaturesBulkRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UploadFeaturesBulkRequest.newBuilder() to construct. private UploadFeaturesBulkRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private UploadFeaturesBulkRequest() { inputsFeather_ = com.google.protobuf.ByteString.EMPTY; bodyType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UploadFeaturesBulkRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_UploadFeaturesBulkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_UploadFeaturesBulkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest.class, ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest.Builder.class); } public static final int INPUTS_FEATHER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString inputsFeather_ = com.google.protobuf.ByteString.EMPTY; /** * <code>bytes inputs_feather = 1 [json_name = "inputsFeather"];</code> * @return The inputsFeather. */ @java.lang.Override public com.google.protobuf.ByteString getInputsFeather() { return inputsFeather_; } public static final int BODY_TYPE_FIELD_NUMBER = 7; private int bodyType_ = 0; /** * <code>.chalk.common.v1.FeatherBodyType body_type = 7 [json_name = "bodyType"];</code> * @return The enum numeric value on the wire for bodyType. */ @java.lang.Override public int getBodyTypeValue() { return bodyType_; } /** * <code>.chalk.common.v1.FeatherBodyType body_type = 7 [json_name = "bodyType"];</code> * @return The bodyType. */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.FeatherBodyType getBodyType() { ai.chalk.protos.chalk.common.v1.FeatherBodyType result = ai.chalk.protos.chalk.common.v1.FeatherBodyType.forNumber(bodyType_); return result == null ? ai.chalk.protos.chalk.common.v1.FeatherBodyType.UNRECOGNIZED : result; } 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 (!inputsFeather_.isEmpty()) { output.writeBytes(1, inputsFeather_); } if (bodyType_ != ai.chalk.protos.chalk.common.v1.FeatherBodyType.FEATHER_BODY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(7, bodyType_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!inputsFeather_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, inputsFeather_); } if (bodyType_ != ai.chalk.protos.chalk.common.v1.FeatherBodyType.FEATHER_BODY_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, bodyType_); } 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.common.v1.UploadFeaturesBulkRequest)) { return super.equals(obj); } ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest other = (ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest) obj; if (!getInputsFeather() .equals(other.getInputsFeather())) return false; if (bodyType_ != other.bodyType_) 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) + INPUTS_FEATHER_FIELD_NUMBER; hash = (53 * hash) + getInputsFeather().hashCode(); hash = (37 * hash) + BODY_TYPE_FIELD_NUMBER; hash = (53 * hash) + bodyType_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest 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.common.v1.UploadFeaturesBulkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest 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.common.v1.UploadFeaturesBulkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest 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.common.v1.UploadFeaturesBulkRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest 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.common.v1.UploadFeaturesBulkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest 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.common.v1.UploadFeaturesBulkRequest 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> * UPLOAD FEATURES * </pre> * * Protobuf type {@code chalk.common.v1.UploadFeaturesBulkRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.common.v1.UploadFeaturesBulkRequest) ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_UploadFeaturesBulkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_UploadFeaturesBulkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest.class, ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest.Builder.class); } // Construct using ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; inputsFeather_ = com.google.protobuf.ByteString.EMPTY; bodyType_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_UploadFeaturesBulkRequest_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest getDefaultInstanceForType() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest build() { ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest buildPartial() { ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest result = new ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.inputsFeather_ = inputsFeather_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.bodyType_ = bodyType_; } } @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.common.v1.UploadFeaturesBulkRequest) { return mergeFrom((ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest other) { if (other == ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest.getDefaultInstance()) return this; if (other.getInputsFeather() != com.google.protobuf.ByteString.EMPTY) { setInputsFeather(other.getInputsFeather()); } if (other.bodyType_ != 0) { setBodyTypeValue(other.getBodyTypeValue()); } 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: { inputsFeather_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 56: { bodyType_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 56 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.ByteString inputsFeather_ = com.google.protobuf.ByteString.EMPTY; /** * <code>bytes inputs_feather = 1 [json_name = "inputsFeather"];</code> * @return The inputsFeather. */ @java.lang.Override public com.google.protobuf.ByteString getInputsFeather() { return inputsFeather_; } /** * <code>bytes inputs_feather = 1 [json_name = "inputsFeather"];</code> * @param value The inputsFeather to set. * @return This builder for chaining. */ public Builder setInputsFeather(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } inputsFeather_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>bytes inputs_feather = 1 [json_name = "inputsFeather"];</code> * @return This builder for chaining. */ public Builder clearInputsFeather() { bitField0_ = (bitField0_ & ~0x00000001); inputsFeather_ = getDefaultInstance().getInputsFeather(); onChanged(); return this; } private int bodyType_ = 0; /** * <code>.chalk.common.v1.FeatherBodyType body_type = 7 [json_name = "bodyType"];</code> * @return The enum numeric value on the wire for bodyType. */ @java.lang.Override public int getBodyTypeValue() { return bodyType_; } /** * <code>.chalk.common.v1.FeatherBodyType body_type = 7 [json_name = "bodyType"];</code> * @param value The enum numeric value on the wire for bodyType to set. * @return This builder for chaining. */ public Builder setBodyTypeValue(int value) { bodyType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.common.v1.FeatherBodyType body_type = 7 [json_name = "bodyType"];</code> * @return The bodyType. */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.FeatherBodyType getBodyType() { ai.chalk.protos.chalk.common.v1.FeatherBodyType result = ai.chalk.protos.chalk.common.v1.FeatherBodyType.forNumber(bodyType_); return result == null ? ai.chalk.protos.chalk.common.v1.FeatherBodyType.UNRECOGNIZED : result; } /** * <code>.chalk.common.v1.FeatherBodyType body_type = 7 [json_name = "bodyType"];</code> * @param value The bodyType to set. * @return This builder for chaining. */ public Builder setBodyType(ai.chalk.protos.chalk.common.v1.FeatherBodyType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; bodyType_ = value.getNumber(); onChanged(); return this; } /** * <code>.chalk.common.v1.FeatherBodyType body_type = 7 [json_name = "bodyType"];</code> * @return This builder for chaining. */ public Builder clearBodyType() { bitField0_ = (bitField0_ & ~0x00000002); bodyType_ = 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.common.v1.UploadFeaturesBulkRequest) } // @@protoc_insertion_point(class_scope:chalk.common.v1.UploadFeaturesBulkRequest) private static final ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest(); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<UploadFeaturesBulkRequest> PARSER = new com.google.protobuf.AbstractParser<UploadFeaturesBulkRequest>() { @java.lang.Override public UploadFeaturesBulkRequest 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<UploadFeaturesBulkRequest> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<UploadFeaturesBulkRequest> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/UploadFeaturesBulkRequestOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/online_query.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; public interface UploadFeaturesBulkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.common.v1.UploadFeaturesBulkRequest) com.google.protobuf.MessageOrBuilder { /** * <code>bytes inputs_feather = 1 [json_name = "inputsFeather"];</code> * @return The inputsFeather. */ com.google.protobuf.ByteString getInputsFeather(); /** * <code>.chalk.common.v1.FeatherBodyType body_type = 7 [json_name = "bodyType"];</code> * @return The enum numeric value on the wire for bodyType. */ int getBodyTypeValue(); /** * <code>.chalk.common.v1.FeatherBodyType body_type = 7 [json_name = "bodyType"];</code> * @return The bodyType. */ ai.chalk.protos.chalk.common.v1.FeatherBodyType getBodyType(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/UploadFeaturesBulkResponse.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/online_query.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; /** * Protobuf type {@code chalk.common.v1.UploadFeaturesBulkResponse} */ public final class UploadFeaturesBulkResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.common.v1.UploadFeaturesBulkResponse) UploadFeaturesBulkResponseOrBuilder { private static final long serialVersionUID = 0L; // Use UploadFeaturesBulkResponse.newBuilder() to construct. private UploadFeaturesBulkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private UploadFeaturesBulkResponse() { errors_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UploadFeaturesBulkResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_UploadFeaturesBulkResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_UploadFeaturesBulkResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse.class, ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse.Builder.class); } public static final int ERRORS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.common.v1.ChalkError> errors_; /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.common.v1.ChalkError> getErrorsList() { return errors_; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder> getErrorsOrBuilderList() { return errors_; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.ChalkError getErrors(int index) { return errors_.get(index); } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder getErrorsOrBuilder( int index) { return errors_.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 < errors_.size(); i++) { output.writeMessage(1, errors_.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 < errors_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, errors_.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.common.v1.UploadFeaturesBulkResponse)) { return super.equals(obj); } ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse other = (ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse) obj; if (!getErrorsList() .equals(other.getErrorsList())) 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 (getErrorsCount() > 0) { hash = (37 * hash) + ERRORS_FIELD_NUMBER; hash = (53 * hash) + getErrorsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse 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.common.v1.UploadFeaturesBulkResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse 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.common.v1.UploadFeaturesBulkResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse 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.common.v1.UploadFeaturesBulkResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse 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.common.v1.UploadFeaturesBulkResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse 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.common.v1.UploadFeaturesBulkResponse 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.common.v1.UploadFeaturesBulkResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.common.v1.UploadFeaturesBulkResponse) ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_UploadFeaturesBulkResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_UploadFeaturesBulkResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse.class, ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse.Builder.class); } // Construct using ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (errorsBuilder_ == null) { errors_ = java.util.Collections.emptyList(); } else { errors_ = null; errorsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.common.v1.OnlineQueryProto.internal_static_chalk_common_v1_UploadFeaturesBulkResponse_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse getDefaultInstanceForType() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse build() { ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse buildPartial() { ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse result = new ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse result) { if (errorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); bitField0_ = (bitField0_ & ~0x00000001); } result.errors_ = errors_; } else { result.errors_ = errorsBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse 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.common.v1.UploadFeaturesBulkResponse) { return mergeFrom((ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse other) { if (other == ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse.getDefaultInstance()) return this; if (errorsBuilder_ == null) { if (!other.errors_.isEmpty()) { if (errors_.isEmpty()) { errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureErrorsIsMutable(); errors_.addAll(other.errors_); } onChanged(); } } else { if (!other.errors_.isEmpty()) { if (errorsBuilder_.isEmpty()) { errorsBuilder_.dispose(); errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); errorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } } } 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.common.v1.ChalkError m = input.readMessage( ai.chalk.protos.chalk.common.v1.ChalkError.parser(), extensionRegistry); if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(m); } else { errorsBuilder_.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.common.v1.ChalkError> errors_ = java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errors_ = new java.util.ArrayList<ai.chalk.protos.chalk.common.v1.ChalkError>(errors_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.common.v1.ChalkError, ai.chalk.protos.chalk.common.v1.ChalkError.Builder, ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder> errorsBuilder_; /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public java.util.List<ai.chalk.protos.chalk.common.v1.ChalkError> getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { return errorsBuilder_.getMessageList(); } } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public int getErrorsCount() { if (errorsBuilder_ == null) { return errors_.size(); } else { return errorsBuilder_.getCount(); } } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public ai.chalk.protos.chalk.common.v1.ChalkError getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { return errorsBuilder_.getMessage(index); } } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder setErrors( int index, ai.chalk.protos.chalk.common.v1.ChalkError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureErrorsIsMutable(); errors_.set(index, value); onChanged(); } else { errorsBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder setErrors( int index, ai.chalk.protos.chalk.common.v1.ChalkError.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); onChanged(); } else { errorsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder addErrors(ai.chalk.protos.chalk.common.v1.ChalkError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureErrorsIsMutable(); errors_.add(value); onChanged(); } else { errorsBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder addErrors( int index, ai.chalk.protos.chalk.common.v1.ChalkError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureErrorsIsMutable(); errors_.add(index, value); onChanged(); } else { errorsBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder addErrors( ai.chalk.protos.chalk.common.v1.ChalkError.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); onChanged(); } else { errorsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder addErrors( int index, ai.chalk.protos.chalk.common.v1.ChalkError.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); onChanged(); } else { errorsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder addAllErrors( java.lang.Iterable<? extends ai.chalk.protos.chalk.common.v1.ChalkError> values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder clearErrors() { if (errorsBuilder_ == null) { errors_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { errorsBuilder_.clear(); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.remove(index); onChanged(); } else { errorsBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public ai.chalk.protos.chalk.common.v1.ChalkError.Builder getErrorsBuilder( int index) { return getErrorsFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder> getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(errors_); } } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public ai.chalk.protos.chalk.common.v1.ChalkError.Builder addErrorsBuilder() { return getErrorsFieldBuilder().addBuilder( ai.chalk.protos.chalk.common.v1.ChalkError.getDefaultInstance()); } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public ai.chalk.protos.chalk.common.v1.ChalkError.Builder addErrorsBuilder( int index) { return getErrorsFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.common.v1.ChalkError.getDefaultInstance()); } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public java.util.List<ai.chalk.protos.chalk.common.v1.ChalkError.Builder> getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.common.v1.ChalkError, ai.chalk.protos.chalk.common.v1.ChalkError.Builder, ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.common.v1.ChalkError, ai.chalk.protos.chalk.common.v1.ChalkError.Builder, ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder>( errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } @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.common.v1.UploadFeaturesBulkResponse) } // @@protoc_insertion_point(class_scope:chalk.common.v1.UploadFeaturesBulkResponse) private static final ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse(); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<UploadFeaturesBulkResponse> PARSER = new com.google.protobuf.AbstractParser<UploadFeaturesBulkResponse>() { @java.lang.Override public UploadFeaturesBulkResponse 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<UploadFeaturesBulkResponse> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<UploadFeaturesBulkResponse> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/UploadFeaturesBulkResponseOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/online_query.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; public interface UploadFeaturesBulkResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.common.v1.UploadFeaturesBulkResponse) com.google.protobuf.MessageOrBuilder { /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ java.util.List<ai.chalk.protos.chalk.common.v1.ChalkError> getErrorsList(); /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ ai.chalk.protos.chalk.common.v1.ChalkError getErrors(int index); /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ int getErrorsCount(); /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder> getErrorsOrBuilderList(); /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder getErrorsOrBuilder( int index); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/UploadFeaturesProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/upload_features.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; public final class UploadFeaturesProto { private UploadFeaturesProto() {} 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_common_v1_UploadFeaturesRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_UploadFeaturesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_common_v1_UploadFeaturesResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_common_v1_UploadFeaturesResponse_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/common/v1/upload_features.proto\022" + "\017chalk.common.v1\032!chalk/common/v1/chalk_" + "error.proto\":\n\025UploadFeaturesRequest\022!\n\014" + "inputs_table\030\001 \001(\014R\013inputsTable\"p\n\026Uploa" + "dFeaturesResponse\0223\n\006errors\030\001 \003(\0132\033.chal" + "k.common.v1.ChalkErrorR\006errors\022!\n\014operat" + "ion_id\030\002 \001(\tR\013operationIdB\224\001\n\037ai.chalk.p" + "rotos.chalk.common.v1B\023UploadFeaturesPro" + "toP\001\242\002\003CCX\252\002\017Chalk.Common.V1\312\002\017Chalk\\Com" + "mon\\V1\342\002\033Chalk\\Common\\V1\\GPBMetadata\352\002\021C" + "halk::Common::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { ai.chalk.protos.chalk.common.v1.ChalkErrorProto.getDescriptor(), }); internal_static_chalk_common_v1_UploadFeaturesRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_common_v1_UploadFeaturesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_UploadFeaturesRequest_descriptor, new java.lang.String[] { "InputsTable", }); internal_static_chalk_common_v1_UploadFeaturesResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_chalk_common_v1_UploadFeaturesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_common_v1_UploadFeaturesResponse_descriptor, new java.lang.String[] { "Errors", "OperationId", }); ai.chalk.protos.chalk.common.v1.ChalkErrorProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/UploadFeaturesRequest.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/upload_features.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; /** * Protobuf type {@code chalk.common.v1.UploadFeaturesRequest} */ public final class UploadFeaturesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.common.v1.UploadFeaturesRequest) UploadFeaturesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UploadFeaturesRequest.newBuilder() to construct. private UploadFeaturesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private UploadFeaturesRequest() { inputsTable_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UploadFeaturesRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesProto.internal_static_chalk_common_v1_UploadFeaturesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesProto.internal_static_chalk_common_v1_UploadFeaturesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest.class, ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest.Builder.class); } public static final int INPUTS_TABLE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString inputsTable_ = com.google.protobuf.ByteString.EMPTY; /** * <code>bytes inputs_table = 1 [json_name = "inputsTable"];</code> * @return The inputsTable. */ @java.lang.Override public com.google.protobuf.ByteString getInputsTable() { return inputsTable_; } 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 (!inputsTable_.isEmpty()) { output.writeBytes(1, inputsTable_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!inputsTable_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, inputsTable_); } 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.common.v1.UploadFeaturesRequest)) { return super.equals(obj); } ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest other = (ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest) obj; if (!getInputsTable() .equals(other.getInputsTable())) 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) + INPUTS_TABLE_FIELD_NUMBER; hash = (53 * hash) + getInputsTable().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest 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.common.v1.UploadFeaturesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest 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.common.v1.UploadFeaturesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest 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.common.v1.UploadFeaturesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest 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.common.v1.UploadFeaturesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest 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.common.v1.UploadFeaturesRequest 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.common.v1.UploadFeaturesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.common.v1.UploadFeaturesRequest) ai.chalk.protos.chalk.common.v1.UploadFeaturesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesProto.internal_static_chalk_common_v1_UploadFeaturesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesProto.internal_static_chalk_common_v1_UploadFeaturesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest.class, ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest.Builder.class); } // Construct using ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; inputsTable_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesProto.internal_static_chalk_common_v1_UploadFeaturesRequest_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest getDefaultInstanceForType() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest build() { ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest buildPartial() { ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest result = new ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.inputsTable_ = inputsTable_; } } @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.common.v1.UploadFeaturesRequest) { return mergeFrom((ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest other) { if (other == ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest.getDefaultInstance()) return this; if (other.getInputsTable() != com.google.protobuf.ByteString.EMPTY) { setInputsTable(other.getInputsTable()); } 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: { inputsTable_ = input.readBytes(); 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 com.google.protobuf.ByteString inputsTable_ = com.google.protobuf.ByteString.EMPTY; /** * <code>bytes inputs_table = 1 [json_name = "inputsTable"];</code> * @return The inputsTable. */ @java.lang.Override public com.google.protobuf.ByteString getInputsTable() { return inputsTable_; } /** * <code>bytes inputs_table = 1 [json_name = "inputsTable"];</code> * @param value The inputsTable to set. * @return This builder for chaining. */ public Builder setInputsTable(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } inputsTable_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>bytes inputs_table = 1 [json_name = "inputsTable"];</code> * @return This builder for chaining. */ public Builder clearInputsTable() { bitField0_ = (bitField0_ & ~0x00000001); inputsTable_ = getDefaultInstance().getInputsTable(); 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.common.v1.UploadFeaturesRequest) } // @@protoc_insertion_point(class_scope:chalk.common.v1.UploadFeaturesRequest) private static final ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest(); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<UploadFeaturesRequest> PARSER = new com.google.protobuf.AbstractParser<UploadFeaturesRequest>() { @java.lang.Override public UploadFeaturesRequest 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<UploadFeaturesRequest> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<UploadFeaturesRequest> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/UploadFeaturesRequestOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/upload_features.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; public interface UploadFeaturesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.common.v1.UploadFeaturesRequest) com.google.protobuf.MessageOrBuilder { /** * <code>bytes inputs_table = 1 [json_name = "inputsTable"];</code> * @return The inputsTable. */ com.google.protobuf.ByteString getInputsTable(); }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/UploadFeaturesResponse.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/upload_features.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; /** * Protobuf type {@code chalk.common.v1.UploadFeaturesResponse} */ public final class UploadFeaturesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.common.v1.UploadFeaturesResponse) UploadFeaturesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use UploadFeaturesResponse.newBuilder() to construct. private UploadFeaturesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private UploadFeaturesResponse() { errors_ = java.util.Collections.emptyList(); operationId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UploadFeaturesResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesProto.internal_static_chalk_common_v1_UploadFeaturesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesProto.internal_static_chalk_common_v1_UploadFeaturesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse.class, ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse.Builder.class); } public static final int ERRORS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.common.v1.ChalkError> errors_; /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.common.v1.ChalkError> getErrorsList() { return errors_; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder> getErrorsOrBuilderList() { return errors_; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.ChalkError getErrors(int index) { return errors_.get(index); } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder getErrorsOrBuilder( int index) { return errors_.get(index); } public static final int OPERATION_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object operationId_ = ""; /** * <code>string operation_id = 2 [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 = 2 [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 { for (int i = 0; i < errors_.size(); i++) { output.writeMessage(1, errors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, operationId_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < errors_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, errors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, 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.common.v1.UploadFeaturesResponse)) { return super.equals(obj); } ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse other = (ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse) obj; if (!getErrorsList() .equals(other.getErrorsList())) return false; 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(); if (getErrorsCount() > 0) { hash = (37 * hash) + ERRORS_FIELD_NUMBER; hash = (53 * hash) + getErrorsList().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.common.v1.UploadFeaturesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse 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.common.v1.UploadFeaturesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse 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.common.v1.UploadFeaturesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse 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.common.v1.UploadFeaturesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse 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.common.v1.UploadFeaturesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse 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.common.v1.UploadFeaturesResponse 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.common.v1.UploadFeaturesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.common.v1.UploadFeaturesResponse) ai.chalk.protos.chalk.common.v1.UploadFeaturesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesProto.internal_static_chalk_common_v1_UploadFeaturesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesProto.internal_static_chalk_common_v1_UploadFeaturesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse.class, ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse.Builder.class); } // Construct using ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (errorsBuilder_ == null) { errors_ = java.util.Collections.emptyList(); } else { errors_ = null; errorsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); operationId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesProto.internal_static_chalk_common_v1_UploadFeaturesResponse_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse getDefaultInstanceForType() { return ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse build() { ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse buildPartial() { ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse result = new ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse result) { if (errorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); bitField0_ = (bitField0_ & ~0x00000001); } result.errors_ = errors_; } else { result.errors_ = errorsBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 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.common.v1.UploadFeaturesResponse) { return mergeFrom((ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse other) { if (other == ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse.getDefaultInstance()) return this; if (errorsBuilder_ == null) { if (!other.errors_.isEmpty()) { if (errors_.isEmpty()) { errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureErrorsIsMutable(); errors_.addAll(other.errors_); } onChanged(); } } else { if (!other.errors_.isEmpty()) { if (errorsBuilder_.isEmpty()) { errorsBuilder_.dispose(); errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); errorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } } } if (!other.getOperationId().isEmpty()) { operationId_ = other.operationId_; 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.common.v1.ChalkError m = input.readMessage( ai.chalk.protos.chalk.common.v1.ChalkError.parser(), extensionRegistry); if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(m); } else { errorsBuilder_.addMessage(m); } break; } // case 10 case 18: { operationId_ = 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.common.v1.ChalkError> errors_ = java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errors_ = new java.util.ArrayList<ai.chalk.protos.chalk.common.v1.ChalkError>(errors_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.common.v1.ChalkError, ai.chalk.protos.chalk.common.v1.ChalkError.Builder, ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder> errorsBuilder_; /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public java.util.List<ai.chalk.protos.chalk.common.v1.ChalkError> getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { return errorsBuilder_.getMessageList(); } } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public int getErrorsCount() { if (errorsBuilder_ == null) { return errors_.size(); } else { return errorsBuilder_.getCount(); } } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public ai.chalk.protos.chalk.common.v1.ChalkError getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { return errorsBuilder_.getMessage(index); } } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder setErrors( int index, ai.chalk.protos.chalk.common.v1.ChalkError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureErrorsIsMutable(); errors_.set(index, value); onChanged(); } else { errorsBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder setErrors( int index, ai.chalk.protos.chalk.common.v1.ChalkError.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); onChanged(); } else { errorsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder addErrors(ai.chalk.protos.chalk.common.v1.ChalkError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureErrorsIsMutable(); errors_.add(value); onChanged(); } else { errorsBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder addErrors( int index, ai.chalk.protos.chalk.common.v1.ChalkError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureErrorsIsMutable(); errors_.add(index, value); onChanged(); } else { errorsBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder addErrors( ai.chalk.protos.chalk.common.v1.ChalkError.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); onChanged(); } else { errorsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder addErrors( int index, ai.chalk.protos.chalk.common.v1.ChalkError.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); onChanged(); } else { errorsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder addAllErrors( java.lang.Iterable<? extends ai.chalk.protos.chalk.common.v1.ChalkError> values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder clearErrors() { if (errorsBuilder_ == null) { errors_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { errorsBuilder_.clear(); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.remove(index); onChanged(); } else { errorsBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public ai.chalk.protos.chalk.common.v1.ChalkError.Builder getErrorsBuilder( int index) { return getErrorsFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder> getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(errors_); } } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public ai.chalk.protos.chalk.common.v1.ChalkError.Builder addErrorsBuilder() { return getErrorsFieldBuilder().addBuilder( ai.chalk.protos.chalk.common.v1.ChalkError.getDefaultInstance()); } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public ai.chalk.protos.chalk.common.v1.ChalkError.Builder addErrorsBuilder( int index) { return getErrorsFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.common.v1.ChalkError.getDefaultInstance()); } /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ public java.util.List<ai.chalk.protos.chalk.common.v1.ChalkError.Builder> getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.common.v1.ChalkError, ai.chalk.protos.chalk.common.v1.ChalkError.Builder, ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.common.v1.ChalkError, ai.chalk.protos.chalk.common.v1.ChalkError.Builder, ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder>( errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } private java.lang.Object operationId_ = ""; /** * <code>string operation_id = 2 [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 = 2 [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 = 2 [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_ |= 0x00000002; onChanged(); return this; } /** * <code>string operation_id = 2 [json_name = "operationId"];</code> * @return This builder for chaining. */ public Builder clearOperationId() { operationId_ = getDefaultInstance().getOperationId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * <code>string operation_id = 2 [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_ |= 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.common.v1.UploadFeaturesResponse) } // @@protoc_insertion_point(class_scope:chalk.common.v1.UploadFeaturesResponse) private static final ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse(); } public static ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<UploadFeaturesResponse> PARSER = new com.google.protobuf.AbstractParser<UploadFeaturesResponse>() { @java.lang.Override public UploadFeaturesResponse 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<UploadFeaturesResponse> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<UploadFeaturesResponse> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/UploadFeaturesResponseOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/upload_features.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; public interface UploadFeaturesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.common.v1.UploadFeaturesResponse) com.google.protobuf.MessageOrBuilder { /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ java.util.List<ai.chalk.protos.chalk.common.v1.ChalkError> getErrorsList(); /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ ai.chalk.protos.chalk.common.v1.ChalkError getErrors(int index); /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ int getErrorsCount(); /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder> getErrorsOrBuilderList(); /** * <code>repeated .chalk.common.v1.ChalkError errors = 1 [json_name = "errors"];</code> */ ai.chalk.protos.chalk.common.v1.ChalkErrorOrBuilder getErrorsOrBuilder( int index); /** * <code>string operation_id = 2 [json_name = "operationId"];</code> * @return The operationId. */ java.lang.String getOperationId(); /** * <code>string operation_id = 2 [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/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/VersionedQueryName.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; /** * Protobuf type {@code chalk.common.v1.VersionedQueryName} */ @java.lang.Deprecated public final class VersionedQueryName extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.common.v1.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.common.v1.QueryLogProto.internal_static_chalk_common_v1_VersionedQueryName_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.QueryLogProto.internal_static_chalk_common_v1_VersionedQueryName_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.VersionedQueryName.class, ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName)) { return super.equals(obj); } ai.chalk.protos.chalk.common.v1.VersionedQueryName other = (ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.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.common.v1.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.common.v1.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.common.v1.VersionedQueryName} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.common.v1.VersionedQueryName) ai.chalk.protos.chalk.common.v1.VersionedQueryNameOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.common.v1.QueryLogProto.internal_static_chalk_common_v1_VersionedQueryName_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.common.v1.QueryLogProto.internal_static_chalk_common_v1_VersionedQueryName_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.common.v1.VersionedQueryName.class, ai.chalk.protos.chalk.common.v1.VersionedQueryName.Builder.class); } // Construct using ai.chalk.protos.chalk.common.v1.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.common.v1.QueryLogProto.internal_static_chalk_common_v1_VersionedQueryName_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.VersionedQueryName getDefaultInstanceForType() { return ai.chalk.protos.chalk.common.v1.VersionedQueryName.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.common.v1.VersionedQueryName build() { ai.chalk.protos.chalk.common.v1.VersionedQueryName result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.common.v1.VersionedQueryName buildPartial() { ai.chalk.protos.chalk.common.v1.VersionedQueryName result = new ai.chalk.protos.chalk.common.v1.VersionedQueryName(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName) { return mergeFrom((ai.chalk.protos.chalk.common.v1.VersionedQueryName)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.common.v1.VersionedQueryName other) { if (other == ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName) } // @@protoc_insertion_point(class_scope:chalk.common.v1.VersionedQueryName) private static final ai.chalk.protos.chalk.common.v1.VersionedQueryName DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.common.v1.VersionedQueryName(); } public static ai.chalk.protos.chalk.common.v1.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.common.v1.VersionedQueryName getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }
0
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/common/v1/VersionedQueryNameOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/common/v1/query_log.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.common.v1; @java.lang.Deprecated public interface VersionedQueryNameOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.common.v1.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/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v1/BloomFilter.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/bloom_filter.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.BloomFilter} */ public final class BloomFilter extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.BloomFilter) BloomFilterOrBuilder { private static final long serialVersionUID = 0L; // Use BloomFilter.newBuilder() to construct. private BloomFilter(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private BloomFilter() { environment_ = ""; namespace_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BloomFilter(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.BloomFilterProto.internal_static_chalk_engine_v1_BloomFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.BloomFilterProto.internal_static_chalk_engine_v1_BloomFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.BloomFilter.class, ai.chalk.protos.chalk.engine.v1.BloomFilter.Builder.class); } public static final int ENVIRONMENT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object environment_ = ""; /** * <code>string environment = 1 [json_name = "environment"];</code> * @return The environment. */ @java.lang.Override public java.lang.String getEnvironment() { java.lang.Object ref = environment_; 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(); environment_ = s; return s; } } /** * <code>string environment = 1 [json_name = "environment"];</code> * @return The bytes for environment. */ @java.lang.Override public com.google.protobuf.ByteString getEnvironmentBytes() { java.lang.Object ref = environment_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); environment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAMESPACE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object namespace_ = ""; /** * <code>string namespace = 2 [json_name = "namespace"];</code> * @return The namespace. */ @java.lang.Override public java.lang.String getNamespace() { java.lang.Object ref = namespace_; 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(); namespace_ = s; return s; } } /** * <code>string namespace = 2 [json_name = "namespace"];</code> * @return The bytes for namespace. */ @java.lang.Override public com.google.protobuf.ByteString getNamespaceBytes() { java.lang.Object ref = namespace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); namespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NUM_ENTRIES_FIELD_NUMBER = 3; private long numEntries_ = 0L; /** * <pre> * number of items actually inserted into this bloom filter * </pre> * * <code>uint64 num_entries = 3 [json_name = "numEntries"];</code> * @return The numEntries. */ @java.lang.Override public long getNumEntries() { return numEntries_; } public static final int NUM_EXPECTED_ENTRIES_FIELD_NUMBER = 4; private long numExpectedEntries_ = 0L; /** * <pre> * Expected max number of entries, used to calculate size w.r.t error rate * </pre> * * <code>uint64 num_expected_entries = 4 [json_name = "numExpectedEntries"];</code> * @return The numExpectedEntries. */ @java.lang.Override public long getNumExpectedEntries() { return numExpectedEntries_; } public static final int NUM_HASHES_FIELD_NUMBER = 5; private long numHashes_ = 0L; /** * <code>uint64 num_hashes = 5 [json_name = "numHashes"];</code> * @return The numHashes. */ @java.lang.Override public long getNumHashes() { return numHashes_; } public static final int SIZE_BYTES_FIELD_NUMBER = 6; private long sizeBytes_ = 0L; /** * <code>uint64 size_bytes = 6 [json_name = "sizeBytes"];</code> * @return The sizeBytes. */ @java.lang.Override public long getSizeBytes() { return sizeBytes_; } public static final int DATA_FIELD_NUMBER = 7; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * <code>bytes data = 7 [json_name = "data"];</code> * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } 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(environment_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, environment_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_); } if (numEntries_ != 0L) { output.writeUInt64(3, numEntries_); } if (numExpectedEntries_ != 0L) { output.writeUInt64(4, numExpectedEntries_); } if (numHashes_ != 0L) { output.writeUInt64(5, numHashes_); } if (sizeBytes_ != 0L) { output.writeUInt64(6, sizeBytes_); } if (!data_.isEmpty()) { output.writeBytes(7, data_); } 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(environment_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, environment_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_); } if (numEntries_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, numEntries_); } if (numExpectedEntries_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, numExpectedEntries_); } if (numHashes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, numHashes_); } if (sizeBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, sizeBytes_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, data_); } 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.v1.BloomFilter)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.BloomFilter other = (ai.chalk.protos.chalk.engine.v1.BloomFilter) obj; if (!getEnvironment() .equals(other.getEnvironment())) return false; if (!getNamespace() .equals(other.getNamespace())) return false; if (getNumEntries() != other.getNumEntries()) return false; if (getNumExpectedEntries() != other.getNumExpectedEntries()) return false; if (getNumHashes() != other.getNumHashes()) return false; if (getSizeBytes() != other.getSizeBytes()) return false; if (!getData() .equals(other.getData())) 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) + ENVIRONMENT_FIELD_NUMBER; hash = (53 * hash) + getEnvironment().hashCode(); hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; hash = (53 * hash) + getNamespace().hashCode(); hash = (37 * hash) + NUM_ENTRIES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNumEntries()); hash = (37 * hash) + NUM_EXPECTED_ENTRIES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNumExpectedEntries()); hash = (37 * hash) + NUM_HASHES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNumHashes()); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSizeBytes()); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.BloomFilter parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.BloomFilter 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.v1.BloomFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.BloomFilter 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.v1.BloomFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.BloomFilter 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.v1.BloomFilter parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.BloomFilter 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.v1.BloomFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.BloomFilter 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.v1.BloomFilter 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.v1.BloomFilter 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.v1.BloomFilter 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.v1.BloomFilter} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.BloomFilter) ai.chalk.protos.chalk.engine.v1.BloomFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.BloomFilterProto.internal_static_chalk_engine_v1_BloomFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.BloomFilterProto.internal_static_chalk_engine_v1_BloomFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.BloomFilter.class, ai.chalk.protos.chalk.engine.v1.BloomFilter.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.BloomFilter.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; environment_ = ""; namespace_ = ""; numEntries_ = 0L; numExpectedEntries_ = 0L; numHashes_ = 0L; sizeBytes_ = 0L; data_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.BloomFilterProto.internal_static_chalk_engine_v1_BloomFilter_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.BloomFilter getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.BloomFilter.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.BloomFilter build() { ai.chalk.protos.chalk.engine.v1.BloomFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.BloomFilter buildPartial() { ai.chalk.protos.chalk.engine.v1.BloomFilter result = new ai.chalk.protos.chalk.engine.v1.BloomFilter(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.BloomFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.environment_ = environment_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.namespace_ = namespace_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.numEntries_ = numEntries_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.numExpectedEntries_ = numExpectedEntries_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.numHashes_ = numHashes_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.sizeBytes_ = sizeBytes_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.data_ = data_; } } @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.v1.BloomFilter) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.BloomFilter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.BloomFilter other) { if (other == ai.chalk.protos.chalk.engine.v1.BloomFilter.getDefaultInstance()) return this; if (!other.getEnvironment().isEmpty()) { environment_ = other.environment_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getNamespace().isEmpty()) { namespace_ = other.namespace_; bitField0_ |= 0x00000002; onChanged(); } if (other.getNumEntries() != 0L) { setNumEntries(other.getNumEntries()); } if (other.getNumExpectedEntries() != 0L) { setNumExpectedEntries(other.getNumExpectedEntries()); } if (other.getNumHashes() != 0L) { setNumHashes(other.getNumHashes()); } if (other.getSizeBytes() != 0L) { setSizeBytes(other.getSizeBytes()); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } 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: { environment_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { namespace_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { numEntries_ = input.readUInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { numExpectedEntries_ = input.readUInt64(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { numHashes_ = input.readUInt64(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { sizeBytes_ = input.readUInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 58: { data_ = input.readBytes(); bitField0_ |= 0x00000040; break; } // case 58 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 environment_ = ""; /** * <code>string environment = 1 [json_name = "environment"];</code> * @return The environment. */ public java.lang.String getEnvironment() { java.lang.Object ref = environment_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environment_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string environment = 1 [json_name = "environment"];</code> * @return The bytes for environment. */ public com.google.protobuf.ByteString getEnvironmentBytes() { java.lang.Object ref = environment_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); environment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string environment = 1 [json_name = "environment"];</code> * @param value The environment to set. * @return This builder for chaining. */ public Builder setEnvironment( java.lang.String value) { if (value == null) { throw new NullPointerException(); } environment_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string environment = 1 [json_name = "environment"];</code> * @return This builder for chaining. */ public Builder clearEnvironment() { environment_ = getDefaultInstance().getEnvironment(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string environment = 1 [json_name = "environment"];</code> * @param value The bytes for environment to set. * @return This builder for chaining. */ public Builder setEnvironmentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); environment_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object namespace_ = ""; /** * <code>string namespace = 2 [json_name = "namespace"];</code> * @return The namespace. */ public java.lang.String getNamespace() { java.lang.Object ref = namespace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namespace_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string namespace = 2 [json_name = "namespace"];</code> * @return The bytes for namespace. */ public com.google.protobuf.ByteString getNamespaceBytes() { java.lang.Object ref = namespace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); namespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string namespace = 2 [json_name = "namespace"];</code> * @param value The namespace to set. * @return This builder for chaining. */ public Builder setNamespace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } namespace_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>string namespace = 2 [json_name = "namespace"];</code> * @return This builder for chaining. */ public Builder clearNamespace() { namespace_ = getDefaultInstance().getNamespace(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * <code>string namespace = 2 [json_name = "namespace"];</code> * @param value The bytes for namespace to set. * @return This builder for chaining. */ public Builder setNamespaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); namespace_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private long numEntries_ ; /** * <pre> * number of items actually inserted into this bloom filter * </pre> * * <code>uint64 num_entries = 3 [json_name = "numEntries"];</code> * @return The numEntries. */ @java.lang.Override public long getNumEntries() { return numEntries_; } /** * <pre> * number of items actually inserted into this bloom filter * </pre> * * <code>uint64 num_entries = 3 [json_name = "numEntries"];</code> * @param value The numEntries to set. * @return This builder for chaining. */ public Builder setNumEntries(long value) { numEntries_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * <pre> * number of items actually inserted into this bloom filter * </pre> * * <code>uint64 num_entries = 3 [json_name = "numEntries"];</code> * @return This builder for chaining. */ public Builder clearNumEntries() { bitField0_ = (bitField0_ & ~0x00000004); numEntries_ = 0L; onChanged(); return this; } private long numExpectedEntries_ ; /** * <pre> * Expected max number of entries, used to calculate size w.r.t error rate * </pre> * * <code>uint64 num_expected_entries = 4 [json_name = "numExpectedEntries"];</code> * @return The numExpectedEntries. */ @java.lang.Override public long getNumExpectedEntries() { return numExpectedEntries_; } /** * <pre> * Expected max number of entries, used to calculate size w.r.t error rate * </pre> * * <code>uint64 num_expected_entries = 4 [json_name = "numExpectedEntries"];</code> * @param value The numExpectedEntries to set. * @return This builder for chaining. */ public Builder setNumExpectedEntries(long value) { numExpectedEntries_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * <pre> * Expected max number of entries, used to calculate size w.r.t error rate * </pre> * * <code>uint64 num_expected_entries = 4 [json_name = "numExpectedEntries"];</code> * @return This builder for chaining. */ public Builder clearNumExpectedEntries() { bitField0_ = (bitField0_ & ~0x00000008); numExpectedEntries_ = 0L; onChanged(); return this; } private long numHashes_ ; /** * <code>uint64 num_hashes = 5 [json_name = "numHashes"];</code> * @return The numHashes. */ @java.lang.Override public long getNumHashes() { return numHashes_; } /** * <code>uint64 num_hashes = 5 [json_name = "numHashes"];</code> * @param value The numHashes to set. * @return This builder for chaining. */ public Builder setNumHashes(long value) { numHashes_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * <code>uint64 num_hashes = 5 [json_name = "numHashes"];</code> * @return This builder for chaining. */ public Builder clearNumHashes() { bitField0_ = (bitField0_ & ~0x00000010); numHashes_ = 0L; onChanged(); return this; } private long sizeBytes_ ; /** * <code>uint64 size_bytes = 6 [json_name = "sizeBytes"];</code> * @return The sizeBytes. */ @java.lang.Override public long getSizeBytes() { return sizeBytes_; } /** * <code>uint64 size_bytes = 6 [json_name = "sizeBytes"];</code> * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { sizeBytes_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * <code>uint64 size_bytes = 6 [json_name = "sizeBytes"];</code> * @return This builder for chaining. */ public Builder clearSizeBytes() { bitField0_ = (bitField0_ & ~0x00000020); sizeBytes_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * <code>bytes data = 7 [json_name = "data"];</code> * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** * <code>bytes data = 7 [json_name = "data"];</code> * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * <code>bytes data = 7 [json_name = "data"];</code> * @return This builder for chaining. */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000040); data_ = getDefaultInstance().getData(); 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.v1.BloomFilter) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.BloomFilter) private static final ai.chalk.protos.chalk.engine.v1.BloomFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.BloomFilter(); } public static ai.chalk.protos.chalk.engine.v1.BloomFilter getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<BloomFilter> PARSER = new com.google.protobuf.AbstractParser<BloomFilter>() { @java.lang.Override public BloomFilter 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<BloomFilter> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<BloomFilter> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.BloomFilter 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/v1/BloomFilterOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/bloom_filter.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface BloomFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.BloomFilter) com.google.protobuf.MessageOrBuilder { /** * <code>string environment = 1 [json_name = "environment"];</code> * @return The environment. */ java.lang.String getEnvironment(); /** * <code>string environment = 1 [json_name = "environment"];</code> * @return The bytes for environment. */ com.google.protobuf.ByteString getEnvironmentBytes(); /** * <code>string namespace = 2 [json_name = "namespace"];</code> * @return The namespace. */ java.lang.String getNamespace(); /** * <code>string namespace = 2 [json_name = "namespace"];</code> * @return The bytes for namespace. */ com.google.protobuf.ByteString getNamespaceBytes(); /** * <pre> * number of items actually inserted into this bloom filter * </pre> * * <code>uint64 num_entries = 3 [json_name = "numEntries"];</code> * @return The numEntries. */ long getNumEntries(); /** * <pre> * Expected max number of entries, used to calculate size w.r.t error rate * </pre> * * <code>uint64 num_expected_entries = 4 [json_name = "numExpectedEntries"];</code> * @return The numExpectedEntries. */ long getNumExpectedEntries(); /** * <code>uint64 num_hashes = 5 [json_name = "numHashes"];</code> * @return The numHashes. */ long getNumHashes(); /** * <code>uint64 size_bytes = 6 [json_name = "sizeBytes"];</code> * @return The sizeBytes. */ long getSizeBytes(); /** * <code>bytes data = 7 [json_name = "data"];</code> * @return The data. */ com.google.protobuf.ByteString getData(); }
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/v1/BloomFilterProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/bloom_filter.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public final class BloomFilterProto { private BloomFilterProto() {} 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_v1_BloomFilter_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_BloomFilter_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/v1/bloom_filter.proto\022\017ch" + "alk.engine.v1\"\362\001\n\013BloomFilter\022 \n\013environ" + "ment\030\001 \001(\tR\013environment\022\034\n\tnamespace\030\002 \001" + "(\tR\tnamespace\022\037\n\013num_entries\030\003 \001(\004R\nnumE" + "ntries\0220\n\024num_expected_entries\030\004 \001(\004R\022nu" + "mExpectedEntries\022\035\n\nnum_hashes\030\005 \001(\004R\tnu" + "mHashes\022\035\n\nsize_bytes\030\006 \001(\004R\tsizeBytes\022\022" + "\n\004data\030\007 \001(\014R\004dataB\221\001\n\037ai.chalk.protos.c" + "halk.engine.v1B\020BloomFilterProtoP\001\242\002\003CEX" + "\252\002\017Chalk.Engine.V1\312\002\017Chalk\\Engine\\V1\342\002\033C" + "halk\\Engine\\V1\\GPBMetadata\352\002\021Chalk::Engi" + "ne::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_chalk_engine_v1_BloomFilter_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_engine_v1_BloomFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_BloomFilter_descriptor, new java.lang.String[] { "Environment", "Namespace", "NumEntries", "NumExpectedEntries", "NumHashes", "SizeBytes", "Data", }); } // @@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/v1/ChalkProject.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.ChalkProject} */ public final class ChalkProject extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.ChalkProject) ChalkProjectOrBuilder { private static final long serialVersionUID = 0L; // Use ChalkProject.newBuilder() to construct. private ChalkProject(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ChalkProject() { fields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ChalkProject(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_ChalkProject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_ChalkProject_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.ChalkProject.class, ai.chalk.protos.chalk.engine.v1.ChalkProject.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.engine.v1.Key> fields_; /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v1.Key> getFieldsList() { return fields_; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getFieldsOrBuilderList() { return fields_; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Key getFields(int index) { return fields_.get(index); } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.KeyOrBuilder getFieldsOrBuilder( int index) { return fields_.get(index); } public static final int PROMOTE_TS_TO_FEATURE_TIME_FIELD_NUMBER = 2; private boolean promoteTsToFeatureTime_ = false; /** * <code>bool promote_ts_to_feature_time = 2 [json_name = "promoteTsToFeatureTime"];</code> * @return The promoteTsToFeatureTime. */ @java.lang.Override public boolean getPromoteTsToFeatureTime() { return promoteTsToFeatureTime_; } 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 < fields_.size(); i++) { output.writeMessage(1, fields_.get(i)); } if (promoteTsToFeatureTime_ != false) { output.writeBool(2, promoteTsToFeatureTime_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < fields_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, fields_.get(i)); } if (promoteTsToFeatureTime_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, promoteTsToFeatureTime_); } 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.v1.ChalkProject)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.ChalkProject other = (ai.chalk.protos.chalk.engine.v1.ChalkProject) obj; if (!getFieldsList() .equals(other.getFieldsList())) return false; if (getPromoteTsToFeatureTime() != other.getPromoteTsToFeatureTime()) 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 (getFieldsCount() > 0) { hash = (37 * hash) + FIELDS_FIELD_NUMBER; hash = (53 * hash) + getFieldsList().hashCode(); } hash = (37 * hash) + PROMOTE_TS_TO_FEATURE_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPromoteTsToFeatureTime()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.ChalkProject parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.ChalkProject 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.v1.ChalkProject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.ChalkProject 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.v1.ChalkProject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.ChalkProject 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.v1.ChalkProject parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.ChalkProject 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.v1.ChalkProject parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.ChalkProject 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.v1.ChalkProject 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.v1.ChalkProject 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.v1.ChalkProject 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.v1.ChalkProject} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.ChalkProject) ai.chalk.protos.chalk.engine.v1.ChalkProjectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_ChalkProject_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_ChalkProject_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.ChalkProject.class, ai.chalk.protos.chalk.engine.v1.ChalkProject.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.ChalkProject.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (fieldsBuilder_ == null) { fields_ = java.util.Collections.emptyList(); } else { fields_ = null; fieldsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); promoteTsToFeatureTime_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_ChalkProject_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ChalkProject getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.ChalkProject.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ChalkProject build() { ai.chalk.protos.chalk.engine.v1.ChalkProject result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ChalkProject buildPartial() { ai.chalk.protos.chalk.engine.v1.ChalkProject result = new ai.chalk.protos.chalk.engine.v1.ChalkProject(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.engine.v1.ChalkProject result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); bitField0_ = (bitField0_ & ~0x00000001); } result.fields_ = fields_; } else { result.fields_ = fieldsBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.ChalkProject result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.promoteTsToFeatureTime_ = promoteTsToFeatureTime_; } } @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.v1.ChalkProject) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.ChalkProject)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.ChalkProject other) { if (other == ai.chalk.protos.chalk.engine.v1.ChalkProject.getDefaultInstance()) return this; if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFieldsIsMutable(); fields_.addAll(other.fields_); } onChanged(); } } else { if (!other.fields_.isEmpty()) { if (fieldsBuilder_.isEmpty()) { fieldsBuilder_.dispose(); fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); fieldsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } } } if (other.getPromoteTsToFeatureTime() != false) { setPromoteTsToFeatureTime(other.getPromoteTsToFeatureTime()); } 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.v1.Key m = input.readMessage( ai.chalk.protos.chalk.engine.v1.Key.parser(), extensionRegistry); if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(m); } else { fieldsBuilder_.addMessage(m); } break; } // case 10 case 16: { promoteTsToFeatureTime_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 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.v1.Key> fields_ = java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new java.util.ArrayList<ai.chalk.protos.chalk.engine.v1.Key>(fields_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Key, ai.chalk.protos.chalk.engine.v1.Key.Builder, ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> fieldsBuilder_; /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.Key> getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { return fieldsBuilder_.getMessageList(); } } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public int getFieldsCount() { if (fieldsBuilder_ == null) { return fields_.size(); } else { return fieldsBuilder_.getCount(); } } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key getFields(int index) { if (fieldsBuilder_ == null) { return fields_.get(index); } else { return fieldsBuilder_.getMessage(index); } } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder setFields( int index, ai.chalk.protos.chalk.engine.v1.Key value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsIsMutable(); fields_.set(index, value); onChanged(); } else { fieldsBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder setFields( int index, ai.chalk.protos.chalk.engine.v1.Key.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); onChanged(); } else { fieldsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addFields(ai.chalk.protos.chalk.engine.v1.Key value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsIsMutable(); fields_.add(value); onChanged(); } else { fieldsBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addFields( int index, ai.chalk.protos.chalk.engine.v1.Key value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsIsMutable(); fields_.add(index, value); onChanged(); } else { fieldsBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addFields( ai.chalk.protos.chalk.engine.v1.Key.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(builderForValue.build()); onChanged(); } else { fieldsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addFields( int index, ai.chalk.protos.chalk.engine.v1.Key.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); onChanged(); } else { fieldsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addAllFields( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v1.Key> values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder clearFields() { if (fieldsBuilder_ == null) { fields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { fieldsBuilder_.clear(); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.remove(index); onChanged(); } else { fieldsBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key.Builder getFieldsBuilder( int index) { return getFieldsFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.KeyOrBuilder getFieldsOrBuilder( int index) { if (fieldsBuilder_ == null) { return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fields_); } } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key.Builder addFieldsBuilder() { return getFieldsFieldBuilder().addBuilder( ai.chalk.protos.chalk.engine.v1.Key.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key.Builder addFieldsBuilder( int index) { return getFieldsFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.engine.v1.Key.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.Key.Builder> getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Key, ai.chalk.protos.chalk.engine.v1.Key.Builder, ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Key, ai.chalk.protos.chalk.engine.v1.Key.Builder, ai.chalk.protos.chalk.engine.v1.KeyOrBuilder>( fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; } private boolean promoteTsToFeatureTime_ ; /** * <code>bool promote_ts_to_feature_time = 2 [json_name = "promoteTsToFeatureTime"];</code> * @return The promoteTsToFeatureTime. */ @java.lang.Override public boolean getPromoteTsToFeatureTime() { return promoteTsToFeatureTime_; } /** * <code>bool promote_ts_to_feature_time = 2 [json_name = "promoteTsToFeatureTime"];</code> * @param value The promoteTsToFeatureTime to set. * @return This builder for chaining. */ public Builder setPromoteTsToFeatureTime(boolean value) { promoteTsToFeatureTime_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>bool promote_ts_to_feature_time = 2 [json_name = "promoteTsToFeatureTime"];</code> * @return This builder for chaining. */ public Builder clearPromoteTsToFeatureTime() { bitField0_ = (bitField0_ & ~0x00000002); promoteTsToFeatureTime_ = 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.engine.v1.ChalkProject) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.ChalkProject) private static final ai.chalk.protos.chalk.engine.v1.ChalkProject DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.ChalkProject(); } public static ai.chalk.protos.chalk.engine.v1.ChalkProject getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ChalkProject> PARSER = new com.google.protobuf.AbstractParser<ChalkProject>() { @java.lang.Override public ChalkProject 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<ChalkProject> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ChalkProject> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ChalkProject 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/v1/ChalkProjectOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface ChalkProjectOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.ChalkProject) com.google.protobuf.MessageOrBuilder { /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ java.util.List<ai.chalk.protos.chalk.engine.v1.Key> getFieldsList(); /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ ai.chalk.protos.chalk.engine.v1.Key getFields(int index); /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ int getFieldsCount(); /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getFieldsOrBuilderList(); /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ ai.chalk.protos.chalk.engine.v1.KeyOrBuilder getFieldsOrBuilder( int index); /** * <code>bool promote_ts_to_feature_time = 2 [json_name = "promoteTsToFeatureTime"];</code> * @return The promoteTsToFeatureTime. */ boolean getPromoteTsToFeatureTime(); }
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/v1/ColumnKey.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.ColumnKey} */ public final class ColumnKey extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.ColumnKey) ColumnKeyOrBuilder { private static final long serialVersionUID = 0L; // Use ColumnKey.newBuilder() to construct. private ColumnKey(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ColumnKey() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ColumnKey(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_ColumnKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_ColumnKey_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.ColumnKey.class, ai.chalk.protos.chalk.engine.v1.ColumnKey.Builder.class); } private int keyCase_ = 0; @SuppressWarnings("serial") private java.lang.Object key_; public enum KeyCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FEATURE(1), RAW(2), KEY_NOT_SET(0); private final int value; private KeyCase(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 KeyCase valueOf(int value) { return forNumber(value); } public static KeyCase forNumber(int value) { switch (value) { case 1: return FEATURE; case 2: return RAW; case 0: return KEY_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public KeyCase getKeyCase() { return KeyCase.forNumber( keyCase_); } public static final int FEATURE_FIELD_NUMBER = 1; /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> * @return Whether the feature field is set. */ @java.lang.Override public boolean hasFeature() { return keyCase_ == 1; } /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> * @return The feature. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getFeature() { if (keyCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) key_; } return ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder getFeatureOrBuilder() { if (keyCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) key_; } return ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } public static final int RAW_FIELD_NUMBER = 2; /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> * @return Whether the raw field is set. */ @java.lang.Override public boolean hasRaw() { return keyCase_ == 2; } /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> * @return The raw. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.RawColumnKey getRaw() { if (keyCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.RawColumnKey) key_; } return ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance(); } /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder getRawOrBuilder() { if (keyCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.RawColumnKey) key_; } return ai.chalk.protos.chalk.engine.v1.RawColumnKey.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 (keyCase_ == 1) { output.writeMessage(1, (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) key_); } if (keyCase_ == 2) { output.writeMessage(2, (ai.chalk.protos.chalk.engine.v1.RawColumnKey) key_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (keyCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) key_); } if (keyCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (ai.chalk.protos.chalk.engine.v1.RawColumnKey) key_); } 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.v1.ColumnKey)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.ColumnKey other = (ai.chalk.protos.chalk.engine.v1.ColumnKey) obj; if (!getKeyCase().equals(other.getKeyCase())) return false; switch (keyCase_) { case 1: if (!getFeature() .equals(other.getFeature())) return false; break; case 2: if (!getRaw() .equals(other.getRaw())) 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(); switch (keyCase_) { case 1: hash = (37 * hash) + FEATURE_FIELD_NUMBER; hash = (53 * hash) + getFeature().hashCode(); break; case 2: hash = (37 * hash) + RAW_FIELD_NUMBER; hash = (53 * hash) + getRaw().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.ColumnKey parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.ColumnKey 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.v1.ColumnKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.ColumnKey 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.v1.ColumnKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.ColumnKey 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.v1.ColumnKey parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.ColumnKey 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.v1.ColumnKey parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.ColumnKey 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.v1.ColumnKey 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.v1.ColumnKey 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.v1.ColumnKey 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.v1.ColumnKey} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.ColumnKey) ai.chalk.protos.chalk.engine.v1.ColumnKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_ColumnKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_ColumnKey_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.ColumnKey.class, ai.chalk.protos.chalk.engine.v1.ColumnKey.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.ColumnKey.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (featureBuilder_ != null) { featureBuilder_.clear(); } if (rawBuilder_ != null) { rawBuilder_.clear(); } keyCase_ = 0; key_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_ColumnKey_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ColumnKey getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.ColumnKey.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ColumnKey build() { ai.chalk.protos.chalk.engine.v1.ColumnKey result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ColumnKey buildPartial() { ai.chalk.protos.chalk.engine.v1.ColumnKey result = new ai.chalk.protos.chalk.engine.v1.ColumnKey(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.ColumnKey result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(ai.chalk.protos.chalk.engine.v1.ColumnKey result) { result.keyCase_ = keyCase_; result.key_ = this.key_; if (keyCase_ == 1 && featureBuilder_ != null) { result.key_ = featureBuilder_.build(); } if (keyCase_ == 2 && rawBuilder_ != null) { result.key_ = rawBuilder_.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.v1.ColumnKey) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.ColumnKey)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.ColumnKey other) { if (other == ai.chalk.protos.chalk.engine.v1.ColumnKey.getDefaultInstance()) return this; switch (other.getKeyCase()) { case FEATURE: { mergeFeature(other.getFeature()); break; } case RAW: { mergeRaw(other.getRaw()); break; } case KEY_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( getFeatureFieldBuilder().getBuilder(), extensionRegistry); keyCase_ = 1; break; } // case 10 case 18: { input.readMessage( getRawFieldBuilder().getBuilder(), extensionRegistry); keyCase_ = 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 keyCase_ = 0; private java.lang.Object key_; public KeyCase getKeyCase() { return KeyCase.forNumber( keyCase_); } public Builder clearKey() { keyCase_ = 0; key_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.FeatureColumnKey, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> featureBuilder_; /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> * @return Whether the feature field is set. */ @java.lang.Override public boolean hasFeature() { return keyCase_ == 1; } /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> * @return The feature. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getFeature() { if (featureBuilder_ == null) { if (keyCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) key_; } return ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } else { if (keyCase_ == 1) { return featureBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> */ public Builder setFeature(ai.chalk.protos.chalk.engine.v1.FeatureColumnKey value) { if (featureBuilder_ == null) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); } else { featureBuilder_.setMessage(value); } keyCase_ = 1; return this; } /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> */ public Builder setFeature( ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder builderForValue) { if (featureBuilder_ == null) { key_ = builderForValue.build(); onChanged(); } else { featureBuilder_.setMessage(builderForValue.build()); } keyCase_ = 1; return this; } /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> */ public Builder mergeFeature(ai.chalk.protos.chalk.engine.v1.FeatureColumnKey value) { if (featureBuilder_ == null) { if (keyCase_ == 1 && key_ != ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance()) { key_ = ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.newBuilder((ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) key_) .mergeFrom(value).buildPartial(); } else { key_ = value; } onChanged(); } else { if (keyCase_ == 1) { featureBuilder_.mergeFrom(value); } else { featureBuilder_.setMessage(value); } } keyCase_ = 1; return this; } /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> */ public Builder clearFeature() { if (featureBuilder_ == null) { if (keyCase_ == 1) { keyCase_ = 0; key_ = null; onChanged(); } } else { if (keyCase_ == 1) { keyCase_ = 0; key_ = null; } featureBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> */ public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder getFeatureBuilder() { return getFeatureFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder getFeatureOrBuilder() { if ((keyCase_ == 1) && (featureBuilder_ != null)) { return featureBuilder_.getMessageOrBuilder(); } else { if (keyCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) key_; } return ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.FeatureColumnKey, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> getFeatureFieldBuilder() { if (featureBuilder_ == null) { if (!(keyCase_ == 1)) { key_ = ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } featureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.FeatureColumnKey, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder>( (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) key_, getParentForChildren(), isClean()); key_ = null; } keyCase_ = 1; onChanged(); return featureBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.RawColumnKey, ai.chalk.protos.chalk.engine.v1.RawColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder> rawBuilder_; /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> * @return Whether the raw field is set. */ @java.lang.Override public boolean hasRaw() { return keyCase_ == 2; } /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> * @return The raw. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.RawColumnKey getRaw() { if (rawBuilder_ == null) { if (keyCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.RawColumnKey) key_; } return ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance(); } else { if (keyCase_ == 2) { return rawBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> */ public Builder setRaw(ai.chalk.protos.chalk.engine.v1.RawColumnKey value) { if (rawBuilder_ == null) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); } else { rawBuilder_.setMessage(value); } keyCase_ = 2; return this; } /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> */ public Builder setRaw( ai.chalk.protos.chalk.engine.v1.RawColumnKey.Builder builderForValue) { if (rawBuilder_ == null) { key_ = builderForValue.build(); onChanged(); } else { rawBuilder_.setMessage(builderForValue.build()); } keyCase_ = 2; return this; } /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> */ public Builder mergeRaw(ai.chalk.protos.chalk.engine.v1.RawColumnKey value) { if (rawBuilder_ == null) { if (keyCase_ == 2 && key_ != ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance()) { key_ = ai.chalk.protos.chalk.engine.v1.RawColumnKey.newBuilder((ai.chalk.protos.chalk.engine.v1.RawColumnKey) key_) .mergeFrom(value).buildPartial(); } else { key_ = value; } onChanged(); } else { if (keyCase_ == 2) { rawBuilder_.mergeFrom(value); } else { rawBuilder_.setMessage(value); } } keyCase_ = 2; return this; } /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> */ public Builder clearRaw() { if (rawBuilder_ == null) { if (keyCase_ == 2) { keyCase_ = 0; key_ = null; onChanged(); } } else { if (keyCase_ == 2) { keyCase_ = 0; key_ = null; } rawBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> */ public ai.chalk.protos.chalk.engine.v1.RawColumnKey.Builder getRawBuilder() { return getRawFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder getRawOrBuilder() { if ((keyCase_ == 2) && (rawBuilder_ != null)) { return rawBuilder_.getMessageOrBuilder(); } else { if (keyCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.RawColumnKey) key_; } return ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.RawColumnKey, ai.chalk.protos.chalk.engine.v1.RawColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder> getRawFieldBuilder() { if (rawBuilder_ == null) { if (!(keyCase_ == 2)) { key_ = ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance(); } rawBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.RawColumnKey, ai.chalk.protos.chalk.engine.v1.RawColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder>( (ai.chalk.protos.chalk.engine.v1.RawColumnKey) key_, getParentForChildren(), isClean()); key_ = null; } keyCase_ = 2; onChanged(); return rawBuilder_; } @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.v1.ColumnKey) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.ColumnKey) private static final ai.chalk.protos.chalk.engine.v1.ColumnKey DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.ColumnKey(); } public static ai.chalk.protos.chalk.engine.v1.ColumnKey getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ColumnKey> PARSER = new com.google.protobuf.AbstractParser<ColumnKey>() { @java.lang.Override public ColumnKey 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<ColumnKey> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ColumnKey> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ColumnKey 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/v1/ColumnKeyOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface ColumnKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.ColumnKey) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> * @return Whether the feature field is set. */ boolean hasFeature(); /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> * @return The feature. */ ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getFeature(); /** * <code>.chalk.engine.v1.FeatureColumnKey feature = 1 [json_name = "feature"];</code> */ ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder getFeatureOrBuilder(); /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> * @return Whether the raw field is set. */ boolean hasRaw(); /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> * @return The raw. */ ai.chalk.protos.chalk.engine.v1.RawColumnKey getRaw(); /** * <code>.chalk.engine.v1.RawColumnKey raw = 2 [json_name = "raw"];</code> */ ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder getRawOrBuilder(); ai.chalk.protos.chalk.engine.v1.ColumnKey.KeyCase getKeyCase(); }
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/v1/DataFrame.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.DataFrame} */ public final class DataFrame extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.DataFrame) DataFrameOrBuilder { private static final long serialVersionUID = 0L; // Use DataFrame.newBuilder() to construct. private DataFrame(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private DataFrame() { optionalColumns_ = java.util.Collections.emptyList(); requiredColumns_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DataFrame(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DataFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DataFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.DataFrame.class, ai.chalk.protos.chalk.engine.v1.DataFrame.Builder.class); } private int bitField0_; public static final int OPTIONAL_COLUMNS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey> optionalColumns_; /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey> getOptionalColumnsList() { return optionalColumns_; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> getOptionalColumnsOrBuilderList() { return optionalColumns_; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ @java.lang.Override public int getOptionalColumnsCount() { return optionalColumns_.size(); } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getOptionalColumns(int index) { return optionalColumns_.get(index); } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder getOptionalColumnsOrBuilder( int index) { return optionalColumns_.get(index); } public static final int REQUIRED_COLUMNS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey> requiredColumns_; /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey> getRequiredColumnsList() { return requiredColumns_; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> getRequiredColumnsOrBuilderList() { return requiredColumns_; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ @java.lang.Override public int getRequiredColumnsCount() { return requiredColumns_.size(); } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getRequiredColumns(int index) { return requiredColumns_.get(index); } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder getRequiredColumnsOrBuilder( int index) { return requiredColumns_.get(index); } public static final int LIMIT_FIELD_NUMBER = 3; private long limit_ = 0L; /** * <pre> * optional Filter filter = 4; // TODO, represents filters on dfs/has-manys like (transaction.amount &lt; 10) * </pre> * * <code>optional uint64 limit = 3 [json_name = "limit"];</code> * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000001) != 0); } /** * <pre> * optional Filter filter = 4; // TODO, represents filters on dfs/has-manys like (transaction.amount &lt; 10) * </pre> * * <code>optional uint64 limit = 3 [json_name = "limit"];</code> * @return The limit. */ @java.lang.Override public long getLimit() { return limit_; } 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 < optionalColumns_.size(); i++) { output.writeMessage(1, optionalColumns_.get(i)); } for (int i = 0; i < requiredColumns_.size(); i++) { output.writeMessage(2, requiredColumns_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt64(3, limit_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < optionalColumns_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, optionalColumns_.get(i)); } for (int i = 0; i < requiredColumns_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, requiredColumns_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, limit_); } 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.v1.DataFrame)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.DataFrame other = (ai.chalk.protos.chalk.engine.v1.DataFrame) obj; if (!getOptionalColumnsList() .equals(other.getOptionalColumnsList())) return false; if (!getRequiredColumnsList() .equals(other.getRequiredColumnsList())) return false; if (hasLimit() != other.hasLimit()) return false; if (hasLimit()) { if (getLimit() != other.getLimit()) 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 (getOptionalColumnsCount() > 0) { hash = (37 * hash) + OPTIONAL_COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getOptionalColumnsList().hashCode(); } if (getRequiredColumnsCount() > 0) { hash = (37 * hash) + REQUIRED_COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getRequiredColumnsList().hashCode(); } if (hasLimit()) { hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLimit()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.DataFrame parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.DataFrame 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.v1.DataFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.DataFrame 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.v1.DataFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.DataFrame 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.v1.DataFrame parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.DataFrame 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.v1.DataFrame parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.DataFrame 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.v1.DataFrame 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.v1.DataFrame 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.v1.DataFrame 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.v1.DataFrame} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.DataFrame) ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DataFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DataFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.DataFrame.class, ai.chalk.protos.chalk.engine.v1.DataFrame.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.DataFrame.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (optionalColumnsBuilder_ == null) { optionalColumns_ = java.util.Collections.emptyList(); } else { optionalColumns_ = null; optionalColumnsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (requiredColumnsBuilder_ == null) { requiredColumns_ = java.util.Collections.emptyList(); } else { requiredColumns_ = null; requiredColumnsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); limit_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DataFrame_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrame getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.DataFrame.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrame build() { ai.chalk.protos.chalk.engine.v1.DataFrame result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrame buildPartial() { ai.chalk.protos.chalk.engine.v1.DataFrame result = new ai.chalk.protos.chalk.engine.v1.DataFrame(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.engine.v1.DataFrame result) { if (optionalColumnsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { optionalColumns_ = java.util.Collections.unmodifiableList(optionalColumns_); bitField0_ = (bitField0_ & ~0x00000001); } result.optionalColumns_ = optionalColumns_; } else { result.optionalColumns_ = optionalColumnsBuilder_.build(); } if (requiredColumnsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { requiredColumns_ = java.util.Collections.unmodifiableList(requiredColumns_); bitField0_ = (bitField0_ & ~0x00000002); } result.requiredColumns_ = requiredColumns_; } else { result.requiredColumns_ = requiredColumnsBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.DataFrame result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.limit_ = limit_; 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.v1.DataFrame) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.DataFrame)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.DataFrame other) { if (other == ai.chalk.protos.chalk.engine.v1.DataFrame.getDefaultInstance()) return this; if (optionalColumnsBuilder_ == null) { if (!other.optionalColumns_.isEmpty()) { if (optionalColumns_.isEmpty()) { optionalColumns_ = other.optionalColumns_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureOptionalColumnsIsMutable(); optionalColumns_.addAll(other.optionalColumns_); } onChanged(); } } else { if (!other.optionalColumns_.isEmpty()) { if (optionalColumnsBuilder_.isEmpty()) { optionalColumnsBuilder_.dispose(); optionalColumnsBuilder_ = null; optionalColumns_ = other.optionalColumns_; bitField0_ = (bitField0_ & ~0x00000001); optionalColumnsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOptionalColumnsFieldBuilder() : null; } else { optionalColumnsBuilder_.addAllMessages(other.optionalColumns_); } } } if (requiredColumnsBuilder_ == null) { if (!other.requiredColumns_.isEmpty()) { if (requiredColumns_.isEmpty()) { requiredColumns_ = other.requiredColumns_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureRequiredColumnsIsMutable(); requiredColumns_.addAll(other.requiredColumns_); } onChanged(); } } else { if (!other.requiredColumns_.isEmpty()) { if (requiredColumnsBuilder_.isEmpty()) { requiredColumnsBuilder_.dispose(); requiredColumnsBuilder_ = null; requiredColumns_ = other.requiredColumns_; bitField0_ = (bitField0_ & ~0x00000002); requiredColumnsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRequiredColumnsFieldBuilder() : null; } else { requiredColumnsBuilder_.addAllMessages(other.requiredColumns_); } } } if (other.hasLimit()) { setLimit(other.getLimit()); } 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.v1.FeatureColumnKey m = input.readMessage( ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.parser(), extensionRegistry); if (optionalColumnsBuilder_ == null) { ensureOptionalColumnsIsMutable(); optionalColumns_.add(m); } else { optionalColumnsBuilder_.addMessage(m); } break; } // case 10 case 18: { ai.chalk.protos.chalk.engine.v1.FeatureColumnKey m = input.readMessage( ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.parser(), extensionRegistry); if (requiredColumnsBuilder_ == null) { ensureRequiredColumnsIsMutable(); requiredColumns_.add(m); } else { requiredColumnsBuilder_.addMessage(m); } break; } // case 18 case 24: { limit_ = input.readUInt64(); 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 java.util.List<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey> optionalColumns_ = java.util.Collections.emptyList(); private void ensureOptionalColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { optionalColumns_ = new java.util.ArrayList<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey>(optionalColumns_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.FeatureColumnKey, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> optionalColumnsBuilder_; /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey> getOptionalColumnsList() { if (optionalColumnsBuilder_ == null) { return java.util.Collections.unmodifiableList(optionalColumns_); } else { return optionalColumnsBuilder_.getMessageList(); } } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public int getOptionalColumnsCount() { if (optionalColumnsBuilder_ == null) { return optionalColumns_.size(); } else { return optionalColumnsBuilder_.getCount(); } } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getOptionalColumns(int index) { if (optionalColumnsBuilder_ == null) { return optionalColumns_.get(index); } else { return optionalColumnsBuilder_.getMessage(index); } } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public Builder setOptionalColumns( int index, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey value) { if (optionalColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOptionalColumnsIsMutable(); optionalColumns_.set(index, value); onChanged(); } else { optionalColumnsBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public Builder setOptionalColumns( int index, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder builderForValue) { if (optionalColumnsBuilder_ == null) { ensureOptionalColumnsIsMutable(); optionalColumns_.set(index, builderForValue.build()); onChanged(); } else { optionalColumnsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public Builder addOptionalColumns(ai.chalk.protos.chalk.engine.v1.FeatureColumnKey value) { if (optionalColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOptionalColumnsIsMutable(); optionalColumns_.add(value); onChanged(); } else { optionalColumnsBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public Builder addOptionalColumns( int index, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey value) { if (optionalColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOptionalColumnsIsMutable(); optionalColumns_.add(index, value); onChanged(); } else { optionalColumnsBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public Builder addOptionalColumns( ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder builderForValue) { if (optionalColumnsBuilder_ == null) { ensureOptionalColumnsIsMutable(); optionalColumns_.add(builderForValue.build()); onChanged(); } else { optionalColumnsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public Builder addOptionalColumns( int index, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder builderForValue) { if (optionalColumnsBuilder_ == null) { ensureOptionalColumnsIsMutable(); optionalColumns_.add(index, builderForValue.build()); onChanged(); } else { optionalColumnsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public Builder addAllOptionalColumns( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v1.FeatureColumnKey> values) { if (optionalColumnsBuilder_ == null) { ensureOptionalColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, optionalColumns_); onChanged(); } else { optionalColumnsBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public Builder clearOptionalColumns() { if (optionalColumnsBuilder_ == null) { optionalColumns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { optionalColumnsBuilder_.clear(); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public Builder removeOptionalColumns(int index) { if (optionalColumnsBuilder_ == null) { ensureOptionalColumnsIsMutable(); optionalColumns_.remove(index); onChanged(); } else { optionalColumnsBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder getOptionalColumnsBuilder( int index) { return getOptionalColumnsFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder getOptionalColumnsOrBuilder( int index) { if (optionalColumnsBuilder_ == null) { return optionalColumns_.get(index); } else { return optionalColumnsBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> getOptionalColumnsOrBuilderList() { if (optionalColumnsBuilder_ != null) { return optionalColumnsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(optionalColumns_); } } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder addOptionalColumnsBuilder() { return getOptionalColumnsFieldBuilder().addBuilder( ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder addOptionalColumnsBuilder( int index) { return getOptionalColumnsFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder> getOptionalColumnsBuilderList() { return getOptionalColumnsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.FeatureColumnKey, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> getOptionalColumnsFieldBuilder() { if (optionalColumnsBuilder_ == null) { optionalColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.FeatureColumnKey, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder>( optionalColumns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); optionalColumns_ = null; } return optionalColumnsBuilder_; } private java.util.List<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey> requiredColumns_ = java.util.Collections.emptyList(); private void ensureRequiredColumnsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { requiredColumns_ = new java.util.ArrayList<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey>(requiredColumns_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.FeatureColumnKey, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> requiredColumnsBuilder_; /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey> getRequiredColumnsList() { if (requiredColumnsBuilder_ == null) { return java.util.Collections.unmodifiableList(requiredColumns_); } else { return requiredColumnsBuilder_.getMessageList(); } } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public int getRequiredColumnsCount() { if (requiredColumnsBuilder_ == null) { return requiredColumns_.size(); } else { return requiredColumnsBuilder_.getCount(); } } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getRequiredColumns(int index) { if (requiredColumnsBuilder_ == null) { return requiredColumns_.get(index); } else { return requiredColumnsBuilder_.getMessage(index); } } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public Builder setRequiredColumns( int index, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey value) { if (requiredColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRequiredColumnsIsMutable(); requiredColumns_.set(index, value); onChanged(); } else { requiredColumnsBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public Builder setRequiredColumns( int index, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder builderForValue) { if (requiredColumnsBuilder_ == null) { ensureRequiredColumnsIsMutable(); requiredColumns_.set(index, builderForValue.build()); onChanged(); } else { requiredColumnsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public Builder addRequiredColumns(ai.chalk.protos.chalk.engine.v1.FeatureColumnKey value) { if (requiredColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRequiredColumnsIsMutable(); requiredColumns_.add(value); onChanged(); } else { requiredColumnsBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public Builder addRequiredColumns( int index, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey value) { if (requiredColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRequiredColumnsIsMutable(); requiredColumns_.add(index, value); onChanged(); } else { requiredColumnsBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public Builder addRequiredColumns( ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder builderForValue) { if (requiredColumnsBuilder_ == null) { ensureRequiredColumnsIsMutable(); requiredColumns_.add(builderForValue.build()); onChanged(); } else { requiredColumnsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public Builder addRequiredColumns( int index, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder builderForValue) { if (requiredColumnsBuilder_ == null) { ensureRequiredColumnsIsMutable(); requiredColumns_.add(index, builderForValue.build()); onChanged(); } else { requiredColumnsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public Builder addAllRequiredColumns( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v1.FeatureColumnKey> values) { if (requiredColumnsBuilder_ == null) { ensureRequiredColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, requiredColumns_); onChanged(); } else { requiredColumnsBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public Builder clearRequiredColumns() { if (requiredColumnsBuilder_ == null) { requiredColumns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { requiredColumnsBuilder_.clear(); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public Builder removeRequiredColumns(int index) { if (requiredColumnsBuilder_ == null) { ensureRequiredColumnsIsMutable(); requiredColumns_.remove(index); onChanged(); } else { requiredColumnsBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder getRequiredColumnsBuilder( int index) { return getRequiredColumnsFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder getRequiredColumnsOrBuilder( int index) { if (requiredColumnsBuilder_ == null) { return requiredColumns_.get(index); } else { return requiredColumnsBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> getRequiredColumnsOrBuilderList() { if (requiredColumnsBuilder_ != null) { return requiredColumnsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(requiredColumns_); } } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder addRequiredColumnsBuilder() { return getRequiredColumnsFieldBuilder().addBuilder( ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder addRequiredColumnsBuilder( int index) { return getRequiredColumnsFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder> getRequiredColumnsBuilderList() { return getRequiredColumnsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.FeatureColumnKey, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> getRequiredColumnsFieldBuilder() { if (requiredColumnsBuilder_ == null) { requiredColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.FeatureColumnKey, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder>( requiredColumns_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); requiredColumns_ = null; } return requiredColumnsBuilder_; } private long limit_ ; /** * <pre> * optional Filter filter = 4; // TODO, represents filters on dfs/has-manys like (transaction.amount &lt; 10) * </pre> * * <code>optional uint64 limit = 3 [json_name = "limit"];</code> * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000004) != 0); } /** * <pre> * optional Filter filter = 4; // TODO, represents filters on dfs/has-manys like (transaction.amount &lt; 10) * </pre> * * <code>optional uint64 limit = 3 [json_name = "limit"];</code> * @return The limit. */ @java.lang.Override public long getLimit() { return limit_; } /** * <pre> * optional Filter filter = 4; // TODO, represents filters on dfs/has-manys like (transaction.amount &lt; 10) * </pre> * * <code>optional uint64 limit = 3 [json_name = "limit"];</code> * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { limit_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * <pre> * optional Filter filter = 4; // TODO, represents filters on dfs/has-manys like (transaction.amount &lt; 10) * </pre> * * <code>optional uint64 limit = 3 [json_name = "limit"];</code> * @return This builder for chaining. */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000004); limit_ = 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.v1.DataFrame) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.DataFrame) private static final ai.chalk.protos.chalk.engine.v1.DataFrame DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.DataFrame(); } public static ai.chalk.protos.chalk.engine.v1.DataFrame getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<DataFrame> PARSER = new com.google.protobuf.AbstractParser<DataFrame>() { @java.lang.Override public DataFrame 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<DataFrame> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<DataFrame> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrame 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/v1/DataFrameFeatureKey.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.DataFrameFeatureKey} */ public final class DataFrameFeatureKey extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.DataFrameFeatureKey) DataFrameFeatureKeyOrBuilder { private static final long serialVersionUID = 0L; // Use DataFrameFeatureKey.newBuilder() to construct. private DataFrameFeatureKey(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private DataFrameFeatureKey() { rootNamespace_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DataFrameFeatureKey(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DataFrameFeatureKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DataFrameFeatureKey_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.class, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.Builder.class); } private int bitField0_; public static final int ROOT_NAMESPACE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object rootNamespace_ = ""; /** * <code>string root_namespace = 1 [json_name = "rootNamespace"];</code> * @return The rootNamespace. */ @java.lang.Override public java.lang.String getRootNamespace() { java.lang.Object ref = rootNamespace_; 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(); rootNamespace_ = s; return s; } } /** * <code>string root_namespace = 1 [json_name = "rootNamespace"];</code> * @return The bytes for rootNamespace. */ @java.lang.Override public com.google.protobuf.ByteString getRootNamespaceBytes() { java.lang.Object ref = rootNamespace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rootNamespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DF_FIELD_NUMBER = 2; private ai.chalk.protos.chalk.engine.v1.DataFrame df_; /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> * @return Whether the df field is set. */ @java.lang.Override public boolean hasDf() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> * @return The df. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrame getDf() { return df_ == null ? ai.chalk.protos.chalk.engine.v1.DataFrame.getDefaultInstance() : df_; } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder getDfOrBuilder() { return df_ == null ? ai.chalk.protos.chalk.engine.v1.DataFrame.getDefaultInstance() : df_; } 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(rootNamespace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rootNamespace_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getDf()); } 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(rootNamespace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, rootNamespace_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getDf()); } 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.v1.DataFrameFeatureKey)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey other = (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) obj; if (!getRootNamespace() .equals(other.getRootNamespace())) return false; if (hasDf() != other.hasDf()) return false; if (hasDf()) { if (!getDf() .equals(other.getDf())) 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) + ROOT_NAMESPACE_FIELD_NUMBER; hash = (53 * hash) + getRootNamespace().hashCode(); if (hasDf()) { hash = (37 * hash) + DF_FIELD_NUMBER; hash = (53 * hash) + getDf().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey 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.v1.DataFrameFeatureKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey 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.v1.DataFrameFeatureKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey 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.v1.DataFrameFeatureKey parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey 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.v1.DataFrameFeatureKey parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey 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.v1.DataFrameFeatureKey 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.v1.DataFrameFeatureKey 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.v1.DataFrameFeatureKey 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.v1.DataFrameFeatureKey} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.DataFrameFeatureKey) ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DataFrameFeatureKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DataFrameFeatureKey_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.class, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDfFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; rootNamespace_ = ""; df_ = null; if (dfBuilder_ != null) { dfBuilder_.dispose(); dfBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DataFrameFeatureKey_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey build() { ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey buildPartial() { ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey result = new ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rootNamespace_ = rootNamespace_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.df_ = dfBuilder_ == null ? df_ : dfBuilder_.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.v1.DataFrameFeatureKey) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey other) { if (other == ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance()) return this; if (!other.getRootNamespace().isEmpty()) { rootNamespace_ = other.rootNamespace_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasDf()) { mergeDf(other.getDf()); } 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: { rootNamespace_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getDfFieldBuilder().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 rootNamespace_ = ""; /** * <code>string root_namespace = 1 [json_name = "rootNamespace"];</code> * @return The rootNamespace. */ public java.lang.String getRootNamespace() { java.lang.Object ref = rootNamespace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rootNamespace_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string root_namespace = 1 [json_name = "rootNamespace"];</code> * @return The bytes for rootNamespace. */ public com.google.protobuf.ByteString getRootNamespaceBytes() { java.lang.Object ref = rootNamespace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rootNamespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string root_namespace = 1 [json_name = "rootNamespace"];</code> * @param value The rootNamespace to set. * @return This builder for chaining. */ public Builder setRootNamespace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } rootNamespace_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string root_namespace = 1 [json_name = "rootNamespace"];</code> * @return This builder for chaining. */ public Builder clearRootNamespace() { rootNamespace_ = getDefaultInstance().getRootNamespace(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string root_namespace = 1 [json_name = "rootNamespace"];</code> * @param value The bytes for rootNamespace to set. * @return This builder for chaining. */ public Builder setRootNamespaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rootNamespace_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private ai.chalk.protos.chalk.engine.v1.DataFrame df_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DataFrame, ai.chalk.protos.chalk.engine.v1.DataFrame.Builder, ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder> dfBuilder_; /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> * @return Whether the df field is set. */ public boolean hasDf() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> * @return The df. */ public ai.chalk.protos.chalk.engine.v1.DataFrame getDf() { if (dfBuilder_ == null) { return df_ == null ? ai.chalk.protos.chalk.engine.v1.DataFrame.getDefaultInstance() : df_; } else { return dfBuilder_.getMessage(); } } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ public Builder setDf(ai.chalk.protos.chalk.engine.v1.DataFrame value) { if (dfBuilder_ == null) { if (value == null) { throw new NullPointerException(); } df_ = value; } else { dfBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ public Builder setDf( ai.chalk.protos.chalk.engine.v1.DataFrame.Builder builderForValue) { if (dfBuilder_ == null) { df_ = builderForValue.build(); } else { dfBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ public Builder mergeDf(ai.chalk.protos.chalk.engine.v1.DataFrame value) { if (dfBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && df_ != null && df_ != ai.chalk.protos.chalk.engine.v1.DataFrame.getDefaultInstance()) { getDfBuilder().mergeFrom(value); } else { df_ = value; } } else { dfBuilder_.mergeFrom(value); } if (df_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ public Builder clearDf() { bitField0_ = (bitField0_ & ~0x00000002); df_ = null; if (dfBuilder_ != null) { dfBuilder_.dispose(); dfBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ public ai.chalk.protos.chalk.engine.v1.DataFrame.Builder getDfBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDfFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ public ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder getDfOrBuilder() { if (dfBuilder_ != null) { return dfBuilder_.getMessageOrBuilder(); } else { return df_ == null ? ai.chalk.protos.chalk.engine.v1.DataFrame.getDefaultInstance() : df_; } } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DataFrame, ai.chalk.protos.chalk.engine.v1.DataFrame.Builder, ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder> getDfFieldBuilder() { if (dfBuilder_ == null) { dfBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DataFrame, ai.chalk.protos.chalk.engine.v1.DataFrame.Builder, ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder>( getDf(), getParentForChildren(), isClean()); df_ = null; } return dfBuilder_; } @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.v1.DataFrameFeatureKey) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.DataFrameFeatureKey) private static final ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey(); } public static ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<DataFrameFeatureKey> PARSER = new com.google.protobuf.AbstractParser<DataFrameFeatureKey>() { @java.lang.Override public DataFrameFeatureKey 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<DataFrameFeatureKey> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<DataFrameFeatureKey> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey 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/v1/DataFrameFeatureKeyOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface DataFrameFeatureKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.DataFrameFeatureKey) com.google.protobuf.MessageOrBuilder { /** * <code>string root_namespace = 1 [json_name = "rootNamespace"];</code> * @return The rootNamespace. */ java.lang.String getRootNamespace(); /** * <code>string root_namespace = 1 [json_name = "rootNamespace"];</code> * @return The bytes for rootNamespace. */ com.google.protobuf.ByteString getRootNamespaceBytes(); /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> * @return Whether the df field is set. */ boolean hasDf(); /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> * @return The df. */ ai.chalk.protos.chalk.engine.v1.DataFrame getDf(); /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder getDfOrBuilder(); }
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/v1/DataFrameOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface DataFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.DataFrame) com.google.protobuf.MessageOrBuilder { /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ java.util.List<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey> getOptionalColumnsList(); /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getOptionalColumns(int index); /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ int getOptionalColumnsCount(); /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> getOptionalColumnsOrBuilderList(); /** * <code>repeated .chalk.engine.v1.FeatureColumnKey optional_columns = 1 [json_name = "optionalColumns"];</code> */ ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder getOptionalColumnsOrBuilder( int index); /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ java.util.List<ai.chalk.protos.chalk.engine.v1.FeatureColumnKey> getRequiredColumnsList(); /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getRequiredColumns(int index); /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ int getRequiredColumnsCount(); /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> getRequiredColumnsOrBuilderList(); /** * <code>repeated .chalk.engine.v1.FeatureColumnKey required_columns = 2 [json_name = "requiredColumns"];</code> */ ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder getRequiredColumnsOrBuilder( int index); /** * <pre> * optional Filter filter = 4; // TODO, represents filters on dfs/has-manys like (transaction.amount &lt; 10) * </pre> * * <code>optional uint64 limit = 3 [json_name = "limit"];</code> * @return Whether the limit field is set. */ boolean hasLimit(); /** * <pre> * optional Filter filter = 4; // TODO, represents filters on dfs/has-manys like (transaction.amount &lt; 10) * </pre> * * <code>optional uint64 limit = 3 [json_name = "limit"];</code> * @return The limit. */ long getLimit(); }
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/v1/DefaultInjector.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.DefaultInjector} */ public final class DefaultInjector extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.DefaultInjector) DefaultInjectorOrBuilder { private static final long serialVersionUID = 0L; // Use DefaultInjector.newBuilder() to construct. private DefaultInjector(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private DefaultInjector() { defaultingFeatures_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DefaultInjector(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DefaultInjector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DefaultInjector_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.DefaultInjector.class, ai.chalk.protos.chalk.engine.v1.DefaultInjector.Builder.class); } public static final int DEFAULTING_FEATURES_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.engine.v1.Key> defaultingFeatures_; /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v1.Key> getDefaultingFeaturesList() { return defaultingFeatures_; } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getDefaultingFeaturesOrBuilderList() { return defaultingFeatures_; } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ @java.lang.Override public int getDefaultingFeaturesCount() { return defaultingFeatures_.size(); } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Key getDefaultingFeatures(int index) { return defaultingFeatures_.get(index); } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.KeyOrBuilder getDefaultingFeaturesOrBuilder( int index) { return defaultingFeatures_.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 < defaultingFeatures_.size(); i++) { output.writeMessage(1, defaultingFeatures_.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 < defaultingFeatures_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, defaultingFeatures_.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.engine.v1.DefaultInjector)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.DefaultInjector other = (ai.chalk.protos.chalk.engine.v1.DefaultInjector) obj; if (!getDefaultingFeaturesList() .equals(other.getDefaultingFeaturesList())) 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 (getDefaultingFeaturesCount() > 0) { hash = (37 * hash) + DEFAULTING_FEATURES_FIELD_NUMBER; hash = (53 * hash) + getDefaultingFeaturesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.DefaultInjector parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.DefaultInjector 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.v1.DefaultInjector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.DefaultInjector 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.v1.DefaultInjector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.DefaultInjector 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.v1.DefaultInjector parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.DefaultInjector 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.v1.DefaultInjector parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.DefaultInjector 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.v1.DefaultInjector 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.v1.DefaultInjector 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.v1.DefaultInjector 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.v1.DefaultInjector} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.DefaultInjector) ai.chalk.protos.chalk.engine.v1.DefaultInjectorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DefaultInjector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DefaultInjector_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.DefaultInjector.class, ai.chalk.protos.chalk.engine.v1.DefaultInjector.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.DefaultInjector.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (defaultingFeaturesBuilder_ == null) { defaultingFeatures_ = java.util.Collections.emptyList(); } else { defaultingFeatures_ = null; defaultingFeaturesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_DefaultInjector_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DefaultInjector getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.DefaultInjector.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DefaultInjector build() { ai.chalk.protos.chalk.engine.v1.DefaultInjector result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DefaultInjector buildPartial() { ai.chalk.protos.chalk.engine.v1.DefaultInjector result = new ai.chalk.protos.chalk.engine.v1.DefaultInjector(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.engine.v1.DefaultInjector result) { if (defaultingFeaturesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { defaultingFeatures_ = java.util.Collections.unmodifiableList(defaultingFeatures_); bitField0_ = (bitField0_ & ~0x00000001); } result.defaultingFeatures_ = defaultingFeatures_; } else { result.defaultingFeatures_ = defaultingFeaturesBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.DefaultInjector 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.engine.v1.DefaultInjector) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.DefaultInjector)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.DefaultInjector other) { if (other == ai.chalk.protos.chalk.engine.v1.DefaultInjector.getDefaultInstance()) return this; if (defaultingFeaturesBuilder_ == null) { if (!other.defaultingFeatures_.isEmpty()) { if (defaultingFeatures_.isEmpty()) { defaultingFeatures_ = other.defaultingFeatures_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDefaultingFeaturesIsMutable(); defaultingFeatures_.addAll(other.defaultingFeatures_); } onChanged(); } } else { if (!other.defaultingFeatures_.isEmpty()) { if (defaultingFeaturesBuilder_.isEmpty()) { defaultingFeaturesBuilder_.dispose(); defaultingFeaturesBuilder_ = null; defaultingFeatures_ = other.defaultingFeatures_; bitField0_ = (bitField0_ & ~0x00000001); defaultingFeaturesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDefaultingFeaturesFieldBuilder() : null; } else { defaultingFeaturesBuilder_.addAllMessages(other.defaultingFeatures_); } } } 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.v1.Key m = input.readMessage( ai.chalk.protos.chalk.engine.v1.Key.parser(), extensionRegistry); if (defaultingFeaturesBuilder_ == null) { ensureDefaultingFeaturesIsMutable(); defaultingFeatures_.add(m); } else { defaultingFeaturesBuilder_.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.engine.v1.Key> defaultingFeatures_ = java.util.Collections.emptyList(); private void ensureDefaultingFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { defaultingFeatures_ = new java.util.ArrayList<ai.chalk.protos.chalk.engine.v1.Key>(defaultingFeatures_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Key, ai.chalk.protos.chalk.engine.v1.Key.Builder, ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> defaultingFeaturesBuilder_; /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.Key> getDefaultingFeaturesList() { if (defaultingFeaturesBuilder_ == null) { return java.util.Collections.unmodifiableList(defaultingFeatures_); } else { return defaultingFeaturesBuilder_.getMessageList(); } } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public int getDefaultingFeaturesCount() { if (defaultingFeaturesBuilder_ == null) { return defaultingFeatures_.size(); } else { return defaultingFeaturesBuilder_.getCount(); } } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key getDefaultingFeatures(int index) { if (defaultingFeaturesBuilder_ == null) { return defaultingFeatures_.get(index); } else { return defaultingFeaturesBuilder_.getMessage(index); } } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public Builder setDefaultingFeatures( int index, ai.chalk.protos.chalk.engine.v1.Key value) { if (defaultingFeaturesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDefaultingFeaturesIsMutable(); defaultingFeatures_.set(index, value); onChanged(); } else { defaultingFeaturesBuilder_.setMessage(index, value); } return this; } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public Builder setDefaultingFeatures( int index, ai.chalk.protos.chalk.engine.v1.Key.Builder builderForValue) { if (defaultingFeaturesBuilder_ == null) { ensureDefaultingFeaturesIsMutable(); defaultingFeatures_.set(index, builderForValue.build()); onChanged(); } else { defaultingFeaturesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public Builder addDefaultingFeatures(ai.chalk.protos.chalk.engine.v1.Key value) { if (defaultingFeaturesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDefaultingFeaturesIsMutable(); defaultingFeatures_.add(value); onChanged(); } else { defaultingFeaturesBuilder_.addMessage(value); } return this; } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public Builder addDefaultingFeatures( int index, ai.chalk.protos.chalk.engine.v1.Key value) { if (defaultingFeaturesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDefaultingFeaturesIsMutable(); defaultingFeatures_.add(index, value); onChanged(); } else { defaultingFeaturesBuilder_.addMessage(index, value); } return this; } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public Builder addDefaultingFeatures( ai.chalk.protos.chalk.engine.v1.Key.Builder builderForValue) { if (defaultingFeaturesBuilder_ == null) { ensureDefaultingFeaturesIsMutable(); defaultingFeatures_.add(builderForValue.build()); onChanged(); } else { defaultingFeaturesBuilder_.addMessage(builderForValue.build()); } return this; } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public Builder addDefaultingFeatures( int index, ai.chalk.protos.chalk.engine.v1.Key.Builder builderForValue) { if (defaultingFeaturesBuilder_ == null) { ensureDefaultingFeaturesIsMutable(); defaultingFeatures_.add(index, builderForValue.build()); onChanged(); } else { defaultingFeaturesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public Builder addAllDefaultingFeatures( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v1.Key> values) { if (defaultingFeaturesBuilder_ == null) { ensureDefaultingFeaturesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, defaultingFeatures_); onChanged(); } else { defaultingFeaturesBuilder_.addAllMessages(values); } return this; } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public Builder clearDefaultingFeatures() { if (defaultingFeaturesBuilder_ == null) { defaultingFeatures_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { defaultingFeaturesBuilder_.clear(); } return this; } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public Builder removeDefaultingFeatures(int index) { if (defaultingFeaturesBuilder_ == null) { ensureDefaultingFeaturesIsMutable(); defaultingFeatures_.remove(index); onChanged(); } else { defaultingFeaturesBuilder_.remove(index); } return this; } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key.Builder getDefaultingFeaturesBuilder( int index) { return getDefaultingFeaturesFieldBuilder().getBuilder(index); } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public ai.chalk.protos.chalk.engine.v1.KeyOrBuilder getDefaultingFeaturesOrBuilder( int index) { if (defaultingFeaturesBuilder_ == null) { return defaultingFeatures_.get(index); } else { return defaultingFeaturesBuilder_.getMessageOrBuilder(index); } } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getDefaultingFeaturesOrBuilderList() { if (defaultingFeaturesBuilder_ != null) { return defaultingFeaturesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(defaultingFeatures_); } } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key.Builder addDefaultingFeaturesBuilder() { return getDefaultingFeaturesFieldBuilder().addBuilder( ai.chalk.protos.chalk.engine.v1.Key.getDefaultInstance()); } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key.Builder addDefaultingFeaturesBuilder( int index) { return getDefaultingFeaturesFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.engine.v1.Key.getDefaultInstance()); } /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.Key.Builder> getDefaultingFeaturesBuilderList() { return getDefaultingFeaturesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Key, ai.chalk.protos.chalk.engine.v1.Key.Builder, ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getDefaultingFeaturesFieldBuilder() { if (defaultingFeaturesBuilder_ == null) { defaultingFeaturesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Key, ai.chalk.protos.chalk.engine.v1.Key.Builder, ai.chalk.protos.chalk.engine.v1.KeyOrBuilder>( defaultingFeatures_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); defaultingFeatures_ = null; } return defaultingFeaturesBuilder_; } @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.v1.DefaultInjector) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.DefaultInjector) private static final ai.chalk.protos.chalk.engine.v1.DefaultInjector DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.DefaultInjector(); } public static ai.chalk.protos.chalk.engine.v1.DefaultInjector getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<DefaultInjector> PARSER = new com.google.protobuf.AbstractParser<DefaultInjector>() { @java.lang.Override public DefaultInjector 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<DefaultInjector> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<DefaultInjector> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DefaultInjector 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/v1/DefaultInjectorOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface DefaultInjectorOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.DefaultInjector) com.google.protobuf.MessageOrBuilder { /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ java.util.List<ai.chalk.protos.chalk.engine.v1.Key> getDefaultingFeaturesList(); /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ ai.chalk.protos.chalk.engine.v1.Key getDefaultingFeatures(int index); /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ int getDefaultingFeaturesCount(); /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getDefaultingFeaturesOrBuilderList(); /** * <pre> * Note: actual default values should be pulled from the graph * </pre> * * <code>repeated .chalk.engine.v1.Key defaulting_features = 1 [json_name = "defaultingFeatures"];</code> */ ai.chalk.protos.chalk.engine.v1.KeyOrBuilder getDefaultingFeaturesOrBuilder( 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/v1/ExecuteQueryRequest.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.ExecuteQueryRequest} */ public final class ExecuteQueryRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.ExecuteQueryRequest) ExecuteQueryRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteQueryRequest.newBuilder() to construct. private ExecuteQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ExecuteQueryRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteQueryRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_ExecuteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_ExecuteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest.class, ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest.Builder.class); } private int bitField0_; public static final int ONLINE_QUERY_REQUEST_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.common.v1.OnlineQueryRequest onlineQueryRequest_; /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> * @return Whether the onlineQueryRequest field is set. */ @java.lang.Override public boolean hasOnlineQueryRequest() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> * @return The onlineQueryRequest. */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.OnlineQueryRequest getOnlineQueryRequest() { return onlineQueryRequest_ == null ? ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.getDefaultInstance() : onlineQueryRequest_; } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.OnlineQueryRequestOrBuilder getOnlineQueryRequestOrBuilder() { return onlineQueryRequest_ == null ? ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.getDefaultInstance() : onlineQueryRequest_; } 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, getOnlineQueryRequest()); } 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, getOnlineQueryRequest()); } 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.v1.ExecuteQueryRequest)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest other = (ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest) obj; if (hasOnlineQueryRequest() != other.hasOnlineQueryRequest()) return false; if (hasOnlineQueryRequest()) { if (!getOnlineQueryRequest() .equals(other.getOnlineQueryRequest())) 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 (hasOnlineQueryRequest()) { hash = (37 * hash) + ONLINE_QUERY_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getOnlineQueryRequest().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest 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.v1.ExecuteQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest 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.v1.ExecuteQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest 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.v1.ExecuteQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest 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.v1.ExecuteQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest 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.v1.ExecuteQueryRequest 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.v1.ExecuteQueryRequest 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.v1.ExecuteQueryRequest 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.v1.ExecuteQueryRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.ExecuteQueryRequest) ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_ExecuteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_ExecuteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest.class, ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOnlineQueryRequestFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; onlineQueryRequest_ = null; if (onlineQueryRequestBuilder_ != null) { onlineQueryRequestBuilder_.dispose(); onlineQueryRequestBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_ExecuteQueryRequest_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest build() { ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest buildPartial() { ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest result = new ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.onlineQueryRequest_ = onlineQueryRequestBuilder_ == null ? onlineQueryRequest_ : onlineQueryRequestBuilder_.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.v1.ExecuteQueryRequest) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest other) { if (other == ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest.getDefaultInstance()) return this; if (other.hasOnlineQueryRequest()) { mergeOnlineQueryRequest(other.getOnlineQueryRequest()); } 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( getOnlineQueryRequestFieldBuilder().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.common.v1.OnlineQueryRequest onlineQueryRequest_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.common.v1.OnlineQueryRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.Builder, ai.chalk.protos.chalk.common.v1.OnlineQueryRequestOrBuilder> onlineQueryRequestBuilder_; /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> * @return Whether the onlineQueryRequest field is set. */ public boolean hasOnlineQueryRequest() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> * @return The onlineQueryRequest. */ public ai.chalk.protos.chalk.common.v1.OnlineQueryRequest getOnlineQueryRequest() { if (onlineQueryRequestBuilder_ == null) { return onlineQueryRequest_ == null ? ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.getDefaultInstance() : onlineQueryRequest_; } else { return onlineQueryRequestBuilder_.getMessage(); } } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ public Builder setOnlineQueryRequest(ai.chalk.protos.chalk.common.v1.OnlineQueryRequest value) { if (onlineQueryRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } onlineQueryRequest_ = value; } else { onlineQueryRequestBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ public Builder setOnlineQueryRequest( ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.Builder builderForValue) { if (onlineQueryRequestBuilder_ == null) { onlineQueryRequest_ = builderForValue.build(); } else { onlineQueryRequestBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ public Builder mergeOnlineQueryRequest(ai.chalk.protos.chalk.common.v1.OnlineQueryRequest value) { if (onlineQueryRequestBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && onlineQueryRequest_ != null && onlineQueryRequest_ != ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.getDefaultInstance()) { getOnlineQueryRequestBuilder().mergeFrom(value); } else { onlineQueryRequest_ = value; } } else { onlineQueryRequestBuilder_.mergeFrom(value); } if (onlineQueryRequest_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ public Builder clearOnlineQueryRequest() { bitField0_ = (bitField0_ & ~0x00000001); onlineQueryRequest_ = null; if (onlineQueryRequestBuilder_ != null) { onlineQueryRequestBuilder_.dispose(); onlineQueryRequestBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ public ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.Builder getOnlineQueryRequestBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOnlineQueryRequestFieldBuilder().getBuilder(); } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ public ai.chalk.protos.chalk.common.v1.OnlineQueryRequestOrBuilder getOnlineQueryRequestOrBuilder() { if (onlineQueryRequestBuilder_ != null) { return onlineQueryRequestBuilder_.getMessageOrBuilder(); } else { return onlineQueryRequest_ == null ? ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.getDefaultInstance() : onlineQueryRequest_; } } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.common.v1.OnlineQueryRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.Builder, ai.chalk.protos.chalk.common.v1.OnlineQueryRequestOrBuilder> getOnlineQueryRequestFieldBuilder() { if (onlineQueryRequestBuilder_ == null) { onlineQueryRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.common.v1.OnlineQueryRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.Builder, ai.chalk.protos.chalk.common.v1.OnlineQueryRequestOrBuilder>( getOnlineQueryRequest(), getParentForChildren(), isClean()); onlineQueryRequest_ = null; } return onlineQueryRequestBuilder_; } @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.v1.ExecuteQueryRequest) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.ExecuteQueryRequest) private static final ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest(); } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ExecuteQueryRequest> PARSER = new com.google.protobuf.AbstractParser<ExecuteQueryRequest>() { @java.lang.Override public ExecuteQueryRequest 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<ExecuteQueryRequest> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ExecuteQueryRequest> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest 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/v1/ExecuteQueryRequestOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface ExecuteQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.ExecuteQueryRequest) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> * @return Whether the onlineQueryRequest field is set. */ boolean hasOnlineQueryRequest(); /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> * @return The onlineQueryRequest. */ ai.chalk.protos.chalk.common.v1.OnlineQueryRequest getOnlineQueryRequest(); /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ ai.chalk.protos.chalk.common.v1.OnlineQueryRequestOrBuilder getOnlineQueryRequestOrBuilder(); }
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/v1/ExecuteQueryResponse.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.ExecuteQueryResponse} */ public final class ExecuteQueryResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.ExecuteQueryResponse) ExecuteQueryResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteQueryResponse.newBuilder() to construct. private ExecuteQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ExecuteQueryResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteQueryResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_ExecuteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_ExecuteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse.class, ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse.Builder.class); } private int bitField0_; public static final int ONLINE_QUERY_RESPONSE_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.common.v1.OnlineQueryResponse onlineQueryResponse_; /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> * @return Whether the onlineQueryResponse field is set. */ @java.lang.Override public boolean hasOnlineQueryResponse() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> * @return The onlineQueryResponse. */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.OnlineQueryResponse getOnlineQueryResponse() { return onlineQueryResponse_ == null ? ai.chalk.protos.chalk.common.v1.OnlineQueryResponse.getDefaultInstance() : onlineQueryResponse_; } /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.OnlineQueryResponseOrBuilder getOnlineQueryResponseOrBuilder() { return onlineQueryResponse_ == null ? ai.chalk.protos.chalk.common.v1.OnlineQueryResponse.getDefaultInstance() : onlineQueryResponse_; } 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, getOnlineQueryResponse()); } 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, getOnlineQueryResponse()); } 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.v1.ExecuteQueryResponse)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse other = (ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse) obj; if (hasOnlineQueryResponse() != other.hasOnlineQueryResponse()) return false; if (hasOnlineQueryResponse()) { if (!getOnlineQueryResponse() .equals(other.getOnlineQueryResponse())) 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 (hasOnlineQueryResponse()) { hash = (37 * hash) + ONLINE_QUERY_RESPONSE_FIELD_NUMBER; hash = (53 * hash) + getOnlineQueryResponse().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse 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.v1.ExecuteQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse 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.v1.ExecuteQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse 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.v1.ExecuteQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse 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.v1.ExecuteQueryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse 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.v1.ExecuteQueryResponse 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.v1.ExecuteQueryResponse 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.v1.ExecuteQueryResponse 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.v1.ExecuteQueryResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.ExecuteQueryResponse) ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_ExecuteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_ExecuteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse.class, ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOnlineQueryResponseFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; onlineQueryResponse_ = null; if (onlineQueryResponseBuilder_ != null) { onlineQueryResponseBuilder_.dispose(); onlineQueryResponseBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_ExecuteQueryResponse_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse build() { ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse buildPartial() { ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse result = new ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.onlineQueryResponse_ = onlineQueryResponseBuilder_ == null ? onlineQueryResponse_ : onlineQueryResponseBuilder_.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.v1.ExecuteQueryResponse) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse other) { if (other == ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse.getDefaultInstance()) return this; if (other.hasOnlineQueryResponse()) { mergeOnlineQueryResponse(other.getOnlineQueryResponse()); } 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( getOnlineQueryResponseFieldBuilder().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.common.v1.OnlineQueryResponse onlineQueryResponse_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.common.v1.OnlineQueryResponse, ai.chalk.protos.chalk.common.v1.OnlineQueryResponse.Builder, ai.chalk.protos.chalk.common.v1.OnlineQueryResponseOrBuilder> onlineQueryResponseBuilder_; /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> * @return Whether the onlineQueryResponse field is set. */ public boolean hasOnlineQueryResponse() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> * @return The onlineQueryResponse. */ public ai.chalk.protos.chalk.common.v1.OnlineQueryResponse getOnlineQueryResponse() { if (onlineQueryResponseBuilder_ == null) { return onlineQueryResponse_ == null ? ai.chalk.protos.chalk.common.v1.OnlineQueryResponse.getDefaultInstance() : onlineQueryResponse_; } else { return onlineQueryResponseBuilder_.getMessage(); } } /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> */ public Builder setOnlineQueryResponse(ai.chalk.protos.chalk.common.v1.OnlineQueryResponse value) { if (onlineQueryResponseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } onlineQueryResponse_ = value; } else { onlineQueryResponseBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> */ public Builder setOnlineQueryResponse( ai.chalk.protos.chalk.common.v1.OnlineQueryResponse.Builder builderForValue) { if (onlineQueryResponseBuilder_ == null) { onlineQueryResponse_ = builderForValue.build(); } else { onlineQueryResponseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> */ public Builder mergeOnlineQueryResponse(ai.chalk.protos.chalk.common.v1.OnlineQueryResponse value) { if (onlineQueryResponseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && onlineQueryResponse_ != null && onlineQueryResponse_ != ai.chalk.protos.chalk.common.v1.OnlineQueryResponse.getDefaultInstance()) { getOnlineQueryResponseBuilder().mergeFrom(value); } else { onlineQueryResponse_ = value; } } else { onlineQueryResponseBuilder_.mergeFrom(value); } if (onlineQueryResponse_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> */ public Builder clearOnlineQueryResponse() { bitField0_ = (bitField0_ & ~0x00000001); onlineQueryResponse_ = null; if (onlineQueryResponseBuilder_ != null) { onlineQueryResponseBuilder_.dispose(); onlineQueryResponseBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> */ public ai.chalk.protos.chalk.common.v1.OnlineQueryResponse.Builder getOnlineQueryResponseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOnlineQueryResponseFieldBuilder().getBuilder(); } /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> */ public ai.chalk.protos.chalk.common.v1.OnlineQueryResponseOrBuilder getOnlineQueryResponseOrBuilder() { if (onlineQueryResponseBuilder_ != null) { return onlineQueryResponseBuilder_.getMessageOrBuilder(); } else { return onlineQueryResponse_ == null ? ai.chalk.protos.chalk.common.v1.OnlineQueryResponse.getDefaultInstance() : onlineQueryResponse_; } } /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.common.v1.OnlineQueryResponse, ai.chalk.protos.chalk.common.v1.OnlineQueryResponse.Builder, ai.chalk.protos.chalk.common.v1.OnlineQueryResponseOrBuilder> getOnlineQueryResponseFieldBuilder() { if (onlineQueryResponseBuilder_ == null) { onlineQueryResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.common.v1.OnlineQueryResponse, ai.chalk.protos.chalk.common.v1.OnlineQueryResponse.Builder, ai.chalk.protos.chalk.common.v1.OnlineQueryResponseOrBuilder>( getOnlineQueryResponse(), getParentForChildren(), isClean()); onlineQueryResponse_ = null; } return onlineQueryResponseBuilder_; } @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.v1.ExecuteQueryResponse) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.ExecuteQueryResponse) private static final ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse(); } public static ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ExecuteQueryResponse> PARSER = new com.google.protobuf.AbstractParser<ExecuteQueryResponse>() { @java.lang.Override public ExecuteQueryResponse 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<ExecuteQueryResponse> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ExecuteQueryResponse> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse 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/v1/ExecuteQueryResponseOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface ExecuteQueryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.ExecuteQueryResponse) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> * @return Whether the onlineQueryResponse field is set. */ boolean hasOnlineQueryResponse(); /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> * @return The onlineQueryResponse. */ ai.chalk.protos.chalk.common.v1.OnlineQueryResponse getOnlineQueryResponse(); /** * <code>.chalk.common.v1.OnlineQueryResponse online_query_response = 1 [json_name = "onlineQueryResponse"];</code> */ ai.chalk.protos.chalk.common.v1.OnlineQueryResponseOrBuilder getOnlineQueryResponseOrBuilder(); }
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/v1/FeatureColumnKey.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * <pre> * Represents a feature in the graph that corresponds to a single column in a table, i.e. not a has-many or a dataframe. * Basically a "scalar" but shouldn't be confused w/ ScalarFeatureType * </pre> * * Protobuf type {@code chalk.engine.v1.FeatureColumnKey} */ public final class FeatureColumnKey extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.FeatureColumnKey) FeatureColumnKeyOrBuilder { private static final long serialVersionUID = 0L; // Use FeatureColumnKey.newBuilder() to construct. private FeatureColumnKey(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private FeatureColumnKey() { rootFqn_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FeatureColumnKey(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_FeatureColumnKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_FeatureColumnKey_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.class, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder.class); } public static final int ROOT_FQN_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object rootFqn_ = ""; /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return The rootFqn. */ @java.lang.Override public java.lang.String getRootFqn() { java.lang.Object ref = rootFqn_; 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(); rootFqn_ = s; return s; } } /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return The bytes for rootFqn. */ @java.lang.Override public com.google.protobuf.ByteString getRootFqnBytes() { java.lang.Object ref = rootFqn_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rootFqn_ = 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(rootFqn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rootFqn_); } 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(rootFqn_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, rootFqn_); } 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.v1.FeatureColumnKey)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.FeatureColumnKey other = (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) obj; if (!getRootFqn() .equals(other.getRootFqn())) 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) + ROOT_FQN_FIELD_NUMBER; hash = (53 * hash) + getRootFqn().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.FeatureColumnKey parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.FeatureColumnKey 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.v1.FeatureColumnKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.FeatureColumnKey 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.v1.FeatureColumnKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.FeatureColumnKey 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.v1.FeatureColumnKey parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.FeatureColumnKey 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.v1.FeatureColumnKey parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.FeatureColumnKey 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.v1.FeatureColumnKey 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.v1.FeatureColumnKey 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.v1.FeatureColumnKey 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> * Represents a feature in the graph that corresponds to a single column in a table, i.e. not a has-many or a dataframe. * Basically a "scalar" but shouldn't be confused w/ ScalarFeatureType * </pre> * * Protobuf type {@code chalk.engine.v1.FeatureColumnKey} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.FeatureColumnKey) ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_FeatureColumnKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_FeatureColumnKey_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.class, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; rootFqn_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_FeatureColumnKey_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey build() { ai.chalk.protos.chalk.engine.v1.FeatureColumnKey result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey buildPartial() { ai.chalk.protos.chalk.engine.v1.FeatureColumnKey result = new ai.chalk.protos.chalk.engine.v1.FeatureColumnKey(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.FeatureColumnKey result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rootFqn_ = rootFqn_; } } @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.v1.FeatureColumnKey) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.FeatureColumnKey)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.FeatureColumnKey other) { if (other == ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance()) return this; if (!other.getRootFqn().isEmpty()) { rootFqn_ = other.rootFqn_; 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: { rootFqn_ = 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 rootFqn_ = ""; /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return The rootFqn. */ public java.lang.String getRootFqn() { java.lang.Object ref = rootFqn_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rootFqn_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return The bytes for rootFqn. */ public com.google.protobuf.ByteString getRootFqnBytes() { java.lang.Object ref = rootFqn_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rootFqn_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @param value The rootFqn to set. * @return This builder for chaining. */ public Builder setRootFqn( java.lang.String value) { if (value == null) { throw new NullPointerException(); } rootFqn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return This builder for chaining. */ public Builder clearRootFqn() { rootFqn_ = getDefaultInstance().getRootFqn(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @param value The bytes for rootFqn to set. * @return This builder for chaining. */ public Builder setRootFqnBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rootFqn_ = 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.v1.FeatureColumnKey) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.FeatureColumnKey) private static final ai.chalk.protos.chalk.engine.v1.FeatureColumnKey DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.FeatureColumnKey(); } public static ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<FeatureColumnKey> PARSER = new com.google.protobuf.AbstractParser<FeatureColumnKey>() { @java.lang.Override public FeatureColumnKey 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<FeatureColumnKey> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<FeatureColumnKey> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey 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/v1/FeatureColumnKeyOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface FeatureColumnKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.FeatureColumnKey) com.google.protobuf.MessageOrBuilder { /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return The rootFqn. */ java.lang.String getRootFqn(); /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return The bytes for rootFqn. */ com.google.protobuf.ByteString getRootFqnBytes(); }
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/v1/GetPlanRequest.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.GetPlanRequest} */ public final class GetPlanRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.GetPlanRequest) GetPlanRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetPlanRequest.newBuilder() to construct. private GetPlanRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetPlanRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetPlanRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_GetPlanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_GetPlanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.GetPlanRequest.class, ai.chalk.protos.chalk.engine.v1.GetPlanRequest.Builder.class); } private int bitField0_; public static final int ONLINE_QUERY_REQUEST_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.common.v1.OnlineQueryRequest onlineQueryRequest_; /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> * @return Whether the onlineQueryRequest field is set. */ @java.lang.Override public boolean hasOnlineQueryRequest() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> * @return The onlineQueryRequest. */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.OnlineQueryRequest getOnlineQueryRequest() { return onlineQueryRequest_ == null ? ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.getDefaultInstance() : onlineQueryRequest_; } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.common.v1.OnlineQueryRequestOrBuilder getOnlineQueryRequestOrBuilder() { return onlineQueryRequest_ == null ? ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.getDefaultInstance() : onlineQueryRequest_; } 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, getOnlineQueryRequest()); } 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, getOnlineQueryRequest()); } 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.v1.GetPlanRequest)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.GetPlanRequest other = (ai.chalk.protos.chalk.engine.v1.GetPlanRequest) obj; if (hasOnlineQueryRequest() != other.hasOnlineQueryRequest()) return false; if (hasOnlineQueryRequest()) { if (!getOnlineQueryRequest() .equals(other.getOnlineQueryRequest())) 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 (hasOnlineQueryRequest()) { hash = (37 * hash) + ONLINE_QUERY_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getOnlineQueryRequest().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.GetPlanRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.GetPlanRequest 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.v1.GetPlanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.GetPlanRequest 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.v1.GetPlanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.GetPlanRequest 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.v1.GetPlanRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.GetPlanRequest 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.v1.GetPlanRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.GetPlanRequest 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.v1.GetPlanRequest 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.v1.GetPlanRequest 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.v1.GetPlanRequest 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.v1.GetPlanRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.GetPlanRequest) ai.chalk.protos.chalk.engine.v1.GetPlanRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_GetPlanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_GetPlanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.GetPlanRequest.class, ai.chalk.protos.chalk.engine.v1.GetPlanRequest.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.GetPlanRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOnlineQueryRequestFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; onlineQueryRequest_ = null; if (onlineQueryRequestBuilder_ != null) { onlineQueryRequestBuilder_.dispose(); onlineQueryRequestBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_GetPlanRequest_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GetPlanRequest getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.GetPlanRequest.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GetPlanRequest build() { ai.chalk.protos.chalk.engine.v1.GetPlanRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GetPlanRequest buildPartial() { ai.chalk.protos.chalk.engine.v1.GetPlanRequest result = new ai.chalk.protos.chalk.engine.v1.GetPlanRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.GetPlanRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.onlineQueryRequest_ = onlineQueryRequestBuilder_ == null ? onlineQueryRequest_ : onlineQueryRequestBuilder_.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.v1.GetPlanRequest) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.GetPlanRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.GetPlanRequest other) { if (other == ai.chalk.protos.chalk.engine.v1.GetPlanRequest.getDefaultInstance()) return this; if (other.hasOnlineQueryRequest()) { mergeOnlineQueryRequest(other.getOnlineQueryRequest()); } 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( getOnlineQueryRequestFieldBuilder().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.common.v1.OnlineQueryRequest onlineQueryRequest_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.common.v1.OnlineQueryRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.Builder, ai.chalk.protos.chalk.common.v1.OnlineQueryRequestOrBuilder> onlineQueryRequestBuilder_; /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> * @return Whether the onlineQueryRequest field is set. */ public boolean hasOnlineQueryRequest() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> * @return The onlineQueryRequest. */ public ai.chalk.protos.chalk.common.v1.OnlineQueryRequest getOnlineQueryRequest() { if (onlineQueryRequestBuilder_ == null) { return onlineQueryRequest_ == null ? ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.getDefaultInstance() : onlineQueryRequest_; } else { return onlineQueryRequestBuilder_.getMessage(); } } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ public Builder setOnlineQueryRequest(ai.chalk.protos.chalk.common.v1.OnlineQueryRequest value) { if (onlineQueryRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } onlineQueryRequest_ = value; } else { onlineQueryRequestBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ public Builder setOnlineQueryRequest( ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.Builder builderForValue) { if (onlineQueryRequestBuilder_ == null) { onlineQueryRequest_ = builderForValue.build(); } else { onlineQueryRequestBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ public Builder mergeOnlineQueryRequest(ai.chalk.protos.chalk.common.v1.OnlineQueryRequest value) { if (onlineQueryRequestBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && onlineQueryRequest_ != null && onlineQueryRequest_ != ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.getDefaultInstance()) { getOnlineQueryRequestBuilder().mergeFrom(value); } else { onlineQueryRequest_ = value; } } else { onlineQueryRequestBuilder_.mergeFrom(value); } if (onlineQueryRequest_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ public Builder clearOnlineQueryRequest() { bitField0_ = (bitField0_ & ~0x00000001); onlineQueryRequest_ = null; if (onlineQueryRequestBuilder_ != null) { onlineQueryRequestBuilder_.dispose(); onlineQueryRequestBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ public ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.Builder getOnlineQueryRequestBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOnlineQueryRequestFieldBuilder().getBuilder(); } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ public ai.chalk.protos.chalk.common.v1.OnlineQueryRequestOrBuilder getOnlineQueryRequestOrBuilder() { if (onlineQueryRequestBuilder_ != null) { return onlineQueryRequestBuilder_.getMessageOrBuilder(); } else { return onlineQueryRequest_ == null ? ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.getDefaultInstance() : onlineQueryRequest_; } } /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.common.v1.OnlineQueryRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.Builder, ai.chalk.protos.chalk.common.v1.OnlineQueryRequestOrBuilder> getOnlineQueryRequestFieldBuilder() { if (onlineQueryRequestBuilder_ == null) { onlineQueryRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.common.v1.OnlineQueryRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.Builder, ai.chalk.protos.chalk.common.v1.OnlineQueryRequestOrBuilder>( getOnlineQueryRequest(), getParentForChildren(), isClean()); onlineQueryRequest_ = null; } return onlineQueryRequestBuilder_; } @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.v1.GetPlanRequest) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.GetPlanRequest) private static final ai.chalk.protos.chalk.engine.v1.GetPlanRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.GetPlanRequest(); } public static ai.chalk.protos.chalk.engine.v1.GetPlanRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetPlanRequest> PARSER = new com.google.protobuf.AbstractParser<GetPlanRequest>() { @java.lang.Override public GetPlanRequest 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<GetPlanRequest> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetPlanRequest> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GetPlanRequest 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/v1/GetPlanRequestOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface GetPlanRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.GetPlanRequest) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> * @return Whether the onlineQueryRequest field is set. */ boolean hasOnlineQueryRequest(); /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> * @return The onlineQueryRequest. */ ai.chalk.protos.chalk.common.v1.OnlineQueryRequest getOnlineQueryRequest(); /** * <code>.chalk.common.v1.OnlineQueryRequest online_query_request = 1 [json_name = "onlineQueryRequest"];</code> */ ai.chalk.protos.chalk.common.v1.OnlineQueryRequestOrBuilder getOnlineQueryRequestOrBuilder(); }
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/v1/GetPlanResponse.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.GetPlanResponse} */ public final class GetPlanResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.GetPlanResponse) GetPlanResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetPlanResponse.newBuilder() to construct. private GetPlanResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetPlanResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetPlanResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_GetPlanResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_GetPlanResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.GetPlanResponse.class, ai.chalk.protos.chalk.engine.v1.GetPlanResponse.Builder.class); } private int bitField0_; public static final int PLAN_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.engine.v1.Plan plan_; /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> * @return Whether the plan field is set. */ @java.lang.Override public boolean hasPlan() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> * @return The plan. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Plan getPlan() { return plan_ == null ? ai.chalk.protos.chalk.engine.v1.Plan.getDefaultInstance() : plan_; } /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PlanOrBuilder getPlanOrBuilder() { return plan_ == null ? ai.chalk.protos.chalk.engine.v1.Plan.getDefaultInstance() : plan_; } 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, getPlan()); } 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, getPlan()); } 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.v1.GetPlanResponse)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.GetPlanResponse other = (ai.chalk.protos.chalk.engine.v1.GetPlanResponse) obj; if (hasPlan() != other.hasPlan()) return false; if (hasPlan()) { if (!getPlan() .equals(other.getPlan())) 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 (hasPlan()) { hash = (37 * hash) + PLAN_FIELD_NUMBER; hash = (53 * hash) + getPlan().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.GetPlanResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.GetPlanResponse 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.v1.GetPlanResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.GetPlanResponse 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.v1.GetPlanResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.GetPlanResponse 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.v1.GetPlanResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.GetPlanResponse 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.v1.GetPlanResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.GetPlanResponse 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.v1.GetPlanResponse 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.v1.GetPlanResponse 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.v1.GetPlanResponse 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.v1.GetPlanResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.GetPlanResponse) ai.chalk.protos.chalk.engine.v1.GetPlanResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_GetPlanResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_GetPlanResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.GetPlanResponse.class, ai.chalk.protos.chalk.engine.v1.GetPlanResponse.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.GetPlanResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPlanFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; plan_ = null; if (planBuilder_ != null) { planBuilder_.dispose(); planBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.internal_static_chalk_engine_v1_GetPlanResponse_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GetPlanResponse getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.GetPlanResponse.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GetPlanResponse build() { ai.chalk.protos.chalk.engine.v1.GetPlanResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GetPlanResponse buildPartial() { ai.chalk.protos.chalk.engine.v1.GetPlanResponse result = new ai.chalk.protos.chalk.engine.v1.GetPlanResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.GetPlanResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.plan_ = planBuilder_ == null ? plan_ : planBuilder_.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.v1.GetPlanResponse) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.GetPlanResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.GetPlanResponse other) { if (other == ai.chalk.protos.chalk.engine.v1.GetPlanResponse.getDefaultInstance()) return this; if (other.hasPlan()) { mergePlan(other.getPlan()); } 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( getPlanFieldBuilder().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.engine.v1.Plan plan_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Plan, ai.chalk.protos.chalk.engine.v1.Plan.Builder, ai.chalk.protos.chalk.engine.v1.PlanOrBuilder> planBuilder_; /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> * @return Whether the plan field is set. */ public boolean hasPlan() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> * @return The plan. */ public ai.chalk.protos.chalk.engine.v1.Plan getPlan() { if (planBuilder_ == null) { return plan_ == null ? ai.chalk.protos.chalk.engine.v1.Plan.getDefaultInstance() : plan_; } else { return planBuilder_.getMessage(); } } /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> */ public Builder setPlan(ai.chalk.protos.chalk.engine.v1.Plan value) { if (planBuilder_ == null) { if (value == null) { throw new NullPointerException(); } plan_ = value; } else { planBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> */ public Builder setPlan( ai.chalk.protos.chalk.engine.v1.Plan.Builder builderForValue) { if (planBuilder_ == null) { plan_ = builderForValue.build(); } else { planBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> */ public Builder mergePlan(ai.chalk.protos.chalk.engine.v1.Plan value) { if (planBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && plan_ != null && plan_ != ai.chalk.protos.chalk.engine.v1.Plan.getDefaultInstance()) { getPlanBuilder().mergeFrom(value); } else { plan_ = value; } } else { planBuilder_.mergeFrom(value); } if (plan_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> */ public Builder clearPlan() { bitField0_ = (bitField0_ & ~0x00000001); plan_ = null; if (planBuilder_ != null) { planBuilder_.dispose(); planBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> */ public ai.chalk.protos.chalk.engine.v1.Plan.Builder getPlanBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPlanFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> */ public ai.chalk.protos.chalk.engine.v1.PlanOrBuilder getPlanOrBuilder() { if (planBuilder_ != null) { return planBuilder_.getMessageOrBuilder(); } else { return plan_ == null ? ai.chalk.protos.chalk.engine.v1.Plan.getDefaultInstance() : plan_; } } /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Plan, ai.chalk.protos.chalk.engine.v1.Plan.Builder, ai.chalk.protos.chalk.engine.v1.PlanOrBuilder> getPlanFieldBuilder() { if (planBuilder_ == null) { planBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Plan, ai.chalk.protos.chalk.engine.v1.Plan.Builder, ai.chalk.protos.chalk.engine.v1.PlanOrBuilder>( getPlan(), getParentForChildren(), isClean()); plan_ = null; } return planBuilder_; } @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.v1.GetPlanResponse) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.GetPlanResponse) private static final ai.chalk.protos.chalk.engine.v1.GetPlanResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.GetPlanResponse(); } public static ai.chalk.protos.chalk.engine.v1.GetPlanResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetPlanResponse> PARSER = new com.google.protobuf.AbstractParser<GetPlanResponse>() { @java.lang.Override public GetPlanResponse 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<GetPlanResponse> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetPlanResponse> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GetPlanResponse 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/v1/GetPlanResponseOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface GetPlanResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.GetPlanResponse) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> * @return Whether the plan field is set. */ boolean hasPlan(); /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> * @return The plan. */ ai.chalk.protos.chalk.engine.v1.Plan getPlan(); /** * <code>.chalk.engine.v1.Plan plan = 1 [json_name = "plan"];</code> */ ai.chalk.protos.chalk.engine.v1.PlanOrBuilder getPlanOrBuilder(); }
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/v1/GivensScan.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.GivensScan} */ public final class GivensScan extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.GivensScan) GivensScanOrBuilder { private static final long serialVersionUID = 0L; // Use GivensScan.newBuilder() to construct. private GivensScan(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GivensScan() { fields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GivensScan(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_GivensScan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_GivensScan_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.GivensScan.class, ai.chalk.protos.chalk.engine.v1.GivensScan.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.engine.v1.Key> fields_; /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v1.Key> getFieldsList() { return fields_; } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getFieldsOrBuilderList() { return fields_; } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Key getFields(int index) { return fields_.get(index); } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.KeyOrBuilder getFieldsOrBuilder( int index) { return fields_.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 < fields_.size(); i++) { output.writeMessage(1, fields_.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 < fields_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, fields_.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.engine.v1.GivensScan)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.GivensScan other = (ai.chalk.protos.chalk.engine.v1.GivensScan) obj; if (!getFieldsList() .equals(other.getFieldsList())) 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 (getFieldsCount() > 0) { hash = (37 * hash) + FIELDS_FIELD_NUMBER; hash = (53 * hash) + getFieldsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.GivensScan parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.GivensScan 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.v1.GivensScan parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.GivensScan 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.v1.GivensScan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.GivensScan 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.v1.GivensScan parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.GivensScan 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.v1.GivensScan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.GivensScan 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.v1.GivensScan 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.v1.GivensScan 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.v1.GivensScan 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.v1.GivensScan} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.GivensScan) ai.chalk.protos.chalk.engine.v1.GivensScanOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_GivensScan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_GivensScan_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.GivensScan.class, ai.chalk.protos.chalk.engine.v1.GivensScan.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.GivensScan.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (fieldsBuilder_ == null) { fields_ = java.util.Collections.emptyList(); } else { fields_ = null; fieldsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_GivensScan_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GivensScan getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.GivensScan.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GivensScan build() { ai.chalk.protos.chalk.engine.v1.GivensScan result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GivensScan buildPartial() { ai.chalk.protos.chalk.engine.v1.GivensScan result = new ai.chalk.protos.chalk.engine.v1.GivensScan(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.engine.v1.GivensScan result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); bitField0_ = (bitField0_ & ~0x00000001); } result.fields_ = fields_; } else { result.fields_ = fieldsBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.GivensScan 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.engine.v1.GivensScan) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.GivensScan)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.GivensScan other) { if (other == ai.chalk.protos.chalk.engine.v1.GivensScan.getDefaultInstance()) return this; if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFieldsIsMutable(); fields_.addAll(other.fields_); } onChanged(); } } else { if (!other.fields_.isEmpty()) { if (fieldsBuilder_.isEmpty()) { fieldsBuilder_.dispose(); fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); fieldsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } } } 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.v1.Key m = input.readMessage( ai.chalk.protos.chalk.engine.v1.Key.parser(), extensionRegistry); if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(m); } else { fieldsBuilder_.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.engine.v1.Key> fields_ = java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new java.util.ArrayList<ai.chalk.protos.chalk.engine.v1.Key>(fields_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Key, ai.chalk.protos.chalk.engine.v1.Key.Builder, ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> fieldsBuilder_; /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.Key> getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { return fieldsBuilder_.getMessageList(); } } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public int getFieldsCount() { if (fieldsBuilder_ == null) { return fields_.size(); } else { return fieldsBuilder_.getCount(); } } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key getFields(int index) { if (fieldsBuilder_ == null) { return fields_.get(index); } else { return fieldsBuilder_.getMessage(index); } } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder setFields( int index, ai.chalk.protos.chalk.engine.v1.Key value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsIsMutable(); fields_.set(index, value); onChanged(); } else { fieldsBuilder_.setMessage(index, value); } return this; } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder setFields( int index, ai.chalk.protos.chalk.engine.v1.Key.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); onChanged(); } else { fieldsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addFields(ai.chalk.protos.chalk.engine.v1.Key value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsIsMutable(); fields_.add(value); onChanged(); } else { fieldsBuilder_.addMessage(value); } return this; } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addFields( int index, ai.chalk.protos.chalk.engine.v1.Key value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsIsMutable(); fields_.add(index, value); onChanged(); } else { fieldsBuilder_.addMessage(index, value); } return this; } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addFields( ai.chalk.protos.chalk.engine.v1.Key.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(builderForValue.build()); onChanged(); } else { fieldsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addFields( int index, ai.chalk.protos.chalk.engine.v1.Key.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); onChanged(); } else { fieldsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addAllFields( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v1.Key> values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); } return this; } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder clearFields() { if (fieldsBuilder_ == null) { fields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { fieldsBuilder_.clear(); } return this; } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.remove(index); onChanged(); } else { fieldsBuilder_.remove(index); } return this; } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key.Builder getFieldsBuilder( int index) { return getFieldsFieldBuilder().getBuilder(index); } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.KeyOrBuilder getFieldsOrBuilder( int index) { if (fieldsBuilder_ == null) { return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fields_); } } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key.Builder addFieldsBuilder() { return getFieldsFieldBuilder().addBuilder( ai.chalk.protos.chalk.engine.v1.Key.getDefaultInstance()); } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key.Builder addFieldsBuilder( int index) { return getFieldsFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.engine.v1.Key.getDefaultInstance()); } /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.Key.Builder> getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Key, ai.chalk.protos.chalk.engine.v1.Key.Builder, ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Key, ai.chalk.protos.chalk.engine.v1.Key.Builder, ai.chalk.protos.chalk.engine.v1.KeyOrBuilder>( fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; } @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.v1.GivensScan) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.GivensScan) private static final ai.chalk.protos.chalk.engine.v1.GivensScan DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.GivensScan(); } public static ai.chalk.protos.chalk.engine.v1.GivensScan getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GivensScan> PARSER = new com.google.protobuf.AbstractParser<GivensScan>() { @java.lang.Override public GivensScan 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<GivensScan> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GivensScan> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GivensScan 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/v1/GivensScanOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface GivensScanOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.GivensScan) com.google.protobuf.MessageOrBuilder { /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ java.util.List<ai.chalk.protos.chalk.engine.v1.Key> getFieldsList(); /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ ai.chalk.protos.chalk.engine.v1.Key getFields(int index); /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ int getFieldsCount(); /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getFieldsOrBuilderList(); /** * <pre> *&#47; TODO I think there's some discussion as to how exactly Givens will be implemented * One option is basically a "project" where it lists expected fields, and caller passes in an actual PlanBatch during execution * </pre> * * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ ai.chalk.protos.chalk.engine.v1.KeyOrBuilder getFieldsOrBuilder( 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/v1/HasManyFeatureKey.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.HasManyFeatureKey} */ public final class HasManyFeatureKey extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.HasManyFeatureKey) HasManyFeatureKeyOrBuilder { private static final long serialVersionUID = 0L; // Use HasManyFeatureKey.newBuilder() to construct. private HasManyFeatureKey(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private HasManyFeatureKey() { rootFqn_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HasManyFeatureKey(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_HasManyFeatureKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_HasManyFeatureKey_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.class, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.Builder.class); } private int bitField0_; public static final int ROOT_FQN_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object rootFqn_ = ""; /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return The rootFqn. */ @java.lang.Override public java.lang.String getRootFqn() { java.lang.Object ref = rootFqn_; 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(); rootFqn_ = s; return s; } } /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return The bytes for rootFqn. */ @java.lang.Override public com.google.protobuf.ByteString getRootFqnBytes() { java.lang.Object ref = rootFqn_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rootFqn_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DF_FIELD_NUMBER = 2; private ai.chalk.protos.chalk.engine.v1.DataFrame df_; /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> * @return Whether the df field is set. */ @java.lang.Override public boolean hasDf() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> * @return The df. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrame getDf() { return df_ == null ? ai.chalk.protos.chalk.engine.v1.DataFrame.getDefaultInstance() : df_; } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder getDfOrBuilder() { return df_ == null ? ai.chalk.protos.chalk.engine.v1.DataFrame.getDefaultInstance() : df_; } 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(rootFqn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rootFqn_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getDf()); } 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(rootFqn_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, rootFqn_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getDf()); } 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.v1.HasManyFeatureKey)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey other = (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) obj; if (!getRootFqn() .equals(other.getRootFqn())) return false; if (hasDf() != other.hasDf()) return false; if (hasDf()) { if (!getDf() .equals(other.getDf())) 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) + ROOT_FQN_FIELD_NUMBER; hash = (53 * hash) + getRootFqn().hashCode(); if (hasDf()) { hash = (37 * hash) + DF_FIELD_NUMBER; hash = (53 * hash) + getDf().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey 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.v1.HasManyFeatureKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey 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.v1.HasManyFeatureKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey 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.v1.HasManyFeatureKey parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey 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.v1.HasManyFeatureKey parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey 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.v1.HasManyFeatureKey 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.v1.HasManyFeatureKey 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.v1.HasManyFeatureKey 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.v1.HasManyFeatureKey} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.HasManyFeatureKey) ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_HasManyFeatureKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_HasManyFeatureKey_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.class, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDfFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; rootFqn_ = ""; df_ = null; if (dfBuilder_ != null) { dfBuilder_.dispose(); dfBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_HasManyFeatureKey_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey build() { ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey buildPartial() { ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey result = new ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rootFqn_ = rootFqn_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.df_ = dfBuilder_ == null ? df_ : dfBuilder_.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.v1.HasManyFeatureKey) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey other) { if (other == ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance()) return this; if (!other.getRootFqn().isEmpty()) { rootFqn_ = other.rootFqn_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasDf()) { mergeDf(other.getDf()); } 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: { rootFqn_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getDfFieldBuilder().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 rootFqn_ = ""; /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return The rootFqn. */ public java.lang.String getRootFqn() { java.lang.Object ref = rootFqn_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rootFqn_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return The bytes for rootFqn. */ public com.google.protobuf.ByteString getRootFqnBytes() { java.lang.Object ref = rootFqn_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rootFqn_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @param value The rootFqn to set. * @return This builder for chaining. */ public Builder setRootFqn( java.lang.String value) { if (value == null) { throw new NullPointerException(); } rootFqn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return This builder for chaining. */ public Builder clearRootFqn() { rootFqn_ = getDefaultInstance().getRootFqn(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @param value The bytes for rootFqn to set. * @return This builder for chaining. */ public Builder setRootFqnBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rootFqn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private ai.chalk.protos.chalk.engine.v1.DataFrame df_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DataFrame, ai.chalk.protos.chalk.engine.v1.DataFrame.Builder, ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder> dfBuilder_; /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> * @return Whether the df field is set. */ public boolean hasDf() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> * @return The df. */ public ai.chalk.protos.chalk.engine.v1.DataFrame getDf() { if (dfBuilder_ == null) { return df_ == null ? ai.chalk.protos.chalk.engine.v1.DataFrame.getDefaultInstance() : df_; } else { return dfBuilder_.getMessage(); } } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ public Builder setDf(ai.chalk.protos.chalk.engine.v1.DataFrame value) { if (dfBuilder_ == null) { if (value == null) { throw new NullPointerException(); } df_ = value; } else { dfBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ public Builder setDf( ai.chalk.protos.chalk.engine.v1.DataFrame.Builder builderForValue) { if (dfBuilder_ == null) { df_ = builderForValue.build(); } else { dfBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ public Builder mergeDf(ai.chalk.protos.chalk.engine.v1.DataFrame value) { if (dfBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && df_ != null && df_ != ai.chalk.protos.chalk.engine.v1.DataFrame.getDefaultInstance()) { getDfBuilder().mergeFrom(value); } else { df_ = value; } } else { dfBuilder_.mergeFrom(value); } if (df_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ public Builder clearDf() { bitField0_ = (bitField0_ & ~0x00000002); df_ = null; if (dfBuilder_ != null) { dfBuilder_.dispose(); dfBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ public ai.chalk.protos.chalk.engine.v1.DataFrame.Builder getDfBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDfFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ public ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder getDfOrBuilder() { if (dfBuilder_ != null) { return dfBuilder_.getMessageOrBuilder(); } else { return df_ == null ? ai.chalk.protos.chalk.engine.v1.DataFrame.getDefaultInstance() : df_; } } /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DataFrame, ai.chalk.protos.chalk.engine.v1.DataFrame.Builder, ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder> getDfFieldBuilder() { if (dfBuilder_ == null) { dfBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DataFrame, ai.chalk.protos.chalk.engine.v1.DataFrame.Builder, ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder>( getDf(), getParentForChildren(), isClean()); df_ = null; } return dfBuilder_; } @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.v1.HasManyFeatureKey) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.HasManyFeatureKey) private static final ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey(); } public static ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<HasManyFeatureKey> PARSER = new com.google.protobuf.AbstractParser<HasManyFeatureKey>() { @java.lang.Override public HasManyFeatureKey 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<HasManyFeatureKey> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<HasManyFeatureKey> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey 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/v1/HasManyFeatureKeyOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface HasManyFeatureKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.HasManyFeatureKey) com.google.protobuf.MessageOrBuilder { /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return The rootFqn. */ java.lang.String getRootFqn(); /** * <code>string root_fqn = 1 [json_name = "rootFqn"];</code> * @return The bytes for rootFqn. */ com.google.protobuf.ByteString getRootFqnBytes(); /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> * @return Whether the df field is set. */ boolean hasDf(); /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> * @return The df. */ ai.chalk.protos.chalk.engine.v1.DataFrame getDf(); /** * <code>.chalk.engine.v1.DataFrame df = 2 [json_name = "df"];</code> */ ai.chalk.protos.chalk.engine.v1.DataFrameOrBuilder getDfOrBuilder(); }
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/v1/Key.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.Key} */ public final class Key extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.Key) KeyOrBuilder { private static final long serialVersionUID = 0L; // Use Key.newBuilder() to construct. private Key(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private Key() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Key(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Key_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Key_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.Key.class, ai.chalk.protos.chalk.engine.v1.Key.Builder.class); } private int implCase_ = 0; @SuppressWarnings("serial") private java.lang.Object impl_; public enum ImplCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RAW_COLUMN(1), SCALAR(2), HAS_MANY(3), DATAFRAME(4), IMPL_NOT_SET(0); private final int value; private ImplCase(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 ImplCase valueOf(int value) { return forNumber(value); } public static ImplCase forNumber(int value) { switch (value) { case 1: return RAW_COLUMN; case 2: return SCALAR; case 3: return HAS_MANY; case 4: return DATAFRAME; case 0: return IMPL_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ImplCase getImplCase() { return ImplCase.forNumber( implCase_); } public static final int RAW_COLUMN_FIELD_NUMBER = 1; /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> * @return Whether the rawColumn field is set. */ @java.lang.Override public boolean hasRawColumn() { return implCase_ == 1; } /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> * @return The rawColumn. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.RawColumnKey getRawColumn() { if (implCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.RawColumnKey) impl_; } return ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance(); } /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder getRawColumnOrBuilder() { if (implCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.RawColumnKey) impl_; } return ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance(); } public static final int SCALAR_FIELD_NUMBER = 2; /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> * @return Whether the scalar field is set. */ @java.lang.Override public boolean hasScalar() { return implCase_ == 2; } /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> * @return The scalar. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getScalar() { if (implCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) impl_; } return ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder getScalarOrBuilder() { if (implCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) impl_; } return ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } public static final int HAS_MANY_FIELD_NUMBER = 3; /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> * @return Whether the hasMany field is set. */ @java.lang.Override public boolean hasHasMany() { return implCase_ == 3; } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> * @return The hasMany. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey getHasMany() { if (implCase_ == 3) { return (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) impl_; } return ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder getHasManyOrBuilder() { if (implCase_ == 3) { return (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) impl_; } return ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } public static final int DATAFRAME_FIELD_NUMBER = 4; /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> * @return Whether the dataframe field is set. */ @java.lang.Override public boolean hasDataframe() { return implCase_ == 4; } /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> * @return The dataframe. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey getDataframe() { if (implCase_ == 4) { return (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) impl_; } return ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance(); } /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder getDataframeOrBuilder() { if (implCase_ == 4) { return (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) impl_; } return ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.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 (implCase_ == 1) { output.writeMessage(1, (ai.chalk.protos.chalk.engine.v1.RawColumnKey) impl_); } if (implCase_ == 2) { output.writeMessage(2, (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) impl_); } if (implCase_ == 3) { output.writeMessage(3, (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) impl_); } if (implCase_ == 4) { output.writeMessage(4, (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) impl_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (implCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (ai.chalk.protos.chalk.engine.v1.RawColumnKey) impl_); } if (implCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) impl_); } if (implCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) impl_); } if (implCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) impl_); } 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.v1.Key)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.Key other = (ai.chalk.protos.chalk.engine.v1.Key) obj; if (!getImplCase().equals(other.getImplCase())) return false; switch (implCase_) { case 1: if (!getRawColumn() .equals(other.getRawColumn())) return false; break; case 2: if (!getScalar() .equals(other.getScalar())) return false; break; case 3: if (!getHasMany() .equals(other.getHasMany())) return false; break; case 4: if (!getDataframe() .equals(other.getDataframe())) 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(); switch (implCase_) { case 1: hash = (37 * hash) + RAW_COLUMN_FIELD_NUMBER; hash = (53 * hash) + getRawColumn().hashCode(); break; case 2: hash = (37 * hash) + SCALAR_FIELD_NUMBER; hash = (53 * hash) + getScalar().hashCode(); break; case 3: hash = (37 * hash) + HAS_MANY_FIELD_NUMBER; hash = (53 * hash) + getHasMany().hashCode(); break; case 4: hash = (37 * hash) + DATAFRAME_FIELD_NUMBER; hash = (53 * hash) + getDataframe().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.Key parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.Key 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.v1.Key parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.Key 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.v1.Key parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.Key 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.v1.Key parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.Key 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.v1.Key parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.Key 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.v1.Key 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.v1.Key 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.v1.Key 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.v1.Key} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.Key) ai.chalk.protos.chalk.engine.v1.KeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Key_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Key_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.Key.class, ai.chalk.protos.chalk.engine.v1.Key.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.Key.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (rawColumnBuilder_ != null) { rawColumnBuilder_.clear(); } if (scalarBuilder_ != null) { scalarBuilder_.clear(); } if (hasManyBuilder_ != null) { hasManyBuilder_.clear(); } if (dataframeBuilder_ != null) { dataframeBuilder_.clear(); } implCase_ = 0; impl_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Key_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Key getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.Key.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Key build() { ai.chalk.protos.chalk.engine.v1.Key result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Key buildPartial() { ai.chalk.protos.chalk.engine.v1.Key result = new ai.chalk.protos.chalk.engine.v1.Key(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.Key result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(ai.chalk.protos.chalk.engine.v1.Key result) { result.implCase_ = implCase_; result.impl_ = this.impl_; if (implCase_ == 1 && rawColumnBuilder_ != null) { result.impl_ = rawColumnBuilder_.build(); } if (implCase_ == 2 && scalarBuilder_ != null) { result.impl_ = scalarBuilder_.build(); } if (implCase_ == 3 && hasManyBuilder_ != null) { result.impl_ = hasManyBuilder_.build(); } if (implCase_ == 4 && dataframeBuilder_ != null) { result.impl_ = dataframeBuilder_.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.v1.Key) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.Key)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.Key other) { if (other == ai.chalk.protos.chalk.engine.v1.Key.getDefaultInstance()) return this; switch (other.getImplCase()) { case RAW_COLUMN: { mergeRawColumn(other.getRawColumn()); break; } case SCALAR: { mergeScalar(other.getScalar()); break; } case HAS_MANY: { mergeHasMany(other.getHasMany()); break; } case DATAFRAME: { mergeDataframe(other.getDataframe()); break; } case IMPL_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( getRawColumnFieldBuilder().getBuilder(), extensionRegistry); implCase_ = 1; break; } // case 10 case 18: { input.readMessage( getScalarFieldBuilder().getBuilder(), extensionRegistry); implCase_ = 2; break; } // case 18 case 26: { input.readMessage( getHasManyFieldBuilder().getBuilder(), extensionRegistry); implCase_ = 3; break; } // case 26 case 34: { input.readMessage( getDataframeFieldBuilder().getBuilder(), extensionRegistry); implCase_ = 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 implCase_ = 0; private java.lang.Object impl_; public ImplCase getImplCase() { return ImplCase.forNumber( implCase_); } public Builder clearImpl() { implCase_ = 0; impl_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.RawColumnKey, ai.chalk.protos.chalk.engine.v1.RawColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder> rawColumnBuilder_; /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> * @return Whether the rawColumn field is set. */ @java.lang.Override public boolean hasRawColumn() { return implCase_ == 1; } /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> * @return The rawColumn. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.RawColumnKey getRawColumn() { if (rawColumnBuilder_ == null) { if (implCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.RawColumnKey) impl_; } return ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance(); } else { if (implCase_ == 1) { return rawColumnBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> */ public Builder setRawColumn(ai.chalk.protos.chalk.engine.v1.RawColumnKey value) { if (rawColumnBuilder_ == null) { if (value == null) { throw new NullPointerException(); } impl_ = value; onChanged(); } else { rawColumnBuilder_.setMessage(value); } implCase_ = 1; return this; } /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> */ public Builder setRawColumn( ai.chalk.protos.chalk.engine.v1.RawColumnKey.Builder builderForValue) { if (rawColumnBuilder_ == null) { impl_ = builderForValue.build(); onChanged(); } else { rawColumnBuilder_.setMessage(builderForValue.build()); } implCase_ = 1; return this; } /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> */ public Builder mergeRawColumn(ai.chalk.protos.chalk.engine.v1.RawColumnKey value) { if (rawColumnBuilder_ == null) { if (implCase_ == 1 && impl_ != ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance()) { impl_ = ai.chalk.protos.chalk.engine.v1.RawColumnKey.newBuilder((ai.chalk.protos.chalk.engine.v1.RawColumnKey) impl_) .mergeFrom(value).buildPartial(); } else { impl_ = value; } onChanged(); } else { if (implCase_ == 1) { rawColumnBuilder_.mergeFrom(value); } else { rawColumnBuilder_.setMessage(value); } } implCase_ = 1; return this; } /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> */ public Builder clearRawColumn() { if (rawColumnBuilder_ == null) { if (implCase_ == 1) { implCase_ = 0; impl_ = null; onChanged(); } } else { if (implCase_ == 1) { implCase_ = 0; impl_ = null; } rawColumnBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> */ public ai.chalk.protos.chalk.engine.v1.RawColumnKey.Builder getRawColumnBuilder() { return getRawColumnFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder getRawColumnOrBuilder() { if ((implCase_ == 1) && (rawColumnBuilder_ != null)) { return rawColumnBuilder_.getMessageOrBuilder(); } else { if (implCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.RawColumnKey) impl_; } return ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.RawColumnKey, ai.chalk.protos.chalk.engine.v1.RawColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder> getRawColumnFieldBuilder() { if (rawColumnBuilder_ == null) { if (!(implCase_ == 1)) { impl_ = ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance(); } rawColumnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.RawColumnKey, ai.chalk.protos.chalk.engine.v1.RawColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder>( (ai.chalk.protos.chalk.engine.v1.RawColumnKey) impl_, getParentForChildren(), isClean()); impl_ = null; } implCase_ = 1; onChanged(); return rawColumnBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.FeatureColumnKey, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> scalarBuilder_; /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> * @return Whether the scalar field is set. */ @java.lang.Override public boolean hasScalar() { return implCase_ == 2; } /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> * @return The scalar. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getScalar() { if (scalarBuilder_ == null) { if (implCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) impl_; } return ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } else { if (implCase_ == 2) { return scalarBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> */ public Builder setScalar(ai.chalk.protos.chalk.engine.v1.FeatureColumnKey value) { if (scalarBuilder_ == null) { if (value == null) { throw new NullPointerException(); } impl_ = value; onChanged(); } else { scalarBuilder_.setMessage(value); } implCase_ = 2; return this; } /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> */ public Builder setScalar( ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder builderForValue) { if (scalarBuilder_ == null) { impl_ = builderForValue.build(); onChanged(); } else { scalarBuilder_.setMessage(builderForValue.build()); } implCase_ = 2; return this; } /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> */ public Builder mergeScalar(ai.chalk.protos.chalk.engine.v1.FeatureColumnKey value) { if (scalarBuilder_ == null) { if (implCase_ == 2 && impl_ != ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance()) { impl_ = ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.newBuilder((ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) impl_) .mergeFrom(value).buildPartial(); } else { impl_ = value; } onChanged(); } else { if (implCase_ == 2) { scalarBuilder_.mergeFrom(value); } else { scalarBuilder_.setMessage(value); } } implCase_ = 2; return this; } /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> */ public Builder clearScalar() { if (scalarBuilder_ == null) { if (implCase_ == 2) { implCase_ = 0; impl_ = null; onChanged(); } } else { if (implCase_ == 2) { implCase_ = 0; impl_ = null; } scalarBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> */ public ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder getScalarBuilder() { return getScalarFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder getScalarOrBuilder() { if ((implCase_ == 2) && (scalarBuilder_ != null)) { return scalarBuilder_.getMessageOrBuilder(); } else { if (implCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) impl_; } return ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.FeatureColumnKey, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder> getScalarFieldBuilder() { if (scalarBuilder_ == null) { if (!(implCase_ == 2)) { impl_ = ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.getDefaultInstance(); } scalarBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.FeatureColumnKey, ai.chalk.protos.chalk.engine.v1.FeatureColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder>( (ai.chalk.protos.chalk.engine.v1.FeatureColumnKey) impl_, getParentForChildren(), isClean()); impl_ = null; } implCase_ = 2; onChanged(); return scalarBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.Builder, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder> hasManyBuilder_; /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> * @return Whether the hasMany field is set. */ @java.lang.Override public boolean hasHasMany() { return implCase_ == 3; } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> * @return The hasMany. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey getHasMany() { if (hasManyBuilder_ == null) { if (implCase_ == 3) { return (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) impl_; } return ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } else { if (implCase_ == 3) { return hasManyBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> */ public Builder setHasMany(ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey value) { if (hasManyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } impl_ = value; onChanged(); } else { hasManyBuilder_.setMessage(value); } implCase_ = 3; return this; } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> */ public Builder setHasMany( ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.Builder builderForValue) { if (hasManyBuilder_ == null) { impl_ = builderForValue.build(); onChanged(); } else { hasManyBuilder_.setMessage(builderForValue.build()); } implCase_ = 3; return this; } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> */ public Builder mergeHasMany(ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey value) { if (hasManyBuilder_ == null) { if (implCase_ == 3 && impl_ != ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance()) { impl_ = ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.newBuilder((ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) impl_) .mergeFrom(value).buildPartial(); } else { impl_ = value; } onChanged(); } else { if (implCase_ == 3) { hasManyBuilder_.mergeFrom(value); } else { hasManyBuilder_.setMessage(value); } } implCase_ = 3; return this; } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> */ public Builder clearHasMany() { if (hasManyBuilder_ == null) { if (implCase_ == 3) { implCase_ = 0; impl_ = null; onChanged(); } } else { if (implCase_ == 3) { implCase_ = 0; impl_ = null; } hasManyBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> */ public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.Builder getHasManyBuilder() { return getHasManyFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder getHasManyOrBuilder() { if ((implCase_ == 3) && (hasManyBuilder_ != null)) { return hasManyBuilder_.getMessageOrBuilder(); } else { if (implCase_ == 3) { return (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) impl_; } return ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.Builder, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder> getHasManyFieldBuilder() { if (hasManyBuilder_ == null) { if (!(implCase_ == 3)) { impl_ = ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } hasManyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.Builder, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder>( (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) impl_, getParentForChildren(), isClean()); impl_ = null; } implCase_ = 3; onChanged(); return hasManyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.Builder, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder> dataframeBuilder_; /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> * @return Whether the dataframe field is set. */ @java.lang.Override public boolean hasDataframe() { return implCase_ == 4; } /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> * @return The dataframe. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey getDataframe() { if (dataframeBuilder_ == null) { if (implCase_ == 4) { return (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) impl_; } return ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance(); } else { if (implCase_ == 4) { return dataframeBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> */ public Builder setDataframe(ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey value) { if (dataframeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } impl_ = value; onChanged(); } else { dataframeBuilder_.setMessage(value); } implCase_ = 4; return this; } /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> */ public Builder setDataframe( ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.Builder builderForValue) { if (dataframeBuilder_ == null) { impl_ = builderForValue.build(); onChanged(); } else { dataframeBuilder_.setMessage(builderForValue.build()); } implCase_ = 4; return this; } /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> */ public Builder mergeDataframe(ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey value) { if (dataframeBuilder_ == null) { if (implCase_ == 4 && impl_ != ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance()) { impl_ = ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.newBuilder((ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) impl_) .mergeFrom(value).buildPartial(); } else { impl_ = value; } onChanged(); } else { if (implCase_ == 4) { dataframeBuilder_.mergeFrom(value); } else { dataframeBuilder_.setMessage(value); } } implCase_ = 4; return this; } /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> */ public Builder clearDataframe() { if (dataframeBuilder_ == null) { if (implCase_ == 4) { implCase_ = 0; impl_ = null; onChanged(); } } else { if (implCase_ == 4) { implCase_ = 0; impl_ = null; } dataframeBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> */ public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.Builder getDataframeBuilder() { return getDataframeFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder getDataframeOrBuilder() { if ((implCase_ == 4) && (dataframeBuilder_ != null)) { return dataframeBuilder_.getMessageOrBuilder(); } else { if (implCase_ == 4) { return (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) impl_; } return ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.Builder, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder> getDataframeFieldBuilder() { if (dataframeBuilder_ == null) { if (!(implCase_ == 4)) { impl_ = ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance(); } dataframeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.Builder, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder>( (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) impl_, getParentForChildren(), isClean()); impl_ = null; } implCase_ = 4; onChanged(); return dataframeBuilder_; } @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.v1.Key) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.Key) private static final ai.chalk.protos.chalk.engine.v1.Key DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.Key(); } public static ai.chalk.protos.chalk.engine.v1.Key getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<Key> PARSER = new com.google.protobuf.AbstractParser<Key>() { @java.lang.Override public Key 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<Key> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<Key> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Key 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/v1/KeyOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface KeyOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.Key) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> * @return Whether the rawColumn field is set. */ boolean hasRawColumn(); /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> * @return The rawColumn. */ ai.chalk.protos.chalk.engine.v1.RawColumnKey getRawColumn(); /** * <code>.chalk.engine.v1.RawColumnKey raw_column = 1 [json_name = "rawColumn"];</code> */ ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder getRawColumnOrBuilder(); /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> * @return Whether the scalar field is set. */ boolean hasScalar(); /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> * @return The scalar. */ ai.chalk.protos.chalk.engine.v1.FeatureColumnKey getScalar(); /** * <code>.chalk.engine.v1.FeatureColumnKey scalar = 2 [json_name = "scalar"];</code> */ ai.chalk.protos.chalk.engine.v1.FeatureColumnKeyOrBuilder getScalarOrBuilder(); /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> * @return Whether the hasMany field is set. */ boolean hasHasMany(); /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> * @return The hasMany. */ ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey getHasMany(); /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 3 [json_name = "hasMany"];</code> */ ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder getHasManyOrBuilder(); /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> * @return Whether the dataframe field is set. */ boolean hasDataframe(); /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> * @return The dataframe. */ ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey getDataframe(); /** * <code>.chalk.engine.v1.DataFrameFeatureKey dataframe = 4 [json_name = "dataframe"];</code> */ ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder getDataframeOrBuilder(); ai.chalk.protos.chalk.engine.v1.Key.ImplCase getImplCase(); }
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/v1/Node.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.Node} */ public final class Node extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.Node) NodeOrBuilder { private static final long serialVersionUID = 0L; // Use Node.newBuilder() to construct. private Node(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private Node() { childrenIndices_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Node(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Node_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Node_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.Node.class, ai.chalk.protos.chalk.engine.v1.Node.Builder.class); } private int bitField0_; public static final int CHILDREN_INDICES_FIELD_NUMBER = 1; @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList childrenIndices_ = emptyIntList(); /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @return A list containing the childrenIndices. */ @java.lang.Override public java.util.List<java.lang.Integer> getChildrenIndicesList() { return childrenIndices_; } /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @return The count of childrenIndices. */ public int getChildrenIndicesCount() { return childrenIndices_.size(); } /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @param index The index of the element to return. * @return The childrenIndices at the given index. */ public int getChildrenIndices(int index) { return childrenIndices_.getInt(index); } private int childrenIndicesMemoizedSerializedSize = -1; public static final int IMPL_FIELD_NUMBER = 2; private ai.chalk.protos.chalk.engine.v1.NodeImpl impl_; /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> * @return Whether the impl field is set. */ @java.lang.Override public boolean hasImpl() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> * @return The impl. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.NodeImpl getImpl() { return impl_ == null ? ai.chalk.protos.chalk.engine.v1.NodeImpl.getDefaultInstance() : impl_; } /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.NodeImplOrBuilder getImplOrBuilder() { return impl_ == null ? ai.chalk.protos.chalk.engine.v1.NodeImpl.getDefaultInstance() : impl_; } 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 (getChildrenIndicesList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(childrenIndicesMemoizedSerializedSize); } for (int i = 0; i < childrenIndices_.size(); i++) { output.writeUInt32NoTag(childrenIndices_.getInt(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getImpl()); } 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 < childrenIndices_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(childrenIndices_.getInt(i)); } size += dataSize; if (!getChildrenIndicesList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } childrenIndicesMemoizedSerializedSize = dataSize; } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getImpl()); } 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.v1.Node)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.Node other = (ai.chalk.protos.chalk.engine.v1.Node) obj; if (!getChildrenIndicesList() .equals(other.getChildrenIndicesList())) return false; if (hasImpl() != other.hasImpl()) return false; if (hasImpl()) { if (!getImpl() .equals(other.getImpl())) 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 (getChildrenIndicesCount() > 0) { hash = (37 * hash) + CHILDREN_INDICES_FIELD_NUMBER; hash = (53 * hash) + getChildrenIndicesList().hashCode(); } if (hasImpl()) { hash = (37 * hash) + IMPL_FIELD_NUMBER; hash = (53 * hash) + getImpl().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.Node parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.Node 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.v1.Node parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.Node 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.v1.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.Node 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.v1.Node parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.Node 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.v1.Node parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.Node 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.v1.Node 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.v1.Node 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.v1.Node 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.v1.Node} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.Node) ai.chalk.protos.chalk.engine.v1.NodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Node_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Node_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.Node.class, ai.chalk.protos.chalk.engine.v1.Node.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.Node.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getImplFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; childrenIndices_ = emptyIntList(); impl_ = null; if (implBuilder_ != null) { implBuilder_.dispose(); implBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Node_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Node getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.Node.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Node build() { ai.chalk.protos.chalk.engine.v1.Node result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Node buildPartial() { ai.chalk.protos.chalk.engine.v1.Node result = new ai.chalk.protos.chalk.engine.v1.Node(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.Node result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { childrenIndices_.makeImmutable(); result.childrenIndices_ = childrenIndices_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.impl_ = implBuilder_ == null ? impl_ : implBuilder_.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.v1.Node) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.Node)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.Node other) { if (other == ai.chalk.protos.chalk.engine.v1.Node.getDefaultInstance()) return this; if (!other.childrenIndices_.isEmpty()) { if (childrenIndices_.isEmpty()) { childrenIndices_ = other.childrenIndices_; childrenIndices_.makeImmutable(); bitField0_ |= 0x00000001; } else { ensureChildrenIndicesIsMutable(); childrenIndices_.addAll(other.childrenIndices_); } onChanged(); } if (other.hasImpl()) { mergeImpl(other.getImpl()); } 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: { int v = input.readUInt32(); ensureChildrenIndicesIsMutable(); childrenIndices_.addInt(v); break; } // case 8 case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); ensureChildrenIndicesIsMutable(); while (input.getBytesUntilLimit() > 0) { childrenIndices_.addInt(input.readUInt32()); } input.popLimit(limit); break; } // case 10 case 18: { input.readMessage( getImplFieldBuilder().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 com.google.protobuf.Internal.IntList childrenIndices_ = emptyIntList(); private void ensureChildrenIndicesIsMutable() { if (!childrenIndices_.isModifiable()) { childrenIndices_ = makeMutableCopy(childrenIndices_); } bitField0_ |= 0x00000001; } /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @return A list containing the childrenIndices. */ public java.util.List<java.lang.Integer> getChildrenIndicesList() { childrenIndices_.makeImmutable(); return childrenIndices_; } /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @return The count of childrenIndices. */ public int getChildrenIndicesCount() { return childrenIndices_.size(); } /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @param index The index of the element to return. * @return The childrenIndices at the given index. */ public int getChildrenIndices(int index) { return childrenIndices_.getInt(index); } /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @param index The index to set the value at. * @param value The childrenIndices to set. * @return This builder for chaining. */ public Builder setChildrenIndices( int index, int value) { ensureChildrenIndicesIsMutable(); childrenIndices_.setInt(index, value); bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @param value The childrenIndices to add. * @return This builder for chaining. */ public Builder addChildrenIndices(int value) { ensureChildrenIndicesIsMutable(); childrenIndices_.addInt(value); bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @param values The childrenIndices to add. * @return This builder for chaining. */ public Builder addAllChildrenIndices( java.lang.Iterable<? extends java.lang.Integer> values) { ensureChildrenIndicesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, childrenIndices_); bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @return This builder for chaining. */ public Builder clearChildrenIndices() { childrenIndices_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private ai.chalk.protos.chalk.engine.v1.NodeImpl impl_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.NodeImpl, ai.chalk.protos.chalk.engine.v1.NodeImpl.Builder, ai.chalk.protos.chalk.engine.v1.NodeImplOrBuilder> implBuilder_; /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> * @return Whether the impl field is set. */ public boolean hasImpl() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> * @return The impl. */ public ai.chalk.protos.chalk.engine.v1.NodeImpl getImpl() { if (implBuilder_ == null) { return impl_ == null ? ai.chalk.protos.chalk.engine.v1.NodeImpl.getDefaultInstance() : impl_; } else { return implBuilder_.getMessage(); } } /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> */ public Builder setImpl(ai.chalk.protos.chalk.engine.v1.NodeImpl value) { if (implBuilder_ == null) { if (value == null) { throw new NullPointerException(); } impl_ = value; } else { implBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> */ public Builder setImpl( ai.chalk.protos.chalk.engine.v1.NodeImpl.Builder builderForValue) { if (implBuilder_ == null) { impl_ = builderForValue.build(); } else { implBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> */ public Builder mergeImpl(ai.chalk.protos.chalk.engine.v1.NodeImpl value) { if (implBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && impl_ != null && impl_ != ai.chalk.protos.chalk.engine.v1.NodeImpl.getDefaultInstance()) { getImplBuilder().mergeFrom(value); } else { impl_ = value; } } else { implBuilder_.mergeFrom(value); } if (impl_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> */ public Builder clearImpl() { bitField0_ = (bitField0_ & ~0x00000002); impl_ = null; if (implBuilder_ != null) { implBuilder_.dispose(); implBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> */ public ai.chalk.protos.chalk.engine.v1.NodeImpl.Builder getImplBuilder() { bitField0_ |= 0x00000002; onChanged(); return getImplFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> */ public ai.chalk.protos.chalk.engine.v1.NodeImplOrBuilder getImplOrBuilder() { if (implBuilder_ != null) { return implBuilder_.getMessageOrBuilder(); } else { return impl_ == null ? ai.chalk.protos.chalk.engine.v1.NodeImpl.getDefaultInstance() : impl_; } } /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.NodeImpl, ai.chalk.protos.chalk.engine.v1.NodeImpl.Builder, ai.chalk.protos.chalk.engine.v1.NodeImplOrBuilder> getImplFieldBuilder() { if (implBuilder_ == null) { implBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.NodeImpl, ai.chalk.protos.chalk.engine.v1.NodeImpl.Builder, ai.chalk.protos.chalk.engine.v1.NodeImplOrBuilder>( getImpl(), getParentForChildren(), isClean()); impl_ = null; } return implBuilder_; } @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.v1.Node) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.Node) private static final ai.chalk.protos.chalk.engine.v1.Node DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.Node(); } public static ai.chalk.protos.chalk.engine.v1.Node getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<Node> PARSER = new com.google.protobuf.AbstractParser<Node>() { @java.lang.Override public Node 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<Node> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<Node> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Node 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/v1/NodeImpl.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.NodeImpl} */ public final class NodeImpl extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.NodeImpl) NodeImplOrBuilder { private static final long serialVersionUID = 0L; // Use NodeImpl.newBuilder() to construct. private NodeImpl(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private NodeImpl() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NodeImpl(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_NodeImpl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_NodeImpl_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.NodeImpl.class, ai.chalk.protos.chalk.engine.v1.NodeImpl.Builder.class); } private int implCase_ = 0; @SuppressWarnings("serial") private java.lang.Object impl_; public enum ImplCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { UNKNOWN(1), GIVENS_SCAN(2), PROJECT(3), CHALK_PROJECT(4), DEFAULT_INJECTOR(5), IMPL_NOT_SET(0); private final int value; private ImplCase(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 ImplCase valueOf(int value) { return forNumber(value); } public static ImplCase forNumber(int value) { switch (value) { case 1: return UNKNOWN; case 2: return GIVENS_SCAN; case 3: return PROJECT; case 4: return CHALK_PROJECT; case 5: return DEFAULT_INJECTOR; case 0: return IMPL_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ImplCase getImplCase() { return ImplCase.forNumber( implCase_); } public static final int UNKNOWN_FIELD_NUMBER = 1; /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> * @return Whether the unknown field is set. */ @java.lang.Override public boolean hasUnknown() { return implCase_ == 1; } /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> * @return The unknown. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.UnknownNode getUnknown() { if (implCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.UnknownNode) impl_; } return ai.chalk.protos.chalk.engine.v1.UnknownNode.getDefaultInstance(); } /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.UnknownNodeOrBuilder getUnknownOrBuilder() { if (implCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.UnknownNode) impl_; } return ai.chalk.protos.chalk.engine.v1.UnknownNode.getDefaultInstance(); } public static final int GIVENS_SCAN_FIELD_NUMBER = 2; /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> * @return Whether the givensScan field is set. */ @java.lang.Override public boolean hasGivensScan() { return implCase_ == 2; } /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> * @return The givensScan. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GivensScan getGivensScan() { if (implCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.GivensScan) impl_; } return ai.chalk.protos.chalk.engine.v1.GivensScan.getDefaultInstance(); } /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GivensScanOrBuilder getGivensScanOrBuilder() { if (implCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.GivensScan) impl_; } return ai.chalk.protos.chalk.engine.v1.GivensScan.getDefaultInstance(); } public static final int PROJECT_FIELD_NUMBER = 3; /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> * @return Whether the project field is set. */ @java.lang.Override public boolean hasProject() { return implCase_ == 3; } /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> * @return The project. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Project getProject() { if (implCase_ == 3) { return (ai.chalk.protos.chalk.engine.v1.Project) impl_; } return ai.chalk.protos.chalk.engine.v1.Project.getDefaultInstance(); } /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ProjectOrBuilder getProjectOrBuilder() { if (implCase_ == 3) { return (ai.chalk.protos.chalk.engine.v1.Project) impl_; } return ai.chalk.protos.chalk.engine.v1.Project.getDefaultInstance(); } public static final int CHALK_PROJECT_FIELD_NUMBER = 4; /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> * @return Whether the chalkProject field is set. */ @java.lang.Override public boolean hasChalkProject() { return implCase_ == 4; } /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> * @return The chalkProject. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ChalkProject getChalkProject() { if (implCase_ == 4) { return (ai.chalk.protos.chalk.engine.v1.ChalkProject) impl_; } return ai.chalk.protos.chalk.engine.v1.ChalkProject.getDefaultInstance(); } /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ChalkProjectOrBuilder getChalkProjectOrBuilder() { if (implCase_ == 4) { return (ai.chalk.protos.chalk.engine.v1.ChalkProject) impl_; } return ai.chalk.protos.chalk.engine.v1.ChalkProject.getDefaultInstance(); } public static final int DEFAULT_INJECTOR_FIELD_NUMBER = 5; /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> * @return Whether the defaultInjector field is set. */ @java.lang.Override public boolean hasDefaultInjector() { return implCase_ == 5; } /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> * @return The defaultInjector. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DefaultInjector getDefaultInjector() { if (implCase_ == 5) { return (ai.chalk.protos.chalk.engine.v1.DefaultInjector) impl_; } return ai.chalk.protos.chalk.engine.v1.DefaultInjector.getDefaultInstance(); } /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DefaultInjectorOrBuilder getDefaultInjectorOrBuilder() { if (implCase_ == 5) { return (ai.chalk.protos.chalk.engine.v1.DefaultInjector) impl_; } return ai.chalk.protos.chalk.engine.v1.DefaultInjector.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 (implCase_ == 1) { output.writeMessage(1, (ai.chalk.protos.chalk.engine.v1.UnknownNode) impl_); } if (implCase_ == 2) { output.writeMessage(2, (ai.chalk.protos.chalk.engine.v1.GivensScan) impl_); } if (implCase_ == 3) { output.writeMessage(3, (ai.chalk.protos.chalk.engine.v1.Project) impl_); } if (implCase_ == 4) { output.writeMessage(4, (ai.chalk.protos.chalk.engine.v1.ChalkProject) impl_); } if (implCase_ == 5) { output.writeMessage(5, (ai.chalk.protos.chalk.engine.v1.DefaultInjector) impl_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (implCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (ai.chalk.protos.chalk.engine.v1.UnknownNode) impl_); } if (implCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (ai.chalk.protos.chalk.engine.v1.GivensScan) impl_); } if (implCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (ai.chalk.protos.chalk.engine.v1.Project) impl_); } if (implCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (ai.chalk.protos.chalk.engine.v1.ChalkProject) impl_); } if (implCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (ai.chalk.protos.chalk.engine.v1.DefaultInjector) impl_); } 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.v1.NodeImpl)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.NodeImpl other = (ai.chalk.protos.chalk.engine.v1.NodeImpl) obj; if (!getImplCase().equals(other.getImplCase())) return false; switch (implCase_) { case 1: if (!getUnknown() .equals(other.getUnknown())) return false; break; case 2: if (!getGivensScan() .equals(other.getGivensScan())) return false; break; case 3: if (!getProject() .equals(other.getProject())) return false; break; case 4: if (!getChalkProject() .equals(other.getChalkProject())) return false; break; case 5: if (!getDefaultInjector() .equals(other.getDefaultInjector())) 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(); switch (implCase_) { case 1: hash = (37 * hash) + UNKNOWN_FIELD_NUMBER; hash = (53 * hash) + getUnknown().hashCode(); break; case 2: hash = (37 * hash) + GIVENS_SCAN_FIELD_NUMBER; hash = (53 * hash) + getGivensScan().hashCode(); break; case 3: hash = (37 * hash) + PROJECT_FIELD_NUMBER; hash = (53 * hash) + getProject().hashCode(); break; case 4: hash = (37 * hash) + CHALK_PROJECT_FIELD_NUMBER; hash = (53 * hash) + getChalkProject().hashCode(); break; case 5: hash = (37 * hash) + DEFAULT_INJECTOR_FIELD_NUMBER; hash = (53 * hash) + getDefaultInjector().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.NodeImpl parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.NodeImpl 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.v1.NodeImpl parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.NodeImpl 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.v1.NodeImpl parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.NodeImpl 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.v1.NodeImpl parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.NodeImpl 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.v1.NodeImpl parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.NodeImpl 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.v1.NodeImpl 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.v1.NodeImpl 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.v1.NodeImpl 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.v1.NodeImpl} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.NodeImpl) ai.chalk.protos.chalk.engine.v1.NodeImplOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_NodeImpl_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_NodeImpl_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.NodeImpl.class, ai.chalk.protos.chalk.engine.v1.NodeImpl.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.NodeImpl.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (unknownBuilder_ != null) { unknownBuilder_.clear(); } if (givensScanBuilder_ != null) { givensScanBuilder_.clear(); } if (projectBuilder_ != null) { projectBuilder_.clear(); } if (chalkProjectBuilder_ != null) { chalkProjectBuilder_.clear(); } if (defaultInjectorBuilder_ != null) { defaultInjectorBuilder_.clear(); } implCase_ = 0; impl_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_NodeImpl_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.NodeImpl getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.NodeImpl.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.NodeImpl build() { ai.chalk.protos.chalk.engine.v1.NodeImpl result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.NodeImpl buildPartial() { ai.chalk.protos.chalk.engine.v1.NodeImpl result = new ai.chalk.protos.chalk.engine.v1.NodeImpl(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.NodeImpl result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(ai.chalk.protos.chalk.engine.v1.NodeImpl result) { result.implCase_ = implCase_; result.impl_ = this.impl_; if (implCase_ == 1 && unknownBuilder_ != null) { result.impl_ = unknownBuilder_.build(); } if (implCase_ == 2 && givensScanBuilder_ != null) { result.impl_ = givensScanBuilder_.build(); } if (implCase_ == 3 && projectBuilder_ != null) { result.impl_ = projectBuilder_.build(); } if (implCase_ == 4 && chalkProjectBuilder_ != null) { result.impl_ = chalkProjectBuilder_.build(); } if (implCase_ == 5 && defaultInjectorBuilder_ != null) { result.impl_ = defaultInjectorBuilder_.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.v1.NodeImpl) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.NodeImpl)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.NodeImpl other) { if (other == ai.chalk.protos.chalk.engine.v1.NodeImpl.getDefaultInstance()) return this; switch (other.getImplCase()) { case UNKNOWN: { mergeUnknown(other.getUnknown()); break; } case GIVENS_SCAN: { mergeGivensScan(other.getGivensScan()); break; } case PROJECT: { mergeProject(other.getProject()); break; } case CHALK_PROJECT: { mergeChalkProject(other.getChalkProject()); break; } case DEFAULT_INJECTOR: { mergeDefaultInjector(other.getDefaultInjector()); break; } case IMPL_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( getUnknownFieldBuilder().getBuilder(), extensionRegistry); implCase_ = 1; break; } // case 10 case 18: { input.readMessage( getGivensScanFieldBuilder().getBuilder(), extensionRegistry); implCase_ = 2; break; } // case 18 case 26: { input.readMessage( getProjectFieldBuilder().getBuilder(), extensionRegistry); implCase_ = 3; break; } // case 26 case 34: { input.readMessage( getChalkProjectFieldBuilder().getBuilder(), extensionRegistry); implCase_ = 4; break; } // case 34 case 42: { input.readMessage( getDefaultInjectorFieldBuilder().getBuilder(), extensionRegistry); implCase_ = 5; 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 implCase_ = 0; private java.lang.Object impl_; public ImplCase getImplCase() { return ImplCase.forNumber( implCase_); } public Builder clearImpl() { implCase_ = 0; impl_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.UnknownNode, ai.chalk.protos.chalk.engine.v1.UnknownNode.Builder, ai.chalk.protos.chalk.engine.v1.UnknownNodeOrBuilder> unknownBuilder_; /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> * @return Whether the unknown field is set. */ @java.lang.Override public boolean hasUnknown() { return implCase_ == 1; } /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> * @return The unknown. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.UnknownNode getUnknown() { if (unknownBuilder_ == null) { if (implCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.UnknownNode) impl_; } return ai.chalk.protos.chalk.engine.v1.UnknownNode.getDefaultInstance(); } else { if (implCase_ == 1) { return unknownBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.UnknownNode.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> */ public Builder setUnknown(ai.chalk.protos.chalk.engine.v1.UnknownNode value) { if (unknownBuilder_ == null) { if (value == null) { throw new NullPointerException(); } impl_ = value; onChanged(); } else { unknownBuilder_.setMessage(value); } implCase_ = 1; return this; } /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> */ public Builder setUnknown( ai.chalk.protos.chalk.engine.v1.UnknownNode.Builder builderForValue) { if (unknownBuilder_ == null) { impl_ = builderForValue.build(); onChanged(); } else { unknownBuilder_.setMessage(builderForValue.build()); } implCase_ = 1; return this; } /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> */ public Builder mergeUnknown(ai.chalk.protos.chalk.engine.v1.UnknownNode value) { if (unknownBuilder_ == null) { if (implCase_ == 1 && impl_ != ai.chalk.protos.chalk.engine.v1.UnknownNode.getDefaultInstance()) { impl_ = ai.chalk.protos.chalk.engine.v1.UnknownNode.newBuilder((ai.chalk.protos.chalk.engine.v1.UnknownNode) impl_) .mergeFrom(value).buildPartial(); } else { impl_ = value; } onChanged(); } else { if (implCase_ == 1) { unknownBuilder_.mergeFrom(value); } else { unknownBuilder_.setMessage(value); } } implCase_ = 1; return this; } /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> */ public Builder clearUnknown() { if (unknownBuilder_ == null) { if (implCase_ == 1) { implCase_ = 0; impl_ = null; onChanged(); } } else { if (implCase_ == 1) { implCase_ = 0; impl_ = null; } unknownBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> */ public ai.chalk.protos.chalk.engine.v1.UnknownNode.Builder getUnknownBuilder() { return getUnknownFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.UnknownNodeOrBuilder getUnknownOrBuilder() { if ((implCase_ == 1) && (unknownBuilder_ != null)) { return unknownBuilder_.getMessageOrBuilder(); } else { if (implCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.UnknownNode) impl_; } return ai.chalk.protos.chalk.engine.v1.UnknownNode.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.UnknownNode, ai.chalk.protos.chalk.engine.v1.UnknownNode.Builder, ai.chalk.protos.chalk.engine.v1.UnknownNodeOrBuilder> getUnknownFieldBuilder() { if (unknownBuilder_ == null) { if (!(implCase_ == 1)) { impl_ = ai.chalk.protos.chalk.engine.v1.UnknownNode.getDefaultInstance(); } unknownBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.UnknownNode, ai.chalk.protos.chalk.engine.v1.UnknownNode.Builder, ai.chalk.protos.chalk.engine.v1.UnknownNodeOrBuilder>( (ai.chalk.protos.chalk.engine.v1.UnknownNode) impl_, getParentForChildren(), isClean()); impl_ = null; } implCase_ = 1; onChanged(); return unknownBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.GivensScan, ai.chalk.protos.chalk.engine.v1.GivensScan.Builder, ai.chalk.protos.chalk.engine.v1.GivensScanOrBuilder> givensScanBuilder_; /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> * @return Whether the givensScan field is set. */ @java.lang.Override public boolean hasGivensScan() { return implCase_ == 2; } /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> * @return The givensScan. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GivensScan getGivensScan() { if (givensScanBuilder_ == null) { if (implCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.GivensScan) impl_; } return ai.chalk.protos.chalk.engine.v1.GivensScan.getDefaultInstance(); } else { if (implCase_ == 2) { return givensScanBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.GivensScan.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> */ public Builder setGivensScan(ai.chalk.protos.chalk.engine.v1.GivensScan value) { if (givensScanBuilder_ == null) { if (value == null) { throw new NullPointerException(); } impl_ = value; onChanged(); } else { givensScanBuilder_.setMessage(value); } implCase_ = 2; return this; } /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> */ public Builder setGivensScan( ai.chalk.protos.chalk.engine.v1.GivensScan.Builder builderForValue) { if (givensScanBuilder_ == null) { impl_ = builderForValue.build(); onChanged(); } else { givensScanBuilder_.setMessage(builderForValue.build()); } implCase_ = 2; return this; } /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> */ public Builder mergeGivensScan(ai.chalk.protos.chalk.engine.v1.GivensScan value) { if (givensScanBuilder_ == null) { if (implCase_ == 2 && impl_ != ai.chalk.protos.chalk.engine.v1.GivensScan.getDefaultInstance()) { impl_ = ai.chalk.protos.chalk.engine.v1.GivensScan.newBuilder((ai.chalk.protos.chalk.engine.v1.GivensScan) impl_) .mergeFrom(value).buildPartial(); } else { impl_ = value; } onChanged(); } else { if (implCase_ == 2) { givensScanBuilder_.mergeFrom(value); } else { givensScanBuilder_.setMessage(value); } } implCase_ = 2; return this; } /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> */ public Builder clearGivensScan() { if (givensScanBuilder_ == null) { if (implCase_ == 2) { implCase_ = 0; impl_ = null; onChanged(); } } else { if (implCase_ == 2) { implCase_ = 0; impl_ = null; } givensScanBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> */ public ai.chalk.protos.chalk.engine.v1.GivensScan.Builder getGivensScanBuilder() { return getGivensScanFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.GivensScanOrBuilder getGivensScanOrBuilder() { if ((implCase_ == 2) && (givensScanBuilder_ != null)) { return givensScanBuilder_.getMessageOrBuilder(); } else { if (implCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.GivensScan) impl_; } return ai.chalk.protos.chalk.engine.v1.GivensScan.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.GivensScan, ai.chalk.protos.chalk.engine.v1.GivensScan.Builder, ai.chalk.protos.chalk.engine.v1.GivensScanOrBuilder> getGivensScanFieldBuilder() { if (givensScanBuilder_ == null) { if (!(implCase_ == 2)) { impl_ = ai.chalk.protos.chalk.engine.v1.GivensScan.getDefaultInstance(); } givensScanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.GivensScan, ai.chalk.protos.chalk.engine.v1.GivensScan.Builder, ai.chalk.protos.chalk.engine.v1.GivensScanOrBuilder>( (ai.chalk.protos.chalk.engine.v1.GivensScan) impl_, getParentForChildren(), isClean()); impl_ = null; } implCase_ = 2; onChanged(); return givensScanBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Project, ai.chalk.protos.chalk.engine.v1.Project.Builder, ai.chalk.protos.chalk.engine.v1.ProjectOrBuilder> projectBuilder_; /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> * @return Whether the project field is set. */ @java.lang.Override public boolean hasProject() { return implCase_ == 3; } /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> * @return The project. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Project getProject() { if (projectBuilder_ == null) { if (implCase_ == 3) { return (ai.chalk.protos.chalk.engine.v1.Project) impl_; } return ai.chalk.protos.chalk.engine.v1.Project.getDefaultInstance(); } else { if (implCase_ == 3) { return projectBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.Project.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> */ public Builder setProject(ai.chalk.protos.chalk.engine.v1.Project value) { if (projectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } impl_ = value; onChanged(); } else { projectBuilder_.setMessage(value); } implCase_ = 3; return this; } /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> */ public Builder setProject( ai.chalk.protos.chalk.engine.v1.Project.Builder builderForValue) { if (projectBuilder_ == null) { impl_ = builderForValue.build(); onChanged(); } else { projectBuilder_.setMessage(builderForValue.build()); } implCase_ = 3; return this; } /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> */ public Builder mergeProject(ai.chalk.protos.chalk.engine.v1.Project value) { if (projectBuilder_ == null) { if (implCase_ == 3 && impl_ != ai.chalk.protos.chalk.engine.v1.Project.getDefaultInstance()) { impl_ = ai.chalk.protos.chalk.engine.v1.Project.newBuilder((ai.chalk.protos.chalk.engine.v1.Project) impl_) .mergeFrom(value).buildPartial(); } else { impl_ = value; } onChanged(); } else { if (implCase_ == 3) { projectBuilder_.mergeFrom(value); } else { projectBuilder_.setMessage(value); } } implCase_ = 3; return this; } /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> */ public Builder clearProject() { if (projectBuilder_ == null) { if (implCase_ == 3) { implCase_ = 0; impl_ = null; onChanged(); } } else { if (implCase_ == 3) { implCase_ = 0; impl_ = null; } projectBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> */ public ai.chalk.protos.chalk.engine.v1.Project.Builder getProjectBuilder() { return getProjectFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ProjectOrBuilder getProjectOrBuilder() { if ((implCase_ == 3) && (projectBuilder_ != null)) { return projectBuilder_.getMessageOrBuilder(); } else { if (implCase_ == 3) { return (ai.chalk.protos.chalk.engine.v1.Project) impl_; } return ai.chalk.protos.chalk.engine.v1.Project.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Project, ai.chalk.protos.chalk.engine.v1.Project.Builder, ai.chalk.protos.chalk.engine.v1.ProjectOrBuilder> getProjectFieldBuilder() { if (projectBuilder_ == null) { if (!(implCase_ == 3)) { impl_ = ai.chalk.protos.chalk.engine.v1.Project.getDefaultInstance(); } projectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Project, ai.chalk.protos.chalk.engine.v1.Project.Builder, ai.chalk.protos.chalk.engine.v1.ProjectOrBuilder>( (ai.chalk.protos.chalk.engine.v1.Project) impl_, getParentForChildren(), isClean()); impl_ = null; } implCase_ = 3; onChanged(); return projectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.ChalkProject, ai.chalk.protos.chalk.engine.v1.ChalkProject.Builder, ai.chalk.protos.chalk.engine.v1.ChalkProjectOrBuilder> chalkProjectBuilder_; /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> * @return Whether the chalkProject field is set. */ @java.lang.Override public boolean hasChalkProject() { return implCase_ == 4; } /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> * @return The chalkProject. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ChalkProject getChalkProject() { if (chalkProjectBuilder_ == null) { if (implCase_ == 4) { return (ai.chalk.protos.chalk.engine.v1.ChalkProject) impl_; } return ai.chalk.protos.chalk.engine.v1.ChalkProject.getDefaultInstance(); } else { if (implCase_ == 4) { return chalkProjectBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.ChalkProject.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> */ public Builder setChalkProject(ai.chalk.protos.chalk.engine.v1.ChalkProject value) { if (chalkProjectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } impl_ = value; onChanged(); } else { chalkProjectBuilder_.setMessage(value); } implCase_ = 4; return this; } /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> */ public Builder setChalkProject( ai.chalk.protos.chalk.engine.v1.ChalkProject.Builder builderForValue) { if (chalkProjectBuilder_ == null) { impl_ = builderForValue.build(); onChanged(); } else { chalkProjectBuilder_.setMessage(builderForValue.build()); } implCase_ = 4; return this; } /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> */ public Builder mergeChalkProject(ai.chalk.protos.chalk.engine.v1.ChalkProject value) { if (chalkProjectBuilder_ == null) { if (implCase_ == 4 && impl_ != ai.chalk.protos.chalk.engine.v1.ChalkProject.getDefaultInstance()) { impl_ = ai.chalk.protos.chalk.engine.v1.ChalkProject.newBuilder((ai.chalk.protos.chalk.engine.v1.ChalkProject) impl_) .mergeFrom(value).buildPartial(); } else { impl_ = value; } onChanged(); } else { if (implCase_ == 4) { chalkProjectBuilder_.mergeFrom(value); } else { chalkProjectBuilder_.setMessage(value); } } implCase_ = 4; return this; } /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> */ public Builder clearChalkProject() { if (chalkProjectBuilder_ == null) { if (implCase_ == 4) { implCase_ = 0; impl_ = null; onChanged(); } } else { if (implCase_ == 4) { implCase_ = 0; impl_ = null; } chalkProjectBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> */ public ai.chalk.protos.chalk.engine.v1.ChalkProject.Builder getChalkProjectBuilder() { return getChalkProjectFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ChalkProjectOrBuilder getChalkProjectOrBuilder() { if ((implCase_ == 4) && (chalkProjectBuilder_ != null)) { return chalkProjectBuilder_.getMessageOrBuilder(); } else { if (implCase_ == 4) { return (ai.chalk.protos.chalk.engine.v1.ChalkProject) impl_; } return ai.chalk.protos.chalk.engine.v1.ChalkProject.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.ChalkProject, ai.chalk.protos.chalk.engine.v1.ChalkProject.Builder, ai.chalk.protos.chalk.engine.v1.ChalkProjectOrBuilder> getChalkProjectFieldBuilder() { if (chalkProjectBuilder_ == null) { if (!(implCase_ == 4)) { impl_ = ai.chalk.protos.chalk.engine.v1.ChalkProject.getDefaultInstance(); } chalkProjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.ChalkProject, ai.chalk.protos.chalk.engine.v1.ChalkProject.Builder, ai.chalk.protos.chalk.engine.v1.ChalkProjectOrBuilder>( (ai.chalk.protos.chalk.engine.v1.ChalkProject) impl_, getParentForChildren(), isClean()); impl_ = null; } implCase_ = 4; onChanged(); return chalkProjectBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DefaultInjector, ai.chalk.protos.chalk.engine.v1.DefaultInjector.Builder, ai.chalk.protos.chalk.engine.v1.DefaultInjectorOrBuilder> defaultInjectorBuilder_; /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> * @return Whether the defaultInjector field is set. */ @java.lang.Override public boolean hasDefaultInjector() { return implCase_ == 5; } /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> * @return The defaultInjector. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DefaultInjector getDefaultInjector() { if (defaultInjectorBuilder_ == null) { if (implCase_ == 5) { return (ai.chalk.protos.chalk.engine.v1.DefaultInjector) impl_; } return ai.chalk.protos.chalk.engine.v1.DefaultInjector.getDefaultInstance(); } else { if (implCase_ == 5) { return defaultInjectorBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.DefaultInjector.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> */ public Builder setDefaultInjector(ai.chalk.protos.chalk.engine.v1.DefaultInjector value) { if (defaultInjectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } impl_ = value; onChanged(); } else { defaultInjectorBuilder_.setMessage(value); } implCase_ = 5; return this; } /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> */ public Builder setDefaultInjector( ai.chalk.protos.chalk.engine.v1.DefaultInjector.Builder builderForValue) { if (defaultInjectorBuilder_ == null) { impl_ = builderForValue.build(); onChanged(); } else { defaultInjectorBuilder_.setMessage(builderForValue.build()); } implCase_ = 5; return this; } /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> */ public Builder mergeDefaultInjector(ai.chalk.protos.chalk.engine.v1.DefaultInjector value) { if (defaultInjectorBuilder_ == null) { if (implCase_ == 5 && impl_ != ai.chalk.protos.chalk.engine.v1.DefaultInjector.getDefaultInstance()) { impl_ = ai.chalk.protos.chalk.engine.v1.DefaultInjector.newBuilder((ai.chalk.protos.chalk.engine.v1.DefaultInjector) impl_) .mergeFrom(value).buildPartial(); } else { impl_ = value; } onChanged(); } else { if (implCase_ == 5) { defaultInjectorBuilder_.mergeFrom(value); } else { defaultInjectorBuilder_.setMessage(value); } } implCase_ = 5; return this; } /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> */ public Builder clearDefaultInjector() { if (defaultInjectorBuilder_ == null) { if (implCase_ == 5) { implCase_ = 0; impl_ = null; onChanged(); } } else { if (implCase_ == 5) { implCase_ = 0; impl_ = null; } defaultInjectorBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> */ public ai.chalk.protos.chalk.engine.v1.DefaultInjector.Builder getDefaultInjectorBuilder() { return getDefaultInjectorFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DefaultInjectorOrBuilder getDefaultInjectorOrBuilder() { if ((implCase_ == 5) && (defaultInjectorBuilder_ != null)) { return defaultInjectorBuilder_.getMessageOrBuilder(); } else { if (implCase_ == 5) { return (ai.chalk.protos.chalk.engine.v1.DefaultInjector) impl_; } return ai.chalk.protos.chalk.engine.v1.DefaultInjector.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DefaultInjector, ai.chalk.protos.chalk.engine.v1.DefaultInjector.Builder, ai.chalk.protos.chalk.engine.v1.DefaultInjectorOrBuilder> getDefaultInjectorFieldBuilder() { if (defaultInjectorBuilder_ == null) { if (!(implCase_ == 5)) { impl_ = ai.chalk.protos.chalk.engine.v1.DefaultInjector.getDefaultInstance(); } defaultInjectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DefaultInjector, ai.chalk.protos.chalk.engine.v1.DefaultInjector.Builder, ai.chalk.protos.chalk.engine.v1.DefaultInjectorOrBuilder>( (ai.chalk.protos.chalk.engine.v1.DefaultInjector) impl_, getParentForChildren(), isClean()); impl_ = null; } implCase_ = 5; onChanged(); return defaultInjectorBuilder_; } @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.v1.NodeImpl) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.NodeImpl) private static final ai.chalk.protos.chalk.engine.v1.NodeImpl DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.NodeImpl(); } public static ai.chalk.protos.chalk.engine.v1.NodeImpl getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<NodeImpl> PARSER = new com.google.protobuf.AbstractParser<NodeImpl>() { @java.lang.Override public NodeImpl 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<NodeImpl> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<NodeImpl> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.NodeImpl 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/v1/NodeImplOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface NodeImplOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.NodeImpl) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> * @return Whether the unknown field is set. */ boolean hasUnknown(); /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> * @return The unknown. */ ai.chalk.protos.chalk.engine.v1.UnknownNode getUnknown(); /** * <code>.chalk.engine.v1.UnknownNode unknown = 1 [json_name = "unknown"];</code> */ ai.chalk.protos.chalk.engine.v1.UnknownNodeOrBuilder getUnknownOrBuilder(); /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> * @return Whether the givensScan field is set. */ boolean hasGivensScan(); /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> * @return The givensScan. */ ai.chalk.protos.chalk.engine.v1.GivensScan getGivensScan(); /** * <code>.chalk.engine.v1.GivensScan givens_scan = 2 [json_name = "givensScan"];</code> */ ai.chalk.protos.chalk.engine.v1.GivensScanOrBuilder getGivensScanOrBuilder(); /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> * @return Whether the project field is set. */ boolean hasProject(); /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> * @return The project. */ ai.chalk.protos.chalk.engine.v1.Project getProject(); /** * <code>.chalk.engine.v1.Project project = 3 [json_name = "project"];</code> */ ai.chalk.protos.chalk.engine.v1.ProjectOrBuilder getProjectOrBuilder(); /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> * @return Whether the chalkProject field is set. */ boolean hasChalkProject(); /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> * @return The chalkProject. */ ai.chalk.protos.chalk.engine.v1.ChalkProject getChalkProject(); /** * <code>.chalk.engine.v1.ChalkProject chalk_project = 4 [json_name = "chalkProject"];</code> */ ai.chalk.protos.chalk.engine.v1.ChalkProjectOrBuilder getChalkProjectOrBuilder(); /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> * @return Whether the defaultInjector field is set. */ boolean hasDefaultInjector(); /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> * @return The defaultInjector. */ ai.chalk.protos.chalk.engine.v1.DefaultInjector getDefaultInjector(); /** * <code>.chalk.engine.v1.DefaultInjector default_injector = 5 [json_name = "defaultInjector"];</code> */ ai.chalk.protos.chalk.engine.v1.DefaultInjectorOrBuilder getDefaultInjectorOrBuilder(); ai.chalk.protos.chalk.engine.v1.NodeImpl.ImplCase getImplCase(); }
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/v1/NodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface NodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.Node) com.google.protobuf.MessageOrBuilder { /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @return A list containing the childrenIndices. */ java.util.List<java.lang.Integer> getChildrenIndicesList(); /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @return The count of childrenIndices. */ int getChildrenIndicesCount(); /** * <pre> * Corresponds to indices in Plan.nodes * </pre> * * <code>repeated uint32 children_indices = 1 [json_name = "childrenIndices"];</code> * @param index The index of the element to return. * @return The childrenIndices at the given index. */ int getChildrenIndices(int index); /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> * @return Whether the impl field is set. */ boolean hasImpl(); /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> * @return The impl. */ ai.chalk.protos.chalk.engine.v1.NodeImpl getImpl(); /** * <code>.chalk.engine.v1.NodeImpl impl = 2 [json_name = "impl"];</code> */ ai.chalk.protos.chalk.engine.v1.NodeImplOrBuilder getImplOrBuilder(); }
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/v1/OfflineStoreServiceDummy.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/offline_store_service.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.OfflineStoreServiceDummy} */ public final class OfflineStoreServiceDummy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.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.v1.OfflineStoreServiceProto.internal_static_chalk_engine_v1_OfflineStoreServiceDummy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceProto.internal_static_chalk_engine_v1_OfflineStoreServiceDummy_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy.class, ai.chalk.protos.chalk.engine.v1.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.v1.OfflineStoreServiceDummy)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy other = (ai.chalk.protos.chalk.engine.v1.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.v1.OfflineStoreServiceDummy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.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.v1.OfflineStoreServiceDummy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.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.v1.OfflineStoreServiceDummy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.OfflineStoreServiceDummy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.OfflineStoreServiceDummy) ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceProto.internal_static_chalk_engine_v1_OfflineStoreServiceDummy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceProto.internal_static_chalk_engine_v1_OfflineStoreServiceDummy_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy.class, ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.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.v1.OfflineStoreServiceProto.internal_static_chalk_engine_v1_OfflineStoreServiceDummy_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy build() { ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy buildPartial() { ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy result = new ai.chalk.protos.chalk.engine.v1.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.v1.OfflineStoreServiceDummy) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy other) { if (other == ai.chalk.protos.chalk.engine.v1.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.v1.OfflineStoreServiceDummy) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.OfflineStoreServiceDummy) private static final ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.OfflineStoreServiceDummy(); } public static ai.chalk.protos.chalk.engine.v1.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.v1.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/v1/OfflineStoreServiceDummyOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/offline_store_service.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface OfflineStoreServiceDummyOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.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/v1/OfflineStoreServiceGrpc.java
package ai.chalk.protos.chalk.engine.v1; 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. * </pre> */ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.64.0)", comments = "Source: chalk/engine/v1/offline_store_service.proto") @io.grpc.stub.annotations.GrpcGenerated @java.lang.Deprecated public final class OfflineStoreServiceGrpc { private OfflineStoreServiceGrpc() {} public static final java.lang.String SERVICE_NAME = "chalk.engine.v1.OfflineStoreService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesRequest, ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesResponse> getGetQueryLogEntriesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetQueryLogEntries", requestType = ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesRequest.class, responseType = ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesRequest, ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesResponse> getGetQueryLogEntriesMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesRequest, ai.chalk.protos.chalk.common.v1.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.common.v1.GetQueryLogEntriesRequest, ai.chalk.protos.chalk.common.v1.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.common.v1.GetQueryLogEntriesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesResponse.getDefaultInstance())) .setSchemaDescriptor(new OfflineStoreServiceMethodDescriptorSupplier("GetQueryLogEntries")) .build(); } } } return getGetQueryLogEntriesMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetQueryValuesRequest, ai.chalk.protos.chalk.common.v1.GetQueryValuesResponse> getGetQueryValuesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetQueryValues", requestType = ai.chalk.protos.chalk.common.v1.GetQueryValuesRequest.class, responseType = ai.chalk.protos.chalk.common.v1.GetQueryValuesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetQueryValuesRequest, ai.chalk.protos.chalk.common.v1.GetQueryValuesResponse> getGetQueryValuesMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetQueryValuesRequest, ai.chalk.protos.chalk.common.v1.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.common.v1.GetQueryValuesRequest, ai.chalk.protos.chalk.common.v1.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.common.v1.GetQueryValuesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.GetQueryValuesResponse.getDefaultInstance())) .setSchemaDescriptor(new OfflineStoreServiceMethodDescriptorSupplier("GetQueryValues")) .build(); } } } return getGetQueryValuesMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest, ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartResponse> getGetFeatureValuesChartMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetFeatureValuesChart", requestType = ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest.class, responseType = ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest, ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartResponse> getGetFeatureValuesChartMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest, ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartResponse> getGetFeatureValuesChartMethod; if ((getGetFeatureValuesChartMethod = OfflineStoreServiceGrpc.getGetFeatureValuesChartMethod) == null) { synchronized (OfflineStoreServiceGrpc.class) { if ((getGetFeatureValuesChartMethod = OfflineStoreServiceGrpc.getGetFeatureValuesChartMethod) == null) { OfflineStoreServiceGrpc.getGetFeatureValuesChartMethod = getGetFeatureValuesChartMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest, ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeatureValuesChart")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartResponse.getDefaultInstance())) .setSchemaDescriptor(new OfflineStoreServiceMethodDescriptorSupplier("GetFeatureValuesChart")) .build(); } } } return getGetFeatureValuesChartMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest, ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartResponse> getGetFeatureValuesTimeSeriesChartMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetFeatureValuesTimeSeriesChart", requestType = ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest.class, responseType = ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest, ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartResponse> getGetFeatureValuesTimeSeriesChartMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest, ai.chalk.protos.chalk.common.v1.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.common.v1.GetFeatureValuesTimeSeriesChartRequest, ai.chalk.protos.chalk.common.v1.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.common.v1.GetFeatureValuesTimeSeriesChartRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartResponse.getDefaultInstance())) .setSchemaDescriptor(new OfflineStoreServiceMethodDescriptorSupplier("GetFeatureValuesTimeSeriesChart")) .build(); } } } return getGetFeatureValuesTimeSeriesChartMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request, ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response> getGetFeatureValuesTimeSeriesChartV2Method; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetFeatureValuesTimeSeriesChartV2", requestType = ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request.class, responseType = ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request, ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response> getGetFeatureValuesTimeSeriesChartV2Method() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request, ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response> getGetFeatureValuesTimeSeriesChartV2Method; if ((getGetFeatureValuesTimeSeriesChartV2Method = OfflineStoreServiceGrpc.getGetFeatureValuesTimeSeriesChartV2Method) == null) { synchronized (OfflineStoreServiceGrpc.class) { if ((getGetFeatureValuesTimeSeriesChartV2Method = OfflineStoreServiceGrpc.getGetFeatureValuesTimeSeriesChartV2Method) == null) { OfflineStoreServiceGrpc.getGetFeatureValuesTimeSeriesChartV2Method = getGetFeatureValuesTimeSeriesChartV2Method = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request, ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeatureValuesTimeSeriesChartV2")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response.getDefaultInstance())) .setSchemaDescriptor(new OfflineStoreServiceMethodDescriptorSupplier("GetFeatureValuesTimeSeriesChartV2")) .build(); } } } return getGetFeatureValuesTimeSeriesChartV2Method; } /** * 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. * </pre> */ @java.lang.Deprecated public interface AsyncService { /** */ default void getQueryLogEntries(ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueryLogEntriesMethod(), responseObserver); } /** */ default void getQueryValues(ai.chalk.protos.chalk.common.v1.GetQueryValuesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetQueryValuesResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueryValuesMethod(), responseObserver); } /** */ @java.lang.Deprecated default void getFeatureValuesChart(ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeatureValuesChartMethod(), responseObserver); } /** */ @java.lang.Deprecated default void getFeatureValuesTimeSeriesChart(ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeatureValuesTimeSeriesChartMethod(), responseObserver); } /** */ @java.lang.Deprecated default void getFeatureValuesTimeSeriesChartV2(ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeatureValuesTimeSeriesChartV2Method(), 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. * </pre> */ @java.lang.Deprecated 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. * </pre> */ @java.lang.Deprecated 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.common.v1.GetQueryLogEntriesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueryLogEntriesMethod(), getCallOptions()), request, responseObserver); } /** */ public void getQueryValues(ai.chalk.protos.chalk.common.v1.GetQueryValuesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetQueryValuesResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueryValuesMethod(), getCallOptions()), request, responseObserver); } /** */ @java.lang.Deprecated public void getFeatureValuesChart(ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetFeatureValuesChartMethod(), getCallOptions()), request, responseObserver); } /** */ @java.lang.Deprecated public void getFeatureValuesTimeSeriesChart(ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetFeatureValuesTimeSeriesChartMethod(), getCallOptions()), request, responseObserver); } /** */ @java.lang.Deprecated public void getFeatureValuesTimeSeriesChartV2(ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetFeatureValuesTimeSeriesChartV2Method(), 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. * </pre> */ @java.lang.Deprecated 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.common.v1.GetQueryLogEntriesResponse getQueryLogEntries(ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueryLogEntriesMethod(), getCallOptions(), request); } /** */ public ai.chalk.protos.chalk.common.v1.GetQueryValuesResponse getQueryValues(ai.chalk.protos.chalk.common.v1.GetQueryValuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueryValuesMethod(), getCallOptions(), request); } /** */ @java.lang.Deprecated public ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartResponse getFeatureValuesChart(ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFeatureValuesChartMethod(), getCallOptions(), request); } /** */ @java.lang.Deprecated public ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartResponse getFeatureValuesTimeSeriesChart(ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFeatureValuesTimeSeriesChartMethod(), getCallOptions(), request); } /** */ @java.lang.Deprecated public ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response getFeatureValuesTimeSeriesChartV2(ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFeatureValuesTimeSeriesChartV2Method(), 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. * </pre> */ @java.lang.Deprecated 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.common.v1.GetQueryLogEntriesResponse> getQueryLogEntries( ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueryLogEntriesMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.common.v1.GetQueryValuesResponse> getQueryValues( ai.chalk.protos.chalk.common.v1.GetQueryValuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueryValuesMethod(), getCallOptions()), request); } /** */ @java.lang.Deprecated public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartResponse> getFeatureValuesChart( ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetFeatureValuesChartMethod(), getCallOptions()), request); } /** */ @java.lang.Deprecated public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartResponse> getFeatureValuesTimeSeriesChart( ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetFeatureValuesTimeSeriesChartMethod(), getCallOptions()), request); } /** */ @java.lang.Deprecated public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response> getFeatureValuesTimeSeriesChartV2( ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetFeatureValuesTimeSeriesChartV2Method(), 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_CHART = 2; private static final int METHODID_GET_FEATURE_VALUES_TIME_SERIES_CHART = 3; private static final int METHODID_GET_FEATURE_VALUES_TIME_SERIES_CHART_V2 = 4; 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.common.v1.GetQueryLogEntriesRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesResponse>) responseObserver); break; case METHODID_GET_QUERY_VALUES: serviceImpl.getQueryValues((ai.chalk.protos.chalk.common.v1.GetQueryValuesRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetQueryValuesResponse>) responseObserver); break; case METHODID_GET_FEATURE_VALUES_CHART: serviceImpl.getFeatureValuesChart((ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartResponse>) responseObserver); break; case METHODID_GET_FEATURE_VALUES_TIME_SERIES_CHART: serviceImpl.getFeatureValuesTimeSeriesChart((ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartResponse>) responseObserver); break; case METHODID_GET_FEATURE_VALUES_TIME_SERIES_CHART_V2: serviceImpl.getFeatureValuesTimeSeriesChartV2((ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response>) 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.common.v1.GetQueryLogEntriesRequest, ai.chalk.protos.chalk.common.v1.GetQueryLogEntriesResponse>( service, METHODID_GET_QUERY_LOG_ENTRIES))) .addMethod( getGetQueryValuesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.common.v1.GetQueryValuesRequest, ai.chalk.protos.chalk.common.v1.GetQueryValuesResponse>( service, METHODID_GET_QUERY_VALUES))) .addMethod( getGetFeatureValuesChartMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest, ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartResponse>( service, METHODID_GET_FEATURE_VALUES_CHART))) .addMethod( getGetFeatureValuesTimeSeriesChartMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest, ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartResponse>( service, METHODID_GET_FEATURE_VALUES_TIME_SERIES_CHART))) .addMethod( getGetFeatureValuesTimeSeriesChartV2Method(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request, ai.chalk.protos.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response>( service, METHODID_GET_FEATURE_VALUES_TIME_SERIES_CHART_V2))) .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.v1.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(getGetFeatureValuesChartMethod()) .addMethod(getGetFeatureValuesTimeSeriesChartMethod()) .addMethod(getGetFeatureValuesTimeSeriesChartV2Method()) .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/v1/OfflineStoreServiceProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/offline_store_service.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; 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_v1_OfflineStoreServiceDummy_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_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/v1/offline_store_service." + "proto\022\017chalk.engine.v1\032\037chalk/auth/v1/pe" + "rmissions.proto\032$chalk/common/v1/feature" + "_values.proto\032\037chalk/common/v1/query_log" + ".proto\032\"chalk/common/v1/query_values.pro" + "to\"\032\n\030OfflineStoreServiceDummy2\272\005\n\023Offli" + "neStoreService\022r\n\022GetQueryLogEntries\022*.c" + "halk.common.v1.GetQueryLogEntriesRequest" + "\032+.chalk.common.v1.GetQueryLogEntriesRes" + "ponse\"\003\200}\004\022f\n\016GetQueryValues\022&.chalk.com" + "mon.v1.GetQueryValuesRequest\032\'.chalk.com" + "mon.v1.GetQueryValuesResponse\"\003\200}\004\022~\n\025Ge" + "tFeatureValuesChart\022-.chalk.common.v1.Ge" + "tFeatureValuesChartRequest\032..chalk.commo" + "n.v1.GetFeatureValuesChartResponse\"\006\210\002\001\200" + "}\004\022\234\001\n\037GetFeatureValuesTimeSeriesChart\0227" + ".chalk.common.v1.GetFeatureValuesTimeSer" + "iesChartRequest\0328.chalk.common.v1.GetFea" + "tureValuesTimeSeriesChartResponse\"\006\210\002\001\200}" + "\004\022\242\001\n!GetFeatureValuesTimeSeriesChartV2\022" + "9.chalk.common.v1.GetFeatureValuesTimeSe" + "riesChartV2Request\032:.chalk.common.v1.Get" + "FeatureValuesTimeSeriesChartV2Response\"\006" + "\210\002\001\200}\004\032\003\210\002\001B\231\001\n\037ai.chalk.protos.chalk.en" + "gine.v1B\030OfflineStoreServiceProtoP\001\242\002\003CE" + "X\252\002\017Chalk.Engine.V1\312\002\017Chalk\\Engine\\V1\342\002\033" + "Chalk\\Engine\\V1\\GPBMetadata\352\002\021Chalk::Eng" + "ine::V1b\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.common.v1.FeatureValuesProto.getDescriptor(), ai.chalk.protos.chalk.common.v1.QueryLogProto.getDescriptor(), ai.chalk.protos.chalk.common.v1.QueryValuesProto.getDescriptor(), }); internal_static_chalk_engine_v1_OfflineStoreServiceDummy_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_engine_v1_OfflineStoreServiceDummy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_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.common.v1.FeatureValuesProto.getDescriptor(); ai.chalk.protos.chalk.common.v1.QueryLogProto.getDescriptor(); ai.chalk.protos.chalk.common.v1.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/v1/PingRequest.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/query_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.PingRequest} */ public final class PingRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.PingRequest) PingRequestOrBuilder { private static final long serialVersionUID = 0L; // Use PingRequest.newBuilder() to construct. private PingRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private PingRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PingRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.QueryServerProto.internal_static_chalk_engine_v1_PingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.QueryServerProto.internal_static_chalk_engine_v1_PingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.PingRequest.class, ai.chalk.protos.chalk.engine.v1.PingRequest.Builder.class); } public static final int NUM_FIELD_NUMBER = 1; private int num_ = 0; /** * <code>int32 num = 1 [json_name = "num"];</code> * @return The num. */ @java.lang.Override public int getNum() { return num_; } 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 (num_ != 0) { output.writeInt32(1, num_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (num_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, num_); } 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.v1.PingRequest)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.PingRequest other = (ai.chalk.protos.chalk.engine.v1.PingRequest) obj; if (getNum() != other.getNum()) 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) + NUM_FIELD_NUMBER; hash = (53 * hash) + getNum(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.PingRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PingRequest 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.v1.PingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PingRequest 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.v1.PingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PingRequest 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.v1.PingRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.PingRequest 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.v1.PingRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.PingRequest 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.v1.PingRequest 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.v1.PingRequest 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.v1.PingRequest 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.v1.PingRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.PingRequest) ai.chalk.protos.chalk.engine.v1.PingRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.QueryServerProto.internal_static_chalk_engine_v1_PingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.QueryServerProto.internal_static_chalk_engine_v1_PingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.PingRequest.class, ai.chalk.protos.chalk.engine.v1.PingRequest.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.PingRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; num_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.QueryServerProto.internal_static_chalk_engine_v1_PingRequest_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PingRequest getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.PingRequest.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PingRequest build() { ai.chalk.protos.chalk.engine.v1.PingRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PingRequest buildPartial() { ai.chalk.protos.chalk.engine.v1.PingRequest result = new ai.chalk.protos.chalk.engine.v1.PingRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.PingRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.num_ = num_; } } @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.v1.PingRequest) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.PingRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.PingRequest other) { if (other == ai.chalk.protos.chalk.engine.v1.PingRequest.getDefaultInstance()) return this; if (other.getNum() != 0) { setNum(other.getNum()); } 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: { num_ = input.readInt32(); bitField0_ |= 0x00000001; break; } // case 8 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 num_ ; /** * <code>int32 num = 1 [json_name = "num"];</code> * @return The num. */ @java.lang.Override public int getNum() { return num_; } /** * <code>int32 num = 1 [json_name = "num"];</code> * @param value The num to set. * @return This builder for chaining. */ public Builder setNum(int value) { num_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>int32 num = 1 [json_name = "num"];</code> * @return This builder for chaining. */ public Builder clearNum() { bitField0_ = (bitField0_ & ~0x00000001); num_ = 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.v1.PingRequest) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.PingRequest) private static final ai.chalk.protos.chalk.engine.v1.PingRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.PingRequest(); } public static ai.chalk.protos.chalk.engine.v1.PingRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<PingRequest> PARSER = new com.google.protobuf.AbstractParser<PingRequest>() { @java.lang.Override public PingRequest 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<PingRequest> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<PingRequest> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PingRequest 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/v1/PingRequestOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/query_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface PingRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.PingRequest) com.google.protobuf.MessageOrBuilder { /** * <code>int32 num = 1 [json_name = "num"];</code> * @return The num. */ int getNum(); }
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/v1/PingResponse.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/query_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.PingResponse} */ public final class PingResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.PingResponse) PingResponseOrBuilder { private static final long serialVersionUID = 0L; // Use PingResponse.newBuilder() to construct. private PingResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private PingResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PingResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.QueryServerProto.internal_static_chalk_engine_v1_PingResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.QueryServerProto.internal_static_chalk_engine_v1_PingResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.PingResponse.class, ai.chalk.protos.chalk.engine.v1.PingResponse.Builder.class); } public static final int NUM_FIELD_NUMBER = 1; private int num_ = 0; /** * <code>int32 num = 1 [json_name = "num"];</code> * @return The num. */ @java.lang.Override public int getNum() { return num_; } 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 (num_ != 0) { output.writeInt32(1, num_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (num_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, num_); } 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.v1.PingResponse)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.PingResponse other = (ai.chalk.protos.chalk.engine.v1.PingResponse) obj; if (getNum() != other.getNum()) 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) + NUM_FIELD_NUMBER; hash = (53 * hash) + getNum(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.PingResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PingResponse 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.v1.PingResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PingResponse 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.v1.PingResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PingResponse 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.v1.PingResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.PingResponse 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.v1.PingResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.PingResponse 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.v1.PingResponse 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.v1.PingResponse 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.v1.PingResponse 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.v1.PingResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.PingResponse) ai.chalk.protos.chalk.engine.v1.PingResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.QueryServerProto.internal_static_chalk_engine_v1_PingResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.QueryServerProto.internal_static_chalk_engine_v1_PingResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.PingResponse.class, ai.chalk.protos.chalk.engine.v1.PingResponse.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.PingResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; num_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.QueryServerProto.internal_static_chalk_engine_v1_PingResponse_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PingResponse getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.PingResponse.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PingResponse build() { ai.chalk.protos.chalk.engine.v1.PingResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PingResponse buildPartial() { ai.chalk.protos.chalk.engine.v1.PingResponse result = new ai.chalk.protos.chalk.engine.v1.PingResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.PingResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.num_ = num_; } } @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.v1.PingResponse) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.PingResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.PingResponse other) { if (other == ai.chalk.protos.chalk.engine.v1.PingResponse.getDefaultInstance()) return this; if (other.getNum() != 0) { setNum(other.getNum()); } 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: { num_ = input.readInt32(); bitField0_ |= 0x00000001; break; } // case 8 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 num_ ; /** * <code>int32 num = 1 [json_name = "num"];</code> * @return The num. */ @java.lang.Override public int getNum() { return num_; } /** * <code>int32 num = 1 [json_name = "num"];</code> * @param value The num to set. * @return This builder for chaining. */ public Builder setNum(int value) { num_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>int32 num = 1 [json_name = "num"];</code> * @return This builder for chaining. */ public Builder clearNum() { bitField0_ = (bitField0_ & ~0x00000001); num_ = 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.v1.PingResponse) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.PingResponse) private static final ai.chalk.protos.chalk.engine.v1.PingResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.PingResponse(); } public static ai.chalk.protos.chalk.engine.v1.PingResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<PingResponse> PARSER = new com.google.protobuf.AbstractParser<PingResponse>() { @java.lang.Override public PingResponse 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<PingResponse> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<PingResponse> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PingResponse 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/v1/PingResponseOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/query_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface PingResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.PingResponse) com.google.protobuf.MessageOrBuilder { /** * <code>int32 num = 1 [json_name = "num"];</code> * @return The num. */ int getNum(); }
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/v1/Plan.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.Plan} */ public final class Plan extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.Plan) PlanOrBuilder { private static final long serialVersionUID = 0L; // Use Plan.newBuilder() to construct. private Plan(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private Plan() { nodes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Plan(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Plan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Plan_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.Plan.class, ai.chalk.protos.chalk.engine.v1.Plan.Builder.class); } private int bitField0_; public static final int NODES_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.engine.v1.Node> nodes_; /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v1.Node> getNodesList() { return nodes_; } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.NodeOrBuilder> getNodesOrBuilderList() { return nodes_; } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ @java.lang.Override public int getNodesCount() { return nodes_.size(); } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Node getNodes(int index) { return nodes_.get(index); } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.NodeOrBuilder getNodesOrBuilder( int index) { return nodes_.get(index); } public static final int ROOT_NODE_IDX_FIELD_NUMBER = 2; private int rootNodeIdx_ = 0; /** * <code>uint32 root_node_idx = 2 [json_name = "rootNodeIdx"];</code> * @return The rootNodeIdx. */ @java.lang.Override public int getRootNodeIdx() { return rootNodeIdx_; } public static final int PYARROW_SCHEMA_FIELD_NUMBER = 3; private ai.chalk.protos.chalk.engine.v1.PyArrowSchema pyarrowSchema_; /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> * @return Whether the pyarrowSchema field is set. */ @java.lang.Override public boolean hasPyarrowSchema() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> * @return The pyarrowSchema. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema getPyarrowSchema() { return pyarrowSchema_ == null ? ai.chalk.protos.chalk.engine.v1.PyArrowSchema.getDefaultInstance() : pyarrowSchema_; } /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchemaOrBuilder getPyarrowSchemaOrBuilder() { return pyarrowSchema_ == null ? ai.chalk.protos.chalk.engine.v1.PyArrowSchema.getDefaultInstance() : pyarrowSchema_; } 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 < nodes_.size(); i++) { output.writeMessage(1, nodes_.get(i)); } if (rootNodeIdx_ != 0) { output.writeUInt32(2, rootNodeIdx_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getPyarrowSchema()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < nodes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, nodes_.get(i)); } if (rootNodeIdx_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, rootNodeIdx_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getPyarrowSchema()); } 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.v1.Plan)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.Plan other = (ai.chalk.protos.chalk.engine.v1.Plan) obj; if (!getNodesList() .equals(other.getNodesList())) return false; if (getRootNodeIdx() != other.getRootNodeIdx()) return false; if (hasPyarrowSchema() != other.hasPyarrowSchema()) return false; if (hasPyarrowSchema()) { if (!getPyarrowSchema() .equals(other.getPyarrowSchema())) 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 (getNodesCount() > 0) { hash = (37 * hash) + NODES_FIELD_NUMBER; hash = (53 * hash) + getNodesList().hashCode(); } hash = (37 * hash) + ROOT_NODE_IDX_FIELD_NUMBER; hash = (53 * hash) + getRootNodeIdx(); if (hasPyarrowSchema()) { hash = (37 * hash) + PYARROW_SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getPyarrowSchema().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.Plan parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.Plan 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.v1.Plan parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.Plan 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.v1.Plan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.Plan 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.v1.Plan parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.Plan 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.v1.Plan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.Plan 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.v1.Plan 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.v1.Plan 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.v1.Plan 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.v1.Plan} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.Plan) ai.chalk.protos.chalk.engine.v1.PlanOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Plan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Plan_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.Plan.class, ai.chalk.protos.chalk.engine.v1.Plan.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.Plan.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getNodesFieldBuilder(); getPyarrowSchemaFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (nodesBuilder_ == null) { nodes_ = java.util.Collections.emptyList(); } else { nodes_ = null; nodesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); rootNodeIdx_ = 0; pyarrowSchema_ = null; if (pyarrowSchemaBuilder_ != null) { pyarrowSchemaBuilder_.dispose(); pyarrowSchemaBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Plan_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Plan getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.Plan.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Plan build() { ai.chalk.protos.chalk.engine.v1.Plan result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Plan buildPartial() { ai.chalk.protos.chalk.engine.v1.Plan result = new ai.chalk.protos.chalk.engine.v1.Plan(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.engine.v1.Plan result) { if (nodesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { nodes_ = java.util.Collections.unmodifiableList(nodes_); bitField0_ = (bitField0_ & ~0x00000001); } result.nodes_ = nodes_; } else { result.nodes_ = nodesBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.Plan result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.rootNodeIdx_ = rootNodeIdx_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.pyarrowSchema_ = pyarrowSchemaBuilder_ == null ? pyarrowSchema_ : pyarrowSchemaBuilder_.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.v1.Plan) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.Plan)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.Plan other) { if (other == ai.chalk.protos.chalk.engine.v1.Plan.getDefaultInstance()) return this; if (nodesBuilder_ == null) { if (!other.nodes_.isEmpty()) { if (nodes_.isEmpty()) { nodes_ = other.nodes_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureNodesIsMutable(); nodes_.addAll(other.nodes_); } onChanged(); } } else { if (!other.nodes_.isEmpty()) { if (nodesBuilder_.isEmpty()) { nodesBuilder_.dispose(); nodesBuilder_ = null; nodes_ = other.nodes_; bitField0_ = (bitField0_ & ~0x00000001); nodesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getNodesFieldBuilder() : null; } else { nodesBuilder_.addAllMessages(other.nodes_); } } } if (other.getRootNodeIdx() != 0) { setRootNodeIdx(other.getRootNodeIdx()); } if (other.hasPyarrowSchema()) { mergePyarrowSchema(other.getPyarrowSchema()); } 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.v1.Node m = input.readMessage( ai.chalk.protos.chalk.engine.v1.Node.parser(), extensionRegistry); if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(m); } else { nodesBuilder_.addMessage(m); } break; } // case 10 case 16: { rootNodeIdx_ = input.readUInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { input.readMessage( getPyarrowSchemaFieldBuilder().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 java.util.List<ai.chalk.protos.chalk.engine.v1.Node> nodes_ = java.util.Collections.emptyList(); private void ensureNodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodes_ = new java.util.ArrayList<ai.chalk.protos.chalk.engine.v1.Node>(nodes_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Node, ai.chalk.protos.chalk.engine.v1.Node.Builder, ai.chalk.protos.chalk.engine.v1.NodeOrBuilder> nodesBuilder_; /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.Node> getNodesList() { if (nodesBuilder_ == null) { return java.util.Collections.unmodifiableList(nodes_); } else { return nodesBuilder_.getMessageList(); } } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public int getNodesCount() { if (nodesBuilder_ == null) { return nodes_.size(); } else { return nodesBuilder_.getCount(); } } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public ai.chalk.protos.chalk.engine.v1.Node getNodes(int index) { if (nodesBuilder_ == null) { return nodes_.get(index); } else { return nodesBuilder_.getMessage(index); } } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public Builder setNodes( int index, ai.chalk.protos.chalk.engine.v1.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodesIsMutable(); nodes_.set(index, value); onChanged(); } else { nodesBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public Builder setNodes( int index, ai.chalk.protos.chalk.engine.v1.Node.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.set(index, builderForValue.build()); onChanged(); } else { nodesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public Builder addNodes(ai.chalk.protos.chalk.engine.v1.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodesIsMutable(); nodes_.add(value); onChanged(); } else { nodesBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public Builder addNodes( int index, ai.chalk.protos.chalk.engine.v1.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodesIsMutable(); nodes_.add(index, value); onChanged(); } else { nodesBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public Builder addNodes( ai.chalk.protos.chalk.engine.v1.Node.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(builderForValue.build()); onChanged(); } else { nodesBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public Builder addNodes( int index, ai.chalk.protos.chalk.engine.v1.Node.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(index, builderForValue.build()); onChanged(); } else { nodesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public Builder addAllNodes( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v1.Node> values) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, nodes_); onChanged(); } else { nodesBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public Builder clearNodes() { if (nodesBuilder_ == null) { nodes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { nodesBuilder_.clear(); } return this; } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public Builder removeNodes(int index) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.remove(index); onChanged(); } else { nodesBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public ai.chalk.protos.chalk.engine.v1.Node.Builder getNodesBuilder( int index) { return getNodesFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public ai.chalk.protos.chalk.engine.v1.NodeOrBuilder getNodesOrBuilder( int index) { if (nodesBuilder_ == null) { return nodes_.get(index); } else { return nodesBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.NodeOrBuilder> getNodesOrBuilderList() { if (nodesBuilder_ != null) { return nodesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(nodes_); } } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public ai.chalk.protos.chalk.engine.v1.Node.Builder addNodesBuilder() { return getNodesFieldBuilder().addBuilder( ai.chalk.protos.chalk.engine.v1.Node.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public ai.chalk.protos.chalk.engine.v1.Node.Builder addNodesBuilder( int index) { return getNodesFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.engine.v1.Node.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.Node.Builder> getNodesBuilderList() { return getNodesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Node, ai.chalk.protos.chalk.engine.v1.Node.Builder, ai.chalk.protos.chalk.engine.v1.NodeOrBuilder> getNodesFieldBuilder() { if (nodesBuilder_ == null) { nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Node, ai.chalk.protos.chalk.engine.v1.Node.Builder, ai.chalk.protos.chalk.engine.v1.NodeOrBuilder>( nodes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); nodes_ = null; } return nodesBuilder_; } private int rootNodeIdx_ ; /** * <code>uint32 root_node_idx = 2 [json_name = "rootNodeIdx"];</code> * @return The rootNodeIdx. */ @java.lang.Override public int getRootNodeIdx() { return rootNodeIdx_; } /** * <code>uint32 root_node_idx = 2 [json_name = "rootNodeIdx"];</code> * @param value The rootNodeIdx to set. * @return This builder for chaining. */ public Builder setRootNodeIdx(int value) { rootNodeIdx_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>uint32 root_node_idx = 2 [json_name = "rootNodeIdx"];</code> * @return This builder for chaining. */ public Builder clearRootNodeIdx() { bitField0_ = (bitField0_ & ~0x00000002); rootNodeIdx_ = 0; onChanged(); return this; } private ai.chalk.protos.chalk.engine.v1.PyArrowSchema pyarrowSchema_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.PyArrowSchema, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.Builder, ai.chalk.protos.chalk.engine.v1.PyArrowSchemaOrBuilder> pyarrowSchemaBuilder_; /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> * @return Whether the pyarrowSchema field is set. */ public boolean hasPyarrowSchema() { return ((bitField0_ & 0x00000004) != 0); } /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> * @return The pyarrowSchema. */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchema getPyarrowSchema() { if (pyarrowSchemaBuilder_ == null) { return pyarrowSchema_ == null ? ai.chalk.protos.chalk.engine.v1.PyArrowSchema.getDefaultInstance() : pyarrowSchema_; } else { return pyarrowSchemaBuilder_.getMessage(); } } /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> */ public Builder setPyarrowSchema(ai.chalk.protos.chalk.engine.v1.PyArrowSchema value) { if (pyarrowSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pyarrowSchema_ = value; } else { pyarrowSchemaBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> */ public Builder setPyarrowSchema( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.Builder builderForValue) { if (pyarrowSchemaBuilder_ == null) { pyarrowSchema_ = builderForValue.build(); } else { pyarrowSchemaBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> */ public Builder mergePyarrowSchema(ai.chalk.protos.chalk.engine.v1.PyArrowSchema value) { if (pyarrowSchemaBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && pyarrowSchema_ != null && pyarrowSchema_ != ai.chalk.protos.chalk.engine.v1.PyArrowSchema.getDefaultInstance()) { getPyarrowSchemaBuilder().mergeFrom(value); } else { pyarrowSchema_ = value; } } else { pyarrowSchemaBuilder_.mergeFrom(value); } if (pyarrowSchema_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> */ public Builder clearPyarrowSchema() { bitField0_ = (bitField0_ & ~0x00000004); pyarrowSchema_ = null; if (pyarrowSchemaBuilder_ != null) { pyarrowSchemaBuilder_.dispose(); pyarrowSchemaBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.Builder getPyarrowSchemaBuilder() { bitField0_ |= 0x00000004; onChanged(); return getPyarrowSchemaFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchemaOrBuilder getPyarrowSchemaOrBuilder() { if (pyarrowSchemaBuilder_ != null) { return pyarrowSchemaBuilder_.getMessageOrBuilder(); } else { return pyarrowSchema_ == null ? ai.chalk.protos.chalk.engine.v1.PyArrowSchema.getDefaultInstance() : pyarrowSchema_; } } /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.PyArrowSchema, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.Builder, ai.chalk.protos.chalk.engine.v1.PyArrowSchemaOrBuilder> getPyarrowSchemaFieldBuilder() { if (pyarrowSchemaBuilder_ == null) { pyarrowSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.PyArrowSchema, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.Builder, ai.chalk.protos.chalk.engine.v1.PyArrowSchemaOrBuilder>( getPyarrowSchema(), getParentForChildren(), isClean()); pyarrowSchema_ = null; } return pyarrowSchemaBuilder_; } @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.v1.Plan) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.Plan) private static final ai.chalk.protos.chalk.engine.v1.Plan DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.Plan(); } public static ai.chalk.protos.chalk.engine.v1.Plan getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<Plan> PARSER = new com.google.protobuf.AbstractParser<Plan>() { @java.lang.Override public Plan 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<Plan> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<Plan> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Plan 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/v1/PlanOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface PlanOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.Plan) com.google.protobuf.MessageOrBuilder { /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ java.util.List<ai.chalk.protos.chalk.engine.v1.Node> getNodesList(); /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ ai.chalk.protos.chalk.engine.v1.Node getNodes(int index); /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ int getNodesCount(); /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.engine.v1.NodeOrBuilder> getNodesOrBuilderList(); /** * <code>repeated .chalk.engine.v1.Node nodes = 1 [json_name = "nodes"];</code> */ ai.chalk.protos.chalk.engine.v1.NodeOrBuilder getNodesOrBuilder( int index); /** * <code>uint32 root_node_idx = 2 [json_name = "rootNodeIdx"];</code> * @return The rootNodeIdx. */ int getRootNodeIdx(); /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> * @return Whether the pyarrowSchema field is set. */ boolean hasPyarrowSchema(); /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> * @return The pyarrowSchema. */ ai.chalk.protos.chalk.engine.v1.PyArrowSchema getPyarrowSchema(); /** * <code>.chalk.engine.v1.PyArrowSchema pyarrow_schema = 3 [json_name = "pyarrowSchema"];</code> */ ai.chalk.protos.chalk.engine.v1.PyArrowSchemaOrBuilder getPyarrowSchemaOrBuilder(); }
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/v1/PlanProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public final class PlanProto { private PlanProto() {} 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_v1_RawColumnKey_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_RawColumnKey_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_FeatureColumnKey_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_FeatureColumnKey_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_HasManyFeatureKey_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_HasManyFeatureKey_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_DataFrameFeatureKey_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_DataFrameFeatureKey_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_DataFrame_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_DataFrame_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_ColumnKey_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_ColumnKey_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_TableKey_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_TableKey_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_Key_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_Key_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_PyArrowSchema_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_PyArrowSchema_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_SchemaEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_SchemaEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_PyArrowSchema_ColumnSchema_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_PyArrowSchema_ColumnSchema_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_Plan_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_Plan_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_Node_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_Node_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_NodeImpl_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_NodeImpl_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_UnknownNode_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_UnknownNode_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_GivensScan_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_GivensScan_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_ChalkProject_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_ChalkProject_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_Project_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_Project_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_DefaultInjector_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_DefaultInjector_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\032chalk/engine/v1/plan.proto\022\017chalk.engi" + "ne.v1\032\032chalk/arrow/v1/arrow.proto\"\"\n\014Raw" + "ColumnKey\022\022\n\004name\030\001 \001(\tR\004name\"-\n\020Feature" + "ColumnKey\022\031\n\010root_fqn\030\001 \001(\tR\007rootFqn\"Z\n\021" + "HasManyFeatureKey\022\031\n\010root_fqn\030\001 \001(\tR\007roo" + "tFqn\022*\n\002df\030\002 \001(\0132\032.chalk.engine.v1.DataF" + "rameR\002df\"h\n\023DataFrameFeatureKey\022%\n\016root_" + "namespace\030\001 \001(\tR\rrootNamespace\022*\n\002df\030\002 \001" + "(\0132\032.chalk.engine.v1.DataFrameR\002df\"\314\001\n\tD" + "ataFrame\022L\n\020optional_columns\030\001 \003(\0132!.cha" + "lk.engine.v1.FeatureColumnKeyR\017optionalC" + "olumns\022L\n\020required_columns\030\002 \003(\0132!.chalk" + ".engine.v1.FeatureColumnKeyR\017requiredCol" + "umns\022\031\n\005limit\030\003 \001(\004H\000R\005limit\210\001\001B\010\n\006_limi" + "t\"\204\001\n\tColumnKey\022=\n\007feature\030\001 \001(\0132!.chalk" + ".engine.v1.FeatureColumnKeyH\000R\007feature\0221" + "\n\003raw\030\002 \001(\0132\035.chalk.engine.v1.RawColumnK" + "eyH\000R\003rawB\005\n\003key\"\231\001\n\010TableKey\022?\n\010has_man" + "y\030\001 \001(\0132\".chalk.engine.v1.HasManyFeature" + "KeyH\000R\007hasMany\022E\n\ndata_frame\030\002 \001(\0132$.cha" + "lk.engine.v1.DataFrameFeatureKeyH\000R\tdata" + "FrameB\005\n\003key\"\221\002\n\003Key\022>\n\nraw_column\030\001 \001(\013" + "2\035.chalk.engine.v1.RawColumnKeyH\000R\trawCo" + "lumn\022;\n\006scalar\030\002 \001(\0132!.chalk.engine.v1.F" + "eatureColumnKeyH\000R\006scalar\022?\n\010has_many\030\003 " + "\001(\0132\".chalk.engine.v1.HasManyFeatureKeyH" + "\000R\007hasMany\022D\n\tdataframe\030\004 \001(\0132$.chalk.en" + "gine.v1.DataFrameFeatureKeyH\000R\tdataframe" + "B\006\n\004impl\"\356\003\n\rPyArrowSchema\022E\n\007scalars\030\001 " + "\003(\0132+.chalk.engine.v1.PyArrowSchema.Colu" + "mnSchemaR\007scalars\022B\n\006groups\030\002 \003(\0132*.chal" + "k.engine.v1.PyArrowSchema.TableSchemaR\006g" + "roups\032\340\001\n\013TableSchema\022+\n\003key\030\001 \001(\0132\031.cha" + "lk.engine.v1.TableKeyR\003key\022N\n\006schema\030\002 \003" + "(\01326.chalk.engine.v1.PyArrowSchema.Table" + "Schema.SchemaEntryR\006schema\032T\n\013SchemaEntr" + "y\022\020\n\003key\030\001 \001(\tR\003key\022/\n\005value\030\002 \001(\0132\031.cha" + "lk.arrow.v1.ArrowTypeR\005value:\0028\001\032o\n\014Colu" + "mnSchema\022,\n\003key\030\001 \001(\0132\032.chalk.engine.v1." + "ColumnKeyR\003key\0221\n\006schema\030\002 \001(\0132\031.chalk.a" + "rrow.v1.ArrowTypeR\006schema\"\236\001\n\004Plan\022+\n\005no" + "des\030\001 \003(\0132\025.chalk.engine.v1.NodeR\005nodes\022" + "\"\n\rroot_node_idx\030\002 \001(\rR\013rootNodeIdx\022E\n\016p" + "yarrow_schema\030\003 \001(\0132\036.chalk.engine.v1.Py" + "ArrowSchemaR\rpyarrowSchema\"`\n\004Node\022)\n\020ch" + "ildren_indices\030\001 \003(\rR\017childrenIndices\022-\n" + "\004impl\030\002 \001(\0132\031.chalk.engine.v1.NodeImplR\004" + "impl\"\327\002\n\010NodeImpl\0228\n\007unknown\030\001 \001(\0132\034.cha" + "lk.engine.v1.UnknownNodeH\000R\007unknown\022>\n\013g" + "ivens_scan\030\002 \001(\0132\033.chalk.engine.v1.Given" + "sScanH\000R\ngivensScan\0224\n\007project\030\003 \001(\0132\030.c" + "halk.engine.v1.ProjectH\000R\007project\022D\n\rcha" + "lk_project\030\004 \001(\0132\035.chalk.engine.v1.Chalk" + "ProjectH\000R\014chalkProject\022M\n\020default_injec" + "tor\030\005 \001(\0132 .chalk.engine.v1.DefaultInjec" + "torH\000R\017defaultInjectorB\006\n\004impl\"*\n\013Unknow" + "nNode\022\033\n\ttype_name\030\001 \001(\tR\010typeName\":\n\nGi" + "vensScan\022,\n\006fields\030\001 \003(\0132\024.chalk.engine." + "v1.KeyR\006fields\"x\n\014ChalkProject\022,\n\006fields" + "\030\001 \003(\0132\024.chalk.engine.v1.KeyR\006fields\022:\n\032" + "promote_ts_to_feature_time\030\002 \001(\010R\026promot" + "eTsToFeatureTime\"7\n\007Project\022,\n\006fields\030\001 " + "\003(\0132\024.chalk.engine.v1.KeyR\006fields\"X\n\017Def" + "aultInjector\022E\n\023defaulting_features\030\001 \003(" + "\0132\024.chalk.engine.v1.KeyR\022defaultingFeatu" + "resB\212\001\n\037ai.chalk.protos.chalk.engine.v1B" + "\tPlanProtoP\001\242\002\003CEX\252\002\017Chalk.Engine.V1\312\002\017C" + "halk\\Engine\\V1\342\002\033Chalk\\Engine\\V1\\GPBMeta" + "data\352\002\021Chalk::Engine::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_engine_v1_RawColumnKey_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_engine_v1_RawColumnKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_RawColumnKey_descriptor, new java.lang.String[] { "Name", }); internal_static_chalk_engine_v1_FeatureColumnKey_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_chalk_engine_v1_FeatureColumnKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_FeatureColumnKey_descriptor, new java.lang.String[] { "RootFqn", }); internal_static_chalk_engine_v1_HasManyFeatureKey_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_chalk_engine_v1_HasManyFeatureKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_HasManyFeatureKey_descriptor, new java.lang.String[] { "RootFqn", "Df", }); internal_static_chalk_engine_v1_DataFrameFeatureKey_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_chalk_engine_v1_DataFrameFeatureKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_DataFrameFeatureKey_descriptor, new java.lang.String[] { "RootNamespace", "Df", }); internal_static_chalk_engine_v1_DataFrame_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_chalk_engine_v1_DataFrame_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_DataFrame_descriptor, new java.lang.String[] { "OptionalColumns", "RequiredColumns", "Limit", }); internal_static_chalk_engine_v1_ColumnKey_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_chalk_engine_v1_ColumnKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_ColumnKey_descriptor, new java.lang.String[] { "Feature", "Raw", "Key", }); internal_static_chalk_engine_v1_TableKey_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_chalk_engine_v1_TableKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_TableKey_descriptor, new java.lang.String[] { "HasMany", "DataFrame", "Key", }); internal_static_chalk_engine_v1_Key_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_chalk_engine_v1_Key_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_Key_descriptor, new java.lang.String[] { "RawColumn", "Scalar", "HasMany", "Dataframe", "Impl", }); internal_static_chalk_engine_v1_PyArrowSchema_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_chalk_engine_v1_PyArrowSchema_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_PyArrowSchema_descriptor, new java.lang.String[] { "Scalars", "Groups", }); internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_descriptor = internal_static_chalk_engine_v1_PyArrowSchema_descriptor.getNestedTypes().get(0); internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_descriptor, new java.lang.String[] { "Key", "Schema", }); internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_SchemaEntry_descriptor = internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_descriptor.getNestedTypes().get(0); internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_SchemaEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_SchemaEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_chalk_engine_v1_PyArrowSchema_ColumnSchema_descriptor = internal_static_chalk_engine_v1_PyArrowSchema_descriptor.getNestedTypes().get(1); internal_static_chalk_engine_v1_PyArrowSchema_ColumnSchema_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_PyArrowSchema_ColumnSchema_descriptor, new java.lang.String[] { "Key", "Schema", }); internal_static_chalk_engine_v1_Plan_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_chalk_engine_v1_Plan_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_Plan_descriptor, new java.lang.String[] { "Nodes", "RootNodeIdx", "PyarrowSchema", }); internal_static_chalk_engine_v1_Node_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_chalk_engine_v1_Node_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_Node_descriptor, new java.lang.String[] { "ChildrenIndices", "Impl", }); internal_static_chalk_engine_v1_NodeImpl_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_chalk_engine_v1_NodeImpl_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_NodeImpl_descriptor, new java.lang.String[] { "Unknown", "GivensScan", "Project", "ChalkProject", "DefaultInjector", "Impl", }); internal_static_chalk_engine_v1_UnknownNode_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_chalk_engine_v1_UnknownNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_UnknownNode_descriptor, new java.lang.String[] { "TypeName", }); internal_static_chalk_engine_v1_GivensScan_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_chalk_engine_v1_GivensScan_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_GivensScan_descriptor, new java.lang.String[] { "Fields", }); internal_static_chalk_engine_v1_ChalkProject_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_chalk_engine_v1_ChalkProject_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_ChalkProject_descriptor, new java.lang.String[] { "Fields", "PromoteTsToFeatureTime", }); internal_static_chalk_engine_v1_Project_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_chalk_engine_v1_Project_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_Project_descriptor, new java.lang.String[] { "Fields", }); internal_static_chalk_engine_v1_DefaultInjector_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_chalk_engine_v1_DefaultInjector_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_DefaultInjector_descriptor, new java.lang.String[] { "DefaultingFeatures", }); 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/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v1/PlanServerProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public final class PlanServerProto { private PlanServerProto() {} 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_v1_GetPlanRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_GetPlanRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_GetPlanResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_GetPlanResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_ExecuteQueryRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_ExecuteQueryRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_ExecuteQueryResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_ExecuteQueryResponse_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/v1/plan_server.proto\022\017cha" + "lk.engine.v1\032\"chalk/common/v1/online_que" + "ry.proto\032\032chalk/engine/v1/plan.proto\"g\n\016" + "GetPlanRequest\022U\n\024online_query_request\030\001" + " \001(\0132#.chalk.common.v1.OnlineQueryReques" + "tR\022onlineQueryRequest\"<\n\017GetPlanResponse" + "\022)\n\004plan\030\001 \001(\0132\025.chalk.engine.v1.PlanR\004p" + "lan\"l\n\023ExecuteQueryRequest\022U\n\024online_que" + "ry_request\030\001 \001(\0132#.chalk.common.v1.Onlin" + "eQueryRequestR\022onlineQueryRequest\"p\n\024Exe" + "cuteQueryResponse\022X\n\025online_query_respon" + "se\030\001 \001(\0132$.chalk.common.v1.OnlineQueryRe" + "sponseR\023onlineQueryResponse2\274\001\n\013PlanServ" + "ice\022N\n\007GetPlan\022\037.chalk.engine.v1.GetPlan" + "Request\032 .chalk.engine.v1.GetPlanRespons" + "e\"\000\022]\n\014ExecuteQuery\022$.chalk.engine.v1.Ex" + "ecuteQueryRequest\032%.chalk.engine.v1.Exec" + "uteQueryResponse\"\000B\220\001\n\037ai.chalk.protos.c" + "halk.engine.v1B\017PlanServerProtoP\001\242\002\003CEX\252" + "\002\017Chalk.Engine.V1\312\002\017Chalk\\Engine\\V1\342\002\033Ch" + "alk\\Engine\\V1\\GPBMetadata\352\002\021Chalk::Engin" + "e::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { ai.chalk.protos.chalk.common.v1.OnlineQueryProto.getDescriptor(), ai.chalk.protos.chalk.engine.v1.PlanProto.getDescriptor(), }); internal_static_chalk_engine_v1_GetPlanRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_engine_v1_GetPlanRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_GetPlanRequest_descriptor, new java.lang.String[] { "OnlineQueryRequest", }); internal_static_chalk_engine_v1_GetPlanResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_chalk_engine_v1_GetPlanResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_GetPlanResponse_descriptor, new java.lang.String[] { "Plan", }); internal_static_chalk_engine_v1_ExecuteQueryRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_chalk_engine_v1_ExecuteQueryRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_ExecuteQueryRequest_descriptor, new java.lang.String[] { "OnlineQueryRequest", }); internal_static_chalk_engine_v1_ExecuteQueryResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_chalk_engine_v1_ExecuteQueryResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_ExecuteQueryResponse_descriptor, new java.lang.String[] { "OnlineQueryResponse", }); ai.chalk.protos.chalk.common.v1.OnlineQueryProto.getDescriptor(); ai.chalk.protos.chalk.engine.v1.PlanProto.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/v1/PlanServiceGrpc.java
package ai.chalk.protos.chalk.engine.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** */ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.64.0)", comments = "Source: chalk/engine/v1/plan_server.proto") @io.grpc.stub.annotations.GrpcGenerated public final class PlanServiceGrpc { private PlanServiceGrpc() {} public static final java.lang.String SERVICE_NAME = "chalk.engine.v1.PlanService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v1.GetPlanRequest, ai.chalk.protos.chalk.engine.v1.GetPlanResponse> getGetPlanMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetPlan", requestType = ai.chalk.protos.chalk.engine.v1.GetPlanRequest.class, responseType = ai.chalk.protos.chalk.engine.v1.GetPlanResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v1.GetPlanRequest, ai.chalk.protos.chalk.engine.v1.GetPlanResponse> getGetPlanMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v1.GetPlanRequest, ai.chalk.protos.chalk.engine.v1.GetPlanResponse> getGetPlanMethod; if ((getGetPlanMethod = PlanServiceGrpc.getGetPlanMethod) == null) { synchronized (PlanServiceGrpc.class) { if ((getGetPlanMethod = PlanServiceGrpc.getGetPlanMethod) == null) { PlanServiceGrpc.getGetPlanMethod = getGetPlanMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.engine.v1.GetPlanRequest, ai.chalk.protos.chalk.engine.v1.GetPlanResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPlan")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v1.GetPlanRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v1.GetPlanResponse.getDefaultInstance())) .setSchemaDescriptor(new PlanServiceMethodDescriptorSupplier("GetPlan")) .build(); } } } return getGetPlanMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest, ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse> getExecuteQueryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ExecuteQuery", requestType = ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest.class, responseType = ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest, ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse> getExecuteQueryMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest, ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse> getExecuteQueryMethod; if ((getExecuteQueryMethod = PlanServiceGrpc.getExecuteQueryMethod) == null) { synchronized (PlanServiceGrpc.class) { if ((getExecuteQueryMethod = PlanServiceGrpc.getExecuteQueryMethod) == null) { PlanServiceGrpc.getExecuteQueryMethod = getExecuteQueryMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest, ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteQuery")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse.getDefaultInstance())) .setSchemaDescriptor(new PlanServiceMethodDescriptorSupplier("ExecuteQuery")) .build(); } } } return getExecuteQueryMethod; } /** * Creates a new async stub that supports all call types for the service */ public static PlanServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory<PlanServiceStub> factory = new io.grpc.stub.AbstractStub.StubFactory<PlanServiceStub>() { @java.lang.Override public PlanServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new PlanServiceStub(channel, callOptions); } }; return PlanServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static PlanServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory<PlanServiceBlockingStub> factory = new io.grpc.stub.AbstractStub.StubFactory<PlanServiceBlockingStub>() { @java.lang.Override public PlanServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new PlanServiceBlockingStub(channel, callOptions); } }; return PlanServiceBlockingStub.newStub(factory, channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static PlanServiceFutureStub newFutureStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory<PlanServiceFutureStub> factory = new io.grpc.stub.AbstractStub.StubFactory<PlanServiceFutureStub>() { @java.lang.Override public PlanServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new PlanServiceFutureStub(channel, callOptions); } }; return PlanServiceFutureStub.newStub(factory, channel); } /** */ public interface AsyncService { /** */ default void getPlan(ai.chalk.protos.chalk.engine.v1.GetPlanRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v1.GetPlanResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPlanMethod(), responseObserver); } /** * <pre> * Fall-back for executing queries on the python engine * </pre> */ default void executeQuery(ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteQueryMethod(), responseObserver); } } /** * Base class for the server implementation of the service PlanService. */ public static abstract class PlanServiceImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return PlanServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service PlanService. */ public static final class PlanServiceStub extends io.grpc.stub.AbstractAsyncStub<PlanServiceStub> { private PlanServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected PlanServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new PlanServiceStub(channel, callOptions); } /** */ public void getPlan(ai.chalk.protos.chalk.engine.v1.GetPlanRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v1.GetPlanResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetPlanMethod(), getCallOptions()), request, responseObserver); } /** * <pre> * Fall-back for executing queries on the python engine * </pre> */ public void executeQuery(ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getExecuteQueryMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service PlanService. */ public static final class PlanServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<PlanServiceBlockingStub> { private PlanServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected PlanServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new PlanServiceBlockingStub(channel, callOptions); } /** */ public ai.chalk.protos.chalk.engine.v1.GetPlanResponse getPlan(ai.chalk.protos.chalk.engine.v1.GetPlanRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetPlanMethod(), getCallOptions(), request); } /** * <pre> * Fall-back for executing queries on the python engine * </pre> */ public ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse executeQuery(ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExecuteQueryMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service PlanService. */ public static final class PlanServiceFutureStub extends io.grpc.stub.AbstractFutureStub<PlanServiceFutureStub> { private PlanServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected PlanServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new PlanServiceFutureStub(channel, callOptions); } /** */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.engine.v1.GetPlanResponse> getPlan( ai.chalk.protos.chalk.engine.v1.GetPlanRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetPlanMethod(), getCallOptions()), request); } /** * <pre> * Fall-back for executing queries on the python engine * </pre> */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse> executeQuery( ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExecuteQueryMethod(), getCallOptions()), request); } } private static final int METHODID_GET_PLAN = 0; private static final int METHODID_EXECUTE_QUERY = 1; 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_PLAN: serviceImpl.getPlan((ai.chalk.protos.chalk.engine.v1.GetPlanRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v1.GetPlanResponse>) responseObserver); break; case METHODID_EXECUTE_QUERY: serviceImpl.executeQuery((ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse>) 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( getGetPlanMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.engine.v1.GetPlanRequest, ai.chalk.protos.chalk.engine.v1.GetPlanResponse>( service, METHODID_GET_PLAN))) .addMethod( getExecuteQueryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.engine.v1.ExecuteQueryRequest, ai.chalk.protos.chalk.engine.v1.ExecuteQueryResponse>( service, METHODID_EXECUTE_QUERY))) .build(); } private static abstract class PlanServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { PlanServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanServerProto.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("PlanService"); } } private static final class PlanServiceFileDescriptorSupplier extends PlanServiceBaseDescriptorSupplier { PlanServiceFileDescriptorSupplier() {} } private static final class PlanServiceMethodDescriptorSupplier extends PlanServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final java.lang.String methodName; PlanServiceMethodDescriptorSupplier(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 (PlanServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new PlanServiceFileDescriptorSupplier()) .addMethod(getGetPlanMethod()) .addMethod(getExecuteQueryMethod()) .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/v1/Project.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.Project} */ public final class Project extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.Project) ProjectOrBuilder { private static final long serialVersionUID = 0L; // Use Project.newBuilder() to construct. private Project(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private Project() { fields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Project(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Project_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Project_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.Project.class, ai.chalk.protos.chalk.engine.v1.Project.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.engine.v1.Key> fields_; /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v1.Key> getFieldsList() { return fields_; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getFieldsOrBuilderList() { return fields_; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Key getFields(int index) { return fields_.get(index); } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.KeyOrBuilder getFieldsOrBuilder( int index) { return fields_.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 < fields_.size(); i++) { output.writeMessage(1, fields_.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 < fields_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, fields_.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.engine.v1.Project)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.Project other = (ai.chalk.protos.chalk.engine.v1.Project) obj; if (!getFieldsList() .equals(other.getFieldsList())) 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 (getFieldsCount() > 0) { hash = (37 * hash) + FIELDS_FIELD_NUMBER; hash = (53 * hash) + getFieldsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.Project parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.Project 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.v1.Project parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.Project 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.v1.Project parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.Project 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.v1.Project parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.Project 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.v1.Project parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.Project 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.v1.Project 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.v1.Project 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.v1.Project 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.v1.Project} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.Project) ai.chalk.protos.chalk.engine.v1.ProjectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Project_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Project_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.Project.class, ai.chalk.protos.chalk.engine.v1.Project.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.Project.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (fieldsBuilder_ == null) { fields_ = java.util.Collections.emptyList(); } else { fields_ = null; fieldsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_Project_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Project getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.Project.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Project build() { ai.chalk.protos.chalk.engine.v1.Project result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Project buildPartial() { ai.chalk.protos.chalk.engine.v1.Project result = new ai.chalk.protos.chalk.engine.v1.Project(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.engine.v1.Project result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); bitField0_ = (bitField0_ & ~0x00000001); } result.fields_ = fields_; } else { result.fields_ = fieldsBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.Project 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.engine.v1.Project) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.Project)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.Project other) { if (other == ai.chalk.protos.chalk.engine.v1.Project.getDefaultInstance()) return this; if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFieldsIsMutable(); fields_.addAll(other.fields_); } onChanged(); } } else { if (!other.fields_.isEmpty()) { if (fieldsBuilder_.isEmpty()) { fieldsBuilder_.dispose(); fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); fieldsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } } } 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.v1.Key m = input.readMessage( ai.chalk.protos.chalk.engine.v1.Key.parser(), extensionRegistry); if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(m); } else { fieldsBuilder_.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.engine.v1.Key> fields_ = java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new java.util.ArrayList<ai.chalk.protos.chalk.engine.v1.Key>(fields_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Key, ai.chalk.protos.chalk.engine.v1.Key.Builder, ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> fieldsBuilder_; /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.Key> getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { return fieldsBuilder_.getMessageList(); } } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public int getFieldsCount() { if (fieldsBuilder_ == null) { return fields_.size(); } else { return fieldsBuilder_.getCount(); } } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key getFields(int index) { if (fieldsBuilder_ == null) { return fields_.get(index); } else { return fieldsBuilder_.getMessage(index); } } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder setFields( int index, ai.chalk.protos.chalk.engine.v1.Key value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsIsMutable(); fields_.set(index, value); onChanged(); } else { fieldsBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder setFields( int index, ai.chalk.protos.chalk.engine.v1.Key.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); onChanged(); } else { fieldsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addFields(ai.chalk.protos.chalk.engine.v1.Key value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsIsMutable(); fields_.add(value); onChanged(); } else { fieldsBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addFields( int index, ai.chalk.protos.chalk.engine.v1.Key value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsIsMutable(); fields_.add(index, value); onChanged(); } else { fieldsBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addFields( ai.chalk.protos.chalk.engine.v1.Key.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(builderForValue.build()); onChanged(); } else { fieldsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addFields( int index, ai.chalk.protos.chalk.engine.v1.Key.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); onChanged(); } else { fieldsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder addAllFields( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v1.Key> values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder clearFields() { if (fieldsBuilder_ == null) { fields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { fieldsBuilder_.clear(); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.remove(index); onChanged(); } else { fieldsBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key.Builder getFieldsBuilder( int index) { return getFieldsFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.KeyOrBuilder getFieldsOrBuilder( int index) { if (fieldsBuilder_ == null) { return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fields_); } } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key.Builder addFieldsBuilder() { return getFieldsFieldBuilder().addBuilder( ai.chalk.protos.chalk.engine.v1.Key.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public ai.chalk.protos.chalk.engine.v1.Key.Builder addFieldsBuilder( int index) { return getFieldsFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.engine.v1.Key.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.Key.Builder> getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Key, ai.chalk.protos.chalk.engine.v1.Key.Builder, ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.Key, ai.chalk.protos.chalk.engine.v1.Key.Builder, ai.chalk.protos.chalk.engine.v1.KeyOrBuilder>( fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; } @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.v1.Project) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.Project) private static final ai.chalk.protos.chalk.engine.v1.Project DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.Project(); } public static ai.chalk.protos.chalk.engine.v1.Project getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<Project> PARSER = new com.google.protobuf.AbstractParser<Project>() { @java.lang.Override public Project 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<Project> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<Project> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.Project 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/v1/ProjectOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface ProjectOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.Project) com.google.protobuf.MessageOrBuilder { /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ java.util.List<ai.chalk.protos.chalk.engine.v1.Key> getFieldsList(); /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ ai.chalk.protos.chalk.engine.v1.Key getFields(int index); /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ int getFieldsCount(); /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.engine.v1.KeyOrBuilder> getFieldsOrBuilderList(); /** * <code>repeated .chalk.engine.v1.Key fields = 1 [json_name = "fields"];</code> */ ai.chalk.protos.chalk.engine.v1.KeyOrBuilder getFieldsOrBuilder( 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/v1/PyArrowSchema.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.PyArrowSchema} */ public final class PyArrowSchema extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.PyArrowSchema) PyArrowSchemaOrBuilder { private static final long serialVersionUID = 0L; // Use PyArrowSchema.newBuilder() to construct. private PyArrowSchema(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private PyArrowSchema() { scalars_ = java.util.Collections.emptyList(); groups_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PyArrowSchema(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.class, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.Builder.class); } public interface TableSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.PyArrowSchema.TableSchema) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.engine.v1.TableKey key = 1 [json_name = "key"];</code> * @return Whether the key field is set. */ boolean hasKey(); /** * <code>.chalk.engine.v1.TableKey key = 1 [json_name = "key"];</code> * @return The key. */ ai.chalk.protos.chalk.engine.v1.TableKey getKey(); /** * <code>.chalk.engine.v1.TableKey key = 1 [json_name = "key"];</code> */ ai.chalk.protos.chalk.engine.v1.TableKeyOrBuilder getKeyOrBuilder(); /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ int getSchemaCount(); /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ boolean containsSchema( java.lang.String key); /** * Use {@link #getSchemaMap()} instead. */ @java.lang.Deprecated java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> getSchema(); /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> getSchemaMap(); /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ /* nullable */ ai.chalk.protos.chalk.arrow.v1.ArrowType getSchemaOrDefault( java.lang.String key, /* nullable */ ai.chalk.protos.chalk.arrow.v1.ArrowType defaultValue); /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ ai.chalk.protos.chalk.arrow.v1.ArrowType getSchemaOrThrow( java.lang.String key); } /** * Protobuf type {@code chalk.engine.v1.PyArrowSchema.TableSchema} */ public static final class TableSchema extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.PyArrowSchema.TableSchema) TableSchemaOrBuilder { private static final long serialVersionUID = 0L; // Use TableSchema.newBuilder() to construct. private TableSchema(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private TableSchema() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableSchema(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 2: return internalGetSchema(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.class, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.Builder.class); } private int bitField0_; public static final int KEY_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.engine.v1.TableKey key_; /** * <code>.chalk.engine.v1.TableKey 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.engine.v1.TableKey key = 1 [json_name = "key"];</code> * @return The key. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.TableKey getKey() { return key_ == null ? ai.chalk.protos.chalk.engine.v1.TableKey.getDefaultInstance() : key_; } /** * <code>.chalk.engine.v1.TableKey key = 1 [json_name = "key"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.TableKeyOrBuilder getKeyOrBuilder() { return key_ == null ? ai.chalk.protos.chalk.engine.v1.TableKey.getDefaultInstance() : key_; } public static final int SCHEMA_FIELD_NUMBER = 2; private static final class SchemaDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> defaultEntry = com.google.protobuf.MapEntry .<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType>newDefaultInstance( ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_SchemaEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance()); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> schema_; private com.google.protobuf.MapField<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> internalGetSchema() { if (schema_ == null) { return com.google.protobuf.MapField.emptyMapField( SchemaDefaultEntryHolder.defaultEntry); } return schema_; } public int getSchemaCount() { return internalGetSchema().getMap().size(); } /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ @java.lang.Override public boolean containsSchema( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetSchema().getMap().containsKey(key); } /** * Use {@link #getSchemaMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> getSchema() { return getSchemaMap(); } /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ @java.lang.Override public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> getSchemaMap() { return internalGetSchema().getMap(); } /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ @java.lang.Override public /* nullable */ ai.chalk.protos.chalk.arrow.v1.ArrowType getSchemaOrDefault( java.lang.String key, /* nullable */ ai.chalk.protos.chalk.arrow.v1.ArrowType defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> map = internalGetSchema().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.arrow.v1.ArrowType getSchemaOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> map = internalGetSchema().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, getKey()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetSchema(), SchemaDefaultEntryHolder.defaultEntry, 2); 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()); } for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> entry : internalGetSchema().getMap().entrySet()) { com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> schema__ = SchemaDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, schema__); } 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.v1.PyArrowSchema.TableSchema)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema other = (ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema) obj; if (hasKey() != other.hasKey()) return false; if (hasKey()) { if (!getKey() .equals(other.getKey())) return false; } if (!internalGetSchema().equals( other.internalGetSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } if (!internalGetSchema().getMap().isEmpty()) { hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + internalGetSchema().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema 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.v1.PyArrowSchema.TableSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema 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.v1.PyArrowSchema.TableSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema 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.v1.PyArrowSchema.TableSchema parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema 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.v1.PyArrowSchema.TableSchema parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema 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.v1.PyArrowSchema.TableSchema 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.v1.PyArrowSchema.TableSchema 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.v1.PyArrowSchema.TableSchema 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.v1.PyArrowSchema.TableSchema} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.PyArrowSchema.TableSchema) ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchemaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 2: return internalGetSchema(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { switch (number) { case 2: return internalGetMutableSchema(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.class, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.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; } internalGetMutableSchema().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_TableSchema_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema build() { ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema buildPartial() { ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema result = new ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.key_ = keyBuilder_ == null ? key_ : keyBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.schema_ = internalGetSchema().build(SchemaDefaultEntryHolder.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.engine.v1.PyArrowSchema.TableSchema) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema other) { if (other == ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } internalGetMutableSchema().mergeFrom( other.internalGetSchema()); bitField0_ |= 0x00000002; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getKeyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> schema__ = input.readMessage( SchemaDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableSchema().ensureBuilderMap().put( schema__.getKey(), schema__.getValue()); 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.engine.v1.TableKey key_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.TableKey, ai.chalk.protos.chalk.engine.v1.TableKey.Builder, ai.chalk.protos.chalk.engine.v1.TableKeyOrBuilder> keyBuilder_; /** * <code>.chalk.engine.v1.TableKey key = 1 [json_name = "key"];</code> * @return Whether the key field is set. */ public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.engine.v1.TableKey key = 1 [json_name = "key"];</code> * @return The key. */ public ai.chalk.protos.chalk.engine.v1.TableKey getKey() { if (keyBuilder_ == null) { return key_ == null ? ai.chalk.protos.chalk.engine.v1.TableKey.getDefaultInstance() : key_; } else { return keyBuilder_.getMessage(); } } /** * <code>.chalk.engine.v1.TableKey key = 1 [json_name = "key"];</code> */ public Builder setKey(ai.chalk.protos.chalk.engine.v1.TableKey value) { if (keyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } key_ = value; } else { keyBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.engine.v1.TableKey key = 1 [json_name = "key"];</code> */ public Builder setKey( ai.chalk.protos.chalk.engine.v1.TableKey.Builder builderForValue) { if (keyBuilder_ == null) { key_ = builderForValue.build(); } else { keyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.engine.v1.TableKey key = 1 [json_name = "key"];</code> */ public Builder mergeKey(ai.chalk.protos.chalk.engine.v1.TableKey value) { if (keyBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && key_ != null && key_ != ai.chalk.protos.chalk.engine.v1.TableKey.getDefaultInstance()) { getKeyBuilder().mergeFrom(value); } else { key_ = value; } } else { keyBuilder_.mergeFrom(value); } if (key_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.engine.v1.TableKey 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.engine.v1.TableKey key = 1 [json_name = "key"];</code> */ public ai.chalk.protos.chalk.engine.v1.TableKey.Builder getKeyBuilder() { bitField0_ |= 0x00000001; onChanged(); return getKeyFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.TableKey key = 1 [json_name = "key"];</code> */ public ai.chalk.protos.chalk.engine.v1.TableKeyOrBuilder getKeyOrBuilder() { if (keyBuilder_ != null) { return keyBuilder_.getMessageOrBuilder(); } else { return key_ == null ? ai.chalk.protos.chalk.engine.v1.TableKey.getDefaultInstance() : key_; } } /** * <code>.chalk.engine.v1.TableKey key = 1 [json_name = "key"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.TableKey, ai.chalk.protos.chalk.engine.v1.TableKey.Builder, ai.chalk.protos.chalk.engine.v1.TableKeyOrBuilder> getKeyFieldBuilder() { if (keyBuilder_ == null) { keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.TableKey, ai.chalk.protos.chalk.engine.v1.TableKey.Builder, ai.chalk.protos.chalk.engine.v1.TableKeyOrBuilder>( getKey(), getParentForChildren(), isClean()); key_ = null; } return keyBuilder_; } private static final class SchemaConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder, ai.chalk.protos.chalk.arrow.v1.ArrowType> { @java.lang.Override public ai.chalk.protos.chalk.arrow.v1.ArrowType build(ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder val) { if (val instanceof ai.chalk.protos.chalk.arrow.v1.ArrowType) { return (ai.chalk.protos.chalk.arrow.v1.ArrowType) val; } return ((ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder) val).build(); } @java.lang.Override public com.google.protobuf.MapEntry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> defaultEntry() { return SchemaDefaultEntryHolder.defaultEntry; } }; private static final SchemaConverter schemaConverter = new SchemaConverter(); private com.google.protobuf.MapFieldBuilder< java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder, ai.chalk.protos.chalk.arrow.v1.ArrowType, ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder> schema_; private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder, ai.chalk.protos.chalk.arrow.v1.ArrowType, ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder> internalGetSchema() { if (schema_ == null) { return new com.google.protobuf.MapFieldBuilder<>(schemaConverter); } return schema_; } private com.google.protobuf.MapFieldBuilder<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder, ai.chalk.protos.chalk.arrow.v1.ArrowType, ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder> internalGetMutableSchema() { if (schema_ == null) { schema_ = new com.google.protobuf.MapFieldBuilder<>(schemaConverter); } bitField0_ |= 0x00000002; onChanged(); return schema_; } public int getSchemaCount() { return internalGetSchema().ensureBuilderMap().size(); } /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ @java.lang.Override public boolean containsSchema( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetSchema().ensureBuilderMap().containsKey(key); } /** * Use {@link #getSchemaMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> getSchema() { return getSchemaMap(); } /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ @java.lang.Override public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> getSchemaMap() { return internalGetSchema().getImmutableMap(); } /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ @java.lang.Override public /* nullable */ ai.chalk.protos.chalk.arrow.v1.ArrowType getSchemaOrDefault( java.lang.String key, /* nullable */ ai.chalk.protos.chalk.arrow.v1.ArrowType defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder> map = internalGetMutableSchema().ensureBuilderMap(); return map.containsKey(key) ? schemaConverter.build(map.get(key)) : defaultValue; } /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.arrow.v1.ArrowType getSchemaOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder> map = internalGetMutableSchema().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return schemaConverter.build(map.get(key)); } public Builder clearSchema() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableSchema().clear(); return this; } /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ public Builder removeSchema( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableSchema().ensureBuilderMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> getMutableSchema() { bitField0_ |= 0x00000002; return internalGetMutableSchema().ensureMessageMap(); } /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ public Builder putSchema( java.lang.String key, ai.chalk.protos.chalk.arrow.v1.ArrowType value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableSchema().ensureBuilderMap() .put(key, value); bitField0_ |= 0x00000002; return this; } /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ public Builder putAllSchema( java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> values) { for (java.util.Map.Entry<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowType> e : values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } internalGetMutableSchema().ensureBuilderMap() .putAll(values); bitField0_ |= 0x00000002; return this; } /** * <code>map&lt;string, .chalk.arrow.v1.ArrowType&gt; schema = 2 [json_name = "schema"];</code> */ public ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder putSchemaBuilderIfAbsent( java.lang.String key) { java.util.Map<java.lang.String, ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder> builderMap = internalGetMutableSchema().ensureBuilderMap(); ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder entry = builderMap.get(key); if (entry == null) { entry = ai.chalk.protos.chalk.arrow.v1.ArrowType.newBuilder(); builderMap.put(key, entry); } if (entry instanceof ai.chalk.protos.chalk.arrow.v1.ArrowType) { entry = ((ai.chalk.protos.chalk.arrow.v1.ArrowType) entry).toBuilder(); builderMap.put(key, entry); } return (ai.chalk.protos.chalk.arrow.v1.ArrowType.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.engine.v1.PyArrowSchema.TableSchema) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.PyArrowSchema.TableSchema) private static final ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema(); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<TableSchema> PARSER = new com.google.protobuf.AbstractParser<TableSchema>() { @java.lang.Override public TableSchema 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<TableSchema> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<TableSchema> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.PyArrowSchema.ColumnSchema) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> * @return Whether the key field is set. */ boolean hasKey(); /** * <code>.chalk.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> * @return The key. */ ai.chalk.protos.chalk.engine.v1.ColumnKey getKey(); /** * <code>.chalk.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> */ ai.chalk.protos.chalk.engine.v1.ColumnKeyOrBuilder getKeyOrBuilder(); /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> * @return Whether the schema field is set. */ boolean hasSchema(); /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> * @return The schema. */ ai.chalk.protos.chalk.arrow.v1.ArrowType getSchema(); /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> */ ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getSchemaOrBuilder(); } /** * Protobuf type {@code chalk.engine.v1.PyArrowSchema.ColumnSchema} */ public static final class ColumnSchema extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.PyArrowSchema.ColumnSchema) ColumnSchemaOrBuilder { private static final long serialVersionUID = 0L; // Use ColumnSchema.newBuilder() to construct. private ColumnSchema(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private ColumnSchema() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ColumnSchema(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_ColumnSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_ColumnSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.class, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.Builder.class); } private int bitField0_; public static final int KEY_FIELD_NUMBER = 1; private ai.chalk.protos.chalk.engine.v1.ColumnKey key_; /** * <code>.chalk.engine.v1.ColumnKey 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.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> * @return The key. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ColumnKey getKey() { return key_ == null ? ai.chalk.protos.chalk.engine.v1.ColumnKey.getDefaultInstance() : key_; } /** * <code>.chalk.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.ColumnKeyOrBuilder getKeyOrBuilder() { return key_ == null ? ai.chalk.protos.chalk.engine.v1.ColumnKey.getDefaultInstance() : key_; } public static final int SCHEMA_FIELD_NUMBER = 2; private ai.chalk.protos.chalk.arrow.v1.ArrowType schema_; /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> * @return Whether the schema field is set. */ @java.lang.Override public boolean hasSchema() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> * @return The schema. */ @java.lang.Override public ai.chalk.protos.chalk.arrow.v1.ArrowType getSchema() { return schema_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : schema_; } /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getSchemaOrBuilder() { return schema_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : schema_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getKey()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getSchema()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getKey()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSchema()); } 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.v1.PyArrowSchema.ColumnSchema)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema other = (ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema) obj; if (hasKey() != other.hasKey()) return false; if (hasKey()) { if (!getKey() .equals(other.getKey())) return false; } if (hasSchema() != other.hasSchema()) return false; if (hasSchema()) { if (!getSchema() .equals(other.getSchema())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } if (hasSchema()) { hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema 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.v1.PyArrowSchema.ColumnSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema 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.v1.PyArrowSchema.ColumnSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema 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.v1.PyArrowSchema.ColumnSchema parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema 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.v1.PyArrowSchema.ColumnSchema parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema 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.v1.PyArrowSchema.ColumnSchema 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.v1.PyArrowSchema.ColumnSchema 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.v1.PyArrowSchema.ColumnSchema 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.v1.PyArrowSchema.ColumnSchema} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.PyArrowSchema.ColumnSchema) ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchemaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_ColumnSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_ColumnSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.class, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.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(); getSchemaFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; key_ = null; if (keyBuilder_ != null) { keyBuilder_.dispose(); keyBuilder_ = null; } schema_ = null; if (schemaBuilder_ != null) { schemaBuilder_.dispose(); schemaBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_ColumnSchema_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema build() { ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema buildPartial() { ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema result = new ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.key_ = keyBuilder_ == null ? key_ : keyBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.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.engine.v1.PyArrowSchema.ColumnSchema) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema other) { if (other == ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } if (other.hasSchema()) { mergeSchema(other.getSchema()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getKeyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getSchemaFieldBuilder().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.engine.v1.ColumnKey key_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.ColumnKey, ai.chalk.protos.chalk.engine.v1.ColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.ColumnKeyOrBuilder> keyBuilder_; /** * <code>.chalk.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> * @return Whether the key field is set. */ public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.chalk.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> * @return The key. */ public ai.chalk.protos.chalk.engine.v1.ColumnKey getKey() { if (keyBuilder_ == null) { return key_ == null ? ai.chalk.protos.chalk.engine.v1.ColumnKey.getDefaultInstance() : key_; } else { return keyBuilder_.getMessage(); } } /** * <code>.chalk.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> */ public Builder setKey(ai.chalk.protos.chalk.engine.v1.ColumnKey value) { if (keyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } key_ = value; } else { keyBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> */ public Builder setKey( ai.chalk.protos.chalk.engine.v1.ColumnKey.Builder builderForValue) { if (keyBuilder_ == null) { key_ = builderForValue.build(); } else { keyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.chalk.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> */ public Builder mergeKey(ai.chalk.protos.chalk.engine.v1.ColumnKey value) { if (keyBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && key_ != null && key_ != ai.chalk.protos.chalk.engine.v1.ColumnKey.getDefaultInstance()) { getKeyBuilder().mergeFrom(value); } else { key_ = value; } } else { keyBuilder_.mergeFrom(value); } if (key_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.chalk.engine.v1.ColumnKey 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.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> */ public ai.chalk.protos.chalk.engine.v1.ColumnKey.Builder getKeyBuilder() { bitField0_ |= 0x00000001; onChanged(); return getKeyFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> */ public ai.chalk.protos.chalk.engine.v1.ColumnKeyOrBuilder getKeyOrBuilder() { if (keyBuilder_ != null) { return keyBuilder_.getMessageOrBuilder(); } else { return key_ == null ? ai.chalk.protos.chalk.engine.v1.ColumnKey.getDefaultInstance() : key_; } } /** * <code>.chalk.engine.v1.ColumnKey key = 1 [json_name = "key"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.ColumnKey, ai.chalk.protos.chalk.engine.v1.ColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.ColumnKeyOrBuilder> getKeyFieldBuilder() { if (keyBuilder_ == null) { keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.ColumnKey, ai.chalk.protos.chalk.engine.v1.ColumnKey.Builder, ai.chalk.protos.chalk.engine.v1.ColumnKeyOrBuilder>( getKey(), getParentForChildren(), isClean()); key_ = null; } return keyBuilder_; } private ai.chalk.protos.chalk.arrow.v1.ArrowType schema_; 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> schemaBuilder_; /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> * @return Whether the schema field is set. */ public boolean hasSchema() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> * @return The schema. */ public ai.chalk.protos.chalk.arrow.v1.ArrowType getSchema() { if (schemaBuilder_ == null) { return schema_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : schema_; } else { return schemaBuilder_.getMessage(); } } /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> */ public Builder setSchema(ai.chalk.protos.chalk.arrow.v1.ArrowType value) { if (schemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } schema_ = value; } else { schemaBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> */ public Builder setSchema( ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder builderForValue) { if (schemaBuilder_ == null) { schema_ = builderForValue.build(); } else { schemaBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> */ public Builder mergeSchema(ai.chalk.protos.chalk.arrow.v1.ArrowType value) { if (schemaBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && schema_ != null && schema_ != ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance()) { getSchemaBuilder().mergeFrom(value); } else { schema_ = value; } } else { schemaBuilder_.mergeFrom(value); } if (schema_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> */ public Builder clearSchema() { bitField0_ = (bitField0_ & ~0x00000002); schema_ = null; if (schemaBuilder_ != null) { schemaBuilder_.dispose(); schemaBuilder_ = null; } onChanged(); return this; } /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> */ public ai.chalk.protos.chalk.arrow.v1.ArrowType.Builder getSchemaBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSchemaFieldBuilder().getBuilder(); } /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</code> */ public ai.chalk.protos.chalk.arrow.v1.ArrowTypeOrBuilder getSchemaOrBuilder() { if (schemaBuilder_ != null) { return schemaBuilder_.getMessageOrBuilder(); } else { return schema_ == null ? ai.chalk.protos.chalk.arrow.v1.ArrowType.getDefaultInstance() : schema_; } } /** * <code>.chalk.arrow.v1.ArrowType schema = 2 [json_name = "schema"];</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> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { schemaBuilder_ = 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>( getSchema(), getParentForChildren(), isClean()); schema_ = null; } return schemaBuilder_; } @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.v1.PyArrowSchema.ColumnSchema) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.PyArrowSchema.ColumnSchema) private static final ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema(); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<ColumnSchema> PARSER = new com.google.protobuf.AbstractParser<ColumnSchema>() { @java.lang.Override public ColumnSchema 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<ColumnSchema> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<ColumnSchema> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int SCALARS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema> scalars_; /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema> getScalarsList() { return scalars_; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchemaOrBuilder> getScalarsOrBuilderList() { return scalars_; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ @java.lang.Override public int getScalarsCount() { return scalars_.size(); } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema getScalars(int index) { return scalars_.get(index); } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchemaOrBuilder getScalarsOrBuilder( int index) { return scalars_.get(index); } public static final int GROUPS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema> groups_; /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema> getGroupsList() { return groups_; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchemaOrBuilder> getGroupsOrBuilderList() { return groups_; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ @java.lang.Override public int getGroupsCount() { return groups_.size(); } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema getGroups(int index) { return groups_.get(index); } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchemaOrBuilder getGroupsOrBuilder( int index) { return groups_.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 < scalars_.size(); i++) { output.writeMessage(1, scalars_.get(i)); } for (int i = 0; i < groups_.size(); i++) { output.writeMessage(2, groups_.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 < scalars_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, scalars_.get(i)); } for (int i = 0; i < groups_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, groups_.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.engine.v1.PyArrowSchema)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.PyArrowSchema other = (ai.chalk.protos.chalk.engine.v1.PyArrowSchema) obj; if (!getScalarsList() .equals(other.getScalarsList())) return false; if (!getGroupsList() .equals(other.getGroupsList())) 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 (getScalarsCount() > 0) { hash = (37 * hash) + SCALARS_FIELD_NUMBER; hash = (53 * hash) + getScalarsList().hashCode(); } if (getGroupsCount() > 0) { hash = (37 * hash) + GROUPS_FIELD_NUMBER; hash = (53 * hash) + getGroupsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema 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.v1.PyArrowSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema 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.v1.PyArrowSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema 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.v1.PyArrowSchema parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema 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.v1.PyArrowSchema parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema 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.v1.PyArrowSchema 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.v1.PyArrowSchema 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.v1.PyArrowSchema 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.v1.PyArrowSchema} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.PyArrowSchema) ai.chalk.protos.chalk.engine.v1.PyArrowSchemaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.class, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.PyArrowSchema.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (scalarsBuilder_ == null) { scalars_ = java.util.Collections.emptyList(); } else { scalars_ = null; scalarsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (groupsBuilder_ == null) { groups_ = java.util.Collections.emptyList(); } else { groups_ = null; groupsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_PyArrowSchema_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.PyArrowSchema.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema build() { ai.chalk.protos.chalk.engine.v1.PyArrowSchema result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema buildPartial() { ai.chalk.protos.chalk.engine.v1.PyArrowSchema result = new ai.chalk.protos.chalk.engine.v1.PyArrowSchema(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.engine.v1.PyArrowSchema result) { if (scalarsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { scalars_ = java.util.Collections.unmodifiableList(scalars_); bitField0_ = (bitField0_ & ~0x00000001); } result.scalars_ = scalars_; } else { result.scalars_ = scalarsBuilder_.build(); } if (groupsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { groups_ = java.util.Collections.unmodifiableList(groups_); bitField0_ = (bitField0_ & ~0x00000002); } result.groups_ = groups_; } else { result.groups_ = groupsBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.PyArrowSchema 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.engine.v1.PyArrowSchema) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.PyArrowSchema)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.PyArrowSchema other) { if (other == ai.chalk.protos.chalk.engine.v1.PyArrowSchema.getDefaultInstance()) return this; if (scalarsBuilder_ == null) { if (!other.scalars_.isEmpty()) { if (scalars_.isEmpty()) { scalars_ = other.scalars_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureScalarsIsMutable(); scalars_.addAll(other.scalars_); } onChanged(); } } else { if (!other.scalars_.isEmpty()) { if (scalarsBuilder_.isEmpty()) { scalarsBuilder_.dispose(); scalarsBuilder_ = null; scalars_ = other.scalars_; bitField0_ = (bitField0_ & ~0x00000001); scalarsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getScalarsFieldBuilder() : null; } else { scalarsBuilder_.addAllMessages(other.scalars_); } } } if (groupsBuilder_ == null) { if (!other.groups_.isEmpty()) { if (groups_.isEmpty()) { groups_ = other.groups_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureGroupsIsMutable(); groups_.addAll(other.groups_); } onChanged(); } } else { if (!other.groups_.isEmpty()) { if (groupsBuilder_.isEmpty()) { groupsBuilder_.dispose(); groupsBuilder_ = null; groups_ = other.groups_; bitField0_ = (bitField0_ & ~0x00000002); groupsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGroupsFieldBuilder() : null; } else { groupsBuilder_.addAllMessages(other.groups_); } } } 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.v1.PyArrowSchema.ColumnSchema m = input.readMessage( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.parser(), extensionRegistry); if (scalarsBuilder_ == null) { ensureScalarsIsMutable(); scalars_.add(m); } else { scalarsBuilder_.addMessage(m); } break; } // case 10 case 18: { ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema m = input.readMessage( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.parser(), extensionRegistry); if (groupsBuilder_ == null) { ensureGroupsIsMutable(); groups_.add(m); } else { groupsBuilder_.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 java.util.List<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema> scalars_ = java.util.Collections.emptyList(); private void ensureScalarsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { scalars_ = new java.util.ArrayList<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema>(scalars_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.Builder, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchemaOrBuilder> scalarsBuilder_; /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema> getScalarsList() { if (scalarsBuilder_ == null) { return java.util.Collections.unmodifiableList(scalars_); } else { return scalarsBuilder_.getMessageList(); } } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public int getScalarsCount() { if (scalarsBuilder_ == null) { return scalars_.size(); } else { return scalarsBuilder_.getCount(); } } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema getScalars(int index) { if (scalarsBuilder_ == null) { return scalars_.get(index); } else { return scalarsBuilder_.getMessage(index); } } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public Builder setScalars( int index, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema value) { if (scalarsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScalarsIsMutable(); scalars_.set(index, value); onChanged(); } else { scalarsBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public Builder setScalars( int index, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.Builder builderForValue) { if (scalarsBuilder_ == null) { ensureScalarsIsMutable(); scalars_.set(index, builderForValue.build()); onChanged(); } else { scalarsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public Builder addScalars(ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema value) { if (scalarsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScalarsIsMutable(); scalars_.add(value); onChanged(); } else { scalarsBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public Builder addScalars( int index, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema value) { if (scalarsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScalarsIsMutable(); scalars_.add(index, value); onChanged(); } else { scalarsBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public Builder addScalars( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.Builder builderForValue) { if (scalarsBuilder_ == null) { ensureScalarsIsMutable(); scalars_.add(builderForValue.build()); onChanged(); } else { scalarsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public Builder addScalars( int index, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.Builder builderForValue) { if (scalarsBuilder_ == null) { ensureScalarsIsMutable(); scalars_.add(index, builderForValue.build()); onChanged(); } else { scalarsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public Builder addAllScalars( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema> values) { if (scalarsBuilder_ == null) { ensureScalarsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, scalars_); onChanged(); } else { scalarsBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public Builder clearScalars() { if (scalarsBuilder_ == null) { scalars_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { scalarsBuilder_.clear(); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public Builder removeScalars(int index) { if (scalarsBuilder_ == null) { ensureScalarsIsMutable(); scalars_.remove(index); onChanged(); } else { scalarsBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.Builder getScalarsBuilder( int index) { return getScalarsFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchemaOrBuilder getScalarsOrBuilder( int index) { if (scalarsBuilder_ == null) { return scalars_.get(index); } else { return scalarsBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchemaOrBuilder> getScalarsOrBuilderList() { if (scalarsBuilder_ != null) { return scalarsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(scalars_); } } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.Builder addScalarsBuilder() { return getScalarsFieldBuilder().addBuilder( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.Builder addScalarsBuilder( int index) { return getScalarsFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.Builder> getScalarsBuilderList() { return getScalarsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.Builder, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchemaOrBuilder> getScalarsFieldBuilder() { if (scalarsBuilder_ == null) { scalarsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema.Builder, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchemaOrBuilder>( scalars_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); scalars_ = null; } return scalarsBuilder_; } private java.util.List<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema> groups_ = java.util.Collections.emptyList(); private void ensureGroupsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { groups_ = new java.util.ArrayList<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema>(groups_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.Builder, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchemaOrBuilder> groupsBuilder_; /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema> getGroupsList() { if (groupsBuilder_ == null) { return java.util.Collections.unmodifiableList(groups_); } else { return groupsBuilder_.getMessageList(); } } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public int getGroupsCount() { if (groupsBuilder_ == null) { return groups_.size(); } else { return groupsBuilder_.getCount(); } } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema getGroups(int index) { if (groupsBuilder_ == null) { return groups_.get(index); } else { return groupsBuilder_.getMessage(index); } } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public Builder setGroups( int index, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema value) { if (groupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupsIsMutable(); groups_.set(index, value); onChanged(); } else { groupsBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public Builder setGroups( int index, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.Builder builderForValue) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); groups_.set(index, builderForValue.build()); onChanged(); } else { groupsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public Builder addGroups(ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema value) { if (groupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupsIsMutable(); groups_.add(value); onChanged(); } else { groupsBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public Builder addGroups( int index, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema value) { if (groupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupsIsMutable(); groups_.add(index, value); onChanged(); } else { groupsBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public Builder addGroups( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.Builder builderForValue) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); groups_.add(builderForValue.build()); onChanged(); } else { groupsBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public Builder addGroups( int index, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.Builder builderForValue) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); groups_.add(index, builderForValue.build()); onChanged(); } else { groupsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public Builder addAllGroups( java.lang.Iterable<? extends ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema> values) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, groups_); onChanged(); } else { groupsBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public Builder clearGroups() { if (groupsBuilder_ == null) { groups_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { groupsBuilder_.clear(); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public Builder removeGroups(int index) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); groups_.remove(index); onChanged(); } else { groupsBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.Builder getGroupsBuilder( int index) { return getGroupsFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchemaOrBuilder getGroupsOrBuilder( int index) { if (groupsBuilder_ == null) { return groups_.get(index); } else { return groupsBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchemaOrBuilder> getGroupsOrBuilderList() { if (groupsBuilder_ != null) { return groupsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(groups_); } } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.Builder addGroupsBuilder() { return getGroupsFieldBuilder().addBuilder( ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.Builder addGroupsBuilder( int index) { return getGroupsFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.getDefaultInstance()); } /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ public java.util.List<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.Builder> getGroupsBuilderList() { return getGroupsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.Builder, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchemaOrBuilder> getGroupsFieldBuilder() { if (groupsBuilder_ == null) { groupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema.Builder, ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchemaOrBuilder>( groups_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); groups_ = null; } return groupsBuilder_; } @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.v1.PyArrowSchema) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.PyArrowSchema) private static final ai.chalk.protos.chalk.engine.v1.PyArrowSchema DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.PyArrowSchema(); } public static ai.chalk.protos.chalk.engine.v1.PyArrowSchema getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<PyArrowSchema> PARSER = new com.google.protobuf.AbstractParser<PyArrowSchema>() { @java.lang.Override public PyArrowSchema 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<PyArrowSchema> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<PyArrowSchema> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.PyArrowSchema 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/v1/PyArrowSchemaOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface PyArrowSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.PyArrowSchema) com.google.protobuf.MessageOrBuilder { /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ java.util.List<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema> getScalarsList(); /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchema getScalars(int index); /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ int getScalarsCount(); /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchemaOrBuilder> getScalarsOrBuilderList(); /** * <code>repeated .chalk.engine.v1.PyArrowSchema.ColumnSchema scalars = 1 [json_name = "scalars"];</code> */ ai.chalk.protos.chalk.engine.v1.PyArrowSchema.ColumnSchemaOrBuilder getScalarsOrBuilder( int index); /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ java.util.List<ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema> getGroupsList(); /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchema getGroups(int index); /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ int getGroupsCount(); /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchemaOrBuilder> getGroupsOrBuilderList(); /** * <code>repeated .chalk.engine.v1.PyArrowSchema.TableSchema groups = 2 [json_name = "groups"];</code> */ ai.chalk.protos.chalk.engine.v1.PyArrowSchema.TableSchemaOrBuilder getGroupsOrBuilder( 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/v1/QueryServerProto.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/query_server.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public final class QueryServerProto { private QueryServerProto() {} 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_v1_PingRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_PingRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v1_PingResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v1_PingResponse_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/v1/query_server.proto\022\017ch" + "alk.engine.v1\032 chalk/aggregate/v1/servic" + "e.proto\032\037chalk/auth/v1/permissions.proto" + "\032\"chalk/common/v1/online_query.proto\032%ch" + "alk/common/v1/upload_features.proto\"\037\n\013P" + "ingRequest\022\020\n\003num\030\001 \001(\005R\003num\" \n\014PingResp" + "onse\022\020\n\003num\030\001 \001(\005R\003num2\344\006\n\014QueryService\022" + "K\n\004Ping\022\034.chalk.engine.v1.PingRequest\032\035." + "chalk.engine.v1.PingResponse\"\006\220\002\001\200}\001\022]\n\013" + "OnlineQuery\022#.chalk.common.v1.OnlineQuer" + "yRequest\032$.chalk.common.v1.OnlineQueryRe" + "sponse\"\003\200}\003\022i\n\017OnlineQueryBulk\022\'.chalk.c" + "ommon.v1.OnlineQueryBulkRequest\032(.chalk." + "common.v1.OnlineQueryBulkResponse\"\003\200}\003\022l" + "\n\020OnlineQueryMulti\022(.chalk.common.v1.Onl" + "ineQueryMultiRequest\032).chalk.common.v1.O" + "nlineQueryMultiResponse\"\003\200}\003\022r\n\022UploadFe" + "aturesBulk\022*.chalk.common.v1.UploadFeatu" + "resBulkRequest\032+.chalk.common.v1.UploadF" + "eaturesBulkResponse\"\003\200}\003\022f\n\016UploadFeatur" + "es\022&.chalk.common.v1.UploadFeaturesReque" + "st\032\'.chalk.common.v1.UploadFeaturesRespo" + "nse\"\003\200}\003\022\204\001\n\025PlanAggregateBackfill\0220.cha" + "lk.aggregate.v1.PlanAggregateBackfillReq" + "uest\0321.chalk.aggregate.v1.PlanAggregateB" + "ackfillResponse\"\006\220\002\001\200}\014\022l\n\rGetAggregates" + "\022(.chalk.aggregate.v1.GetAggregatesReque" + "st\032).chalk.aggregate.v1.GetAggregatesRes" + "ponse\"\006\220\002\001\200}\013B\221\001\n\037ai.chalk.protos.chalk." + "engine.v1B\020QueryServerProtoP\001\242\002\003CEX\252\002\017Ch" + "alk.Engine.V1\312\002\017Chalk\\Engine\\V1\342\002\033Chalk\\" + "Engine\\V1\\GPBMetadata\352\002\021Chalk::Engine::V" + "1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { ai.chalk.protos.chalk.aggregate.v1.ServiceProto.getDescriptor(), ai.chalk.protos.chalk.auth.v1.PermissionsProto.getDescriptor(), ai.chalk.protos.chalk.common.v1.OnlineQueryProto.getDescriptor(), ai.chalk.protos.chalk.common.v1.UploadFeaturesProto.getDescriptor(), }); internal_static_chalk_engine_v1_PingRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_engine_v1_PingRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_PingRequest_descriptor, new java.lang.String[] { "Num", }); internal_static_chalk_engine_v1_PingResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_chalk_engine_v1_PingResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v1_PingResponse_descriptor, new java.lang.String[] { "Num", }); 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.aggregate.v1.ServiceProto.getDescriptor(); ai.chalk.protos.chalk.auth.v1.PermissionsProto.getDescriptor(); ai.chalk.protos.chalk.common.v1.OnlineQueryProto.getDescriptor(); ai.chalk.protos.chalk.common.v1.UploadFeaturesProto.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/v1/QueryServiceGrpc.java
package ai.chalk.protos.chalk.engine.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** */ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.64.0)", comments = "Source: chalk/engine/v1/query_server.proto") @io.grpc.stub.annotations.GrpcGenerated public final class QueryServiceGrpc { private QueryServiceGrpc() {} public static final java.lang.String SERVICE_NAME = "chalk.engine.v1.QueryService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v1.PingRequest, ai.chalk.protos.chalk.engine.v1.PingResponse> getPingMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Ping", requestType = ai.chalk.protos.chalk.engine.v1.PingRequest.class, responseType = ai.chalk.protos.chalk.engine.v1.PingResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v1.PingRequest, ai.chalk.protos.chalk.engine.v1.PingResponse> getPingMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.engine.v1.PingRequest, ai.chalk.protos.chalk.engine.v1.PingResponse> getPingMethod; if ((getPingMethod = QueryServiceGrpc.getPingMethod) == null) { synchronized (QueryServiceGrpc.class) { if ((getPingMethod = QueryServiceGrpc.getPingMethod) == null) { QueryServiceGrpc.getPingMethod = getPingMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.engine.v1.PingRequest, ai.chalk.protos.chalk.engine.v1.PingResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Ping")) .setSafe(true) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v1.PingRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.engine.v1.PingResponse.getDefaultInstance())) .setSchemaDescriptor(new QueryServiceMethodDescriptorSupplier("Ping")) .build(); } } } return getPingMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.OnlineQueryRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryResponse> getOnlineQueryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "OnlineQuery", requestType = ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.class, responseType = ai.chalk.protos.chalk.common.v1.OnlineQueryResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.OnlineQueryRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryResponse> getOnlineQueryMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.OnlineQueryRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryResponse> getOnlineQueryMethod; if ((getOnlineQueryMethod = QueryServiceGrpc.getOnlineQueryMethod) == null) { synchronized (QueryServiceGrpc.class) { if ((getOnlineQueryMethod = QueryServiceGrpc.getOnlineQueryMethod) == null) { QueryServiceGrpc.getOnlineQueryMethod = getOnlineQueryMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.common.v1.OnlineQueryRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "OnlineQuery")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.OnlineQueryRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.OnlineQueryResponse.getDefaultInstance())) .setSchemaDescriptor(new QueryServiceMethodDescriptorSupplier("OnlineQuery")) .build(); } } } return getOnlineQueryMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.OnlineQueryBulkRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryBulkResponse> getOnlineQueryBulkMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "OnlineQueryBulk", requestType = ai.chalk.protos.chalk.common.v1.OnlineQueryBulkRequest.class, responseType = ai.chalk.protos.chalk.common.v1.OnlineQueryBulkResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.OnlineQueryBulkRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryBulkResponse> getOnlineQueryBulkMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.OnlineQueryBulkRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryBulkResponse> getOnlineQueryBulkMethod; if ((getOnlineQueryBulkMethod = QueryServiceGrpc.getOnlineQueryBulkMethod) == null) { synchronized (QueryServiceGrpc.class) { if ((getOnlineQueryBulkMethod = QueryServiceGrpc.getOnlineQueryBulkMethod) == null) { QueryServiceGrpc.getOnlineQueryBulkMethod = getOnlineQueryBulkMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.common.v1.OnlineQueryBulkRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryBulkResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "OnlineQueryBulk")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.OnlineQueryBulkRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.OnlineQueryBulkResponse.getDefaultInstance())) .setSchemaDescriptor(new QueryServiceMethodDescriptorSupplier("OnlineQueryBulk")) .build(); } } } return getOnlineQueryBulkMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.OnlineQueryMultiRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryMultiResponse> getOnlineQueryMultiMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "OnlineQueryMulti", requestType = ai.chalk.protos.chalk.common.v1.OnlineQueryMultiRequest.class, responseType = ai.chalk.protos.chalk.common.v1.OnlineQueryMultiResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.OnlineQueryMultiRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryMultiResponse> getOnlineQueryMultiMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.OnlineQueryMultiRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryMultiResponse> getOnlineQueryMultiMethod; if ((getOnlineQueryMultiMethod = QueryServiceGrpc.getOnlineQueryMultiMethod) == null) { synchronized (QueryServiceGrpc.class) { if ((getOnlineQueryMultiMethod = QueryServiceGrpc.getOnlineQueryMultiMethod) == null) { QueryServiceGrpc.getOnlineQueryMultiMethod = getOnlineQueryMultiMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.common.v1.OnlineQueryMultiRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryMultiResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "OnlineQueryMulti")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.OnlineQueryMultiRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.OnlineQueryMultiResponse.getDefaultInstance())) .setSchemaDescriptor(new QueryServiceMethodDescriptorSupplier("OnlineQueryMulti")) .build(); } } } return getOnlineQueryMultiMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest, ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse> getUploadFeaturesBulkMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UploadFeaturesBulk", requestType = ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest.class, responseType = ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest, ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse> getUploadFeaturesBulkMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest, ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse> getUploadFeaturesBulkMethod; if ((getUploadFeaturesBulkMethod = QueryServiceGrpc.getUploadFeaturesBulkMethod) == null) { synchronized (QueryServiceGrpc.class) { if ((getUploadFeaturesBulkMethod = QueryServiceGrpc.getUploadFeaturesBulkMethod) == null) { QueryServiceGrpc.getUploadFeaturesBulkMethod = getUploadFeaturesBulkMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest, ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UploadFeaturesBulk")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse.getDefaultInstance())) .setSchemaDescriptor(new QueryServiceMethodDescriptorSupplier("UploadFeaturesBulk")) .build(); } } } return getUploadFeaturesBulkMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest, ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse> getUploadFeaturesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UploadFeatures", requestType = ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest.class, responseType = ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest, ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse> getUploadFeaturesMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest, ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse> getUploadFeaturesMethod; if ((getUploadFeaturesMethod = QueryServiceGrpc.getUploadFeaturesMethod) == null) { synchronized (QueryServiceGrpc.class) { if ((getUploadFeaturesMethod = QueryServiceGrpc.getUploadFeaturesMethod) == null) { QueryServiceGrpc.getUploadFeaturesMethod = getUploadFeaturesMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest, ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UploadFeatures")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse.getDefaultInstance())) .setSchemaDescriptor(new QueryServiceMethodDescriptorSupplier("UploadFeatures")) .build(); } } } return getUploadFeaturesMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillRequest, ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillResponse> getPlanAggregateBackfillMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "PlanAggregateBackfill", requestType = ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillRequest.class, responseType = ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillRequest, ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillResponse> getPlanAggregateBackfillMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillRequest, ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillResponse> getPlanAggregateBackfillMethod; if ((getPlanAggregateBackfillMethod = QueryServiceGrpc.getPlanAggregateBackfillMethod) == null) { synchronized (QueryServiceGrpc.class) { if ((getPlanAggregateBackfillMethod = QueryServiceGrpc.getPlanAggregateBackfillMethod) == null) { QueryServiceGrpc.getPlanAggregateBackfillMethod = getPlanAggregateBackfillMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillRequest, ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PlanAggregateBackfill")) .setSafe(true) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillResponse.getDefaultInstance())) .setSchemaDescriptor(new QueryServiceMethodDescriptorSupplier("PlanAggregateBackfill")) .build(); } } } return getPlanAggregateBackfillMethod; } private static volatile io.grpc.MethodDescriptor<ai.chalk.protos.chalk.aggregate.v1.GetAggregatesRequest, ai.chalk.protos.chalk.aggregate.v1.GetAggregatesResponse> getGetAggregatesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetAggregates", requestType = ai.chalk.protos.chalk.aggregate.v1.GetAggregatesRequest.class, responseType = ai.chalk.protos.chalk.aggregate.v1.GetAggregatesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<ai.chalk.protos.chalk.aggregate.v1.GetAggregatesRequest, ai.chalk.protos.chalk.aggregate.v1.GetAggregatesResponse> getGetAggregatesMethod() { io.grpc.MethodDescriptor<ai.chalk.protos.chalk.aggregate.v1.GetAggregatesRequest, ai.chalk.protos.chalk.aggregate.v1.GetAggregatesResponse> getGetAggregatesMethod; if ((getGetAggregatesMethod = QueryServiceGrpc.getGetAggregatesMethod) == null) { synchronized (QueryServiceGrpc.class) { if ((getGetAggregatesMethod = QueryServiceGrpc.getGetAggregatesMethod) == null) { QueryServiceGrpc.getGetAggregatesMethod = getGetAggregatesMethod = io.grpc.MethodDescriptor.<ai.chalk.protos.chalk.aggregate.v1.GetAggregatesRequest, ai.chalk.protos.chalk.aggregate.v1.GetAggregatesResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAggregates")) .setSafe(true) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.aggregate.v1.GetAggregatesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ai.chalk.protos.chalk.aggregate.v1.GetAggregatesResponse.getDefaultInstance())) .setSchemaDescriptor(new QueryServiceMethodDescriptorSupplier("GetAggregates")) .build(); } } } return getGetAggregatesMethod; } /** * Creates a new async stub that supports all call types for the service */ public static QueryServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory<QueryServiceStub> factory = new io.grpc.stub.AbstractStub.StubFactory<QueryServiceStub>() { @java.lang.Override public QueryServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new QueryServiceStub(channel, callOptions); } }; return QueryServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static QueryServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory<QueryServiceBlockingStub> factory = new io.grpc.stub.AbstractStub.StubFactory<QueryServiceBlockingStub>() { @java.lang.Override public QueryServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new QueryServiceBlockingStub(channel, callOptions); } }; return QueryServiceBlockingStub.newStub(factory, channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static QueryServiceFutureStub newFutureStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory<QueryServiceFutureStub> factory = new io.grpc.stub.AbstractStub.StubFactory<QueryServiceFutureStub>() { @java.lang.Override public QueryServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new QueryServiceFutureStub(channel, callOptions); } }; return QueryServiceFutureStub.newStub(factory, channel); } /** */ public interface AsyncService { /** */ default void ping(ai.chalk.protos.chalk.engine.v1.PingRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v1.PingResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPingMethod(), responseObserver); } /** */ default void onlineQuery(ai.chalk.protos.chalk.common.v1.OnlineQueryRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.OnlineQueryResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getOnlineQueryMethod(), responseObserver); } /** */ default void onlineQueryBulk(ai.chalk.protos.chalk.common.v1.OnlineQueryBulkRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.OnlineQueryBulkResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getOnlineQueryBulkMethod(), responseObserver); } /** */ default void onlineQueryMulti(ai.chalk.protos.chalk.common.v1.OnlineQueryMultiRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.OnlineQueryMultiResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getOnlineQueryMultiMethod(), responseObserver); } /** */ default void uploadFeaturesBulk(ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUploadFeaturesBulkMethod(), responseObserver); } /** */ default void uploadFeatures(ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUploadFeaturesMethod(), responseObserver); } /** * <pre> * PlanAggregateBackfill determines the estimated resources needed to backfill * an aggregate. * This method is a duplicate of the PlanAggregateBackfill method * in the query_server.proto file. We should remove the query_server.proto method * and move that request to this service instead. * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE * </pre> */ default void planAggregateBackfill(ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPlanAggregateBackfillMethod(), responseObserver); } /** * <pre> * This method is a duplicate of the PlanAggregateBackfill method * in the query_server.proto file. We should remove the query_server.proto method * and move that request to this service instead. * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE * </pre> */ default void getAggregates(ai.chalk.protos.chalk.aggregate.v1.GetAggregatesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.aggregate.v1.GetAggregatesResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAggregatesMethod(), responseObserver); } } /** * Base class for the server implementation of the service QueryService. */ public static abstract class QueryServiceImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return QueryServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service QueryService. */ public static final class QueryServiceStub extends io.grpc.stub.AbstractAsyncStub<QueryServiceStub> { private QueryServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected QueryServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new QueryServiceStub(channel, callOptions); } /** */ public void ping(ai.chalk.protos.chalk.engine.v1.PingRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v1.PingResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPingMethod(), getCallOptions()), request, responseObserver); } /** */ public void onlineQuery(ai.chalk.protos.chalk.common.v1.OnlineQueryRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.OnlineQueryResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getOnlineQueryMethod(), getCallOptions()), request, responseObserver); } /** */ public void onlineQueryBulk(ai.chalk.protos.chalk.common.v1.OnlineQueryBulkRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.OnlineQueryBulkResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getOnlineQueryBulkMethod(), getCallOptions()), request, responseObserver); } /** */ public void onlineQueryMulti(ai.chalk.protos.chalk.common.v1.OnlineQueryMultiRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.OnlineQueryMultiResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getOnlineQueryMultiMethod(), getCallOptions()), request, responseObserver); } /** */ public void uploadFeaturesBulk(ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUploadFeaturesBulkMethod(), getCallOptions()), request, responseObserver); } /** */ public void uploadFeatures(ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUploadFeaturesMethod(), getCallOptions()), request, responseObserver); } /** * <pre> * PlanAggregateBackfill determines the estimated resources needed to backfill * an aggregate. * This method is a duplicate of the PlanAggregateBackfill method * in the query_server.proto file. We should remove the query_server.proto method * and move that request to this service instead. * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE * </pre> */ public void planAggregateBackfill(ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPlanAggregateBackfillMethod(), getCallOptions()), request, responseObserver); } /** * <pre> * This method is a duplicate of the PlanAggregateBackfill method * in the query_server.proto file. We should remove the query_server.proto method * and move that request to this service instead. * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE * </pre> */ public void getAggregates(ai.chalk.protos.chalk.aggregate.v1.GetAggregatesRequest request, io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.aggregate.v1.GetAggregatesResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetAggregatesMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service QueryService. */ public static final class QueryServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<QueryServiceBlockingStub> { private QueryServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected QueryServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new QueryServiceBlockingStub(channel, callOptions); } /** */ public ai.chalk.protos.chalk.engine.v1.PingResponse ping(ai.chalk.protos.chalk.engine.v1.PingRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPingMethod(), getCallOptions(), request); } /** */ public ai.chalk.protos.chalk.common.v1.OnlineQueryResponse onlineQuery(ai.chalk.protos.chalk.common.v1.OnlineQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getOnlineQueryMethod(), getCallOptions(), request); } /** */ public ai.chalk.protos.chalk.common.v1.OnlineQueryBulkResponse onlineQueryBulk(ai.chalk.protos.chalk.common.v1.OnlineQueryBulkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getOnlineQueryBulkMethod(), getCallOptions(), request); } /** */ public ai.chalk.protos.chalk.common.v1.OnlineQueryMultiResponse onlineQueryMulti(ai.chalk.protos.chalk.common.v1.OnlineQueryMultiRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getOnlineQueryMultiMethod(), getCallOptions(), request); } /** */ public ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse uploadFeaturesBulk(ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUploadFeaturesBulkMethod(), getCallOptions(), request); } /** */ public ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse uploadFeatures(ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUploadFeaturesMethod(), getCallOptions(), request); } /** * <pre> * PlanAggregateBackfill determines the estimated resources needed to backfill * an aggregate. * This method is a duplicate of the PlanAggregateBackfill method * in the query_server.proto file. We should remove the query_server.proto method * and move that request to this service instead. * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE * </pre> */ public ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillResponse planAggregateBackfill(ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPlanAggregateBackfillMethod(), getCallOptions(), request); } /** * <pre> * This method is a duplicate of the PlanAggregateBackfill method * in the query_server.proto file. We should remove the query_server.proto method * and move that request to this service instead. * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE * </pre> */ public ai.chalk.protos.chalk.aggregate.v1.GetAggregatesResponse getAggregates(ai.chalk.protos.chalk.aggregate.v1.GetAggregatesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAggregatesMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service QueryService. */ public static final class QueryServiceFutureStub extends io.grpc.stub.AbstractFutureStub<QueryServiceFutureStub> { private QueryServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected QueryServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new QueryServiceFutureStub(channel, callOptions); } /** */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.engine.v1.PingResponse> ping( ai.chalk.protos.chalk.engine.v1.PingRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPingMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.common.v1.OnlineQueryResponse> onlineQuery( ai.chalk.protos.chalk.common.v1.OnlineQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getOnlineQueryMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.common.v1.OnlineQueryBulkResponse> onlineQueryBulk( ai.chalk.protos.chalk.common.v1.OnlineQueryBulkRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getOnlineQueryBulkMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.common.v1.OnlineQueryMultiResponse> onlineQueryMulti( ai.chalk.protos.chalk.common.v1.OnlineQueryMultiRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getOnlineQueryMultiMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse> uploadFeaturesBulk( ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUploadFeaturesBulkMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse> uploadFeatures( ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUploadFeaturesMethod(), getCallOptions()), request); } /** * <pre> * PlanAggregateBackfill determines the estimated resources needed to backfill * an aggregate. * This method is a duplicate of the PlanAggregateBackfill method * in the query_server.proto file. We should remove the query_server.proto method * and move that request to this service instead. * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE * </pre> */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillResponse> planAggregateBackfill( ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPlanAggregateBackfillMethod(), getCallOptions()), request); } /** * <pre> * This method is a duplicate of the PlanAggregateBackfill method * in the query_server.proto file. We should remove the query_server.proto method * and move that request to this service instead. * buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE * </pre> */ public com.google.common.util.concurrent.ListenableFuture<ai.chalk.protos.chalk.aggregate.v1.GetAggregatesResponse> getAggregates( ai.chalk.protos.chalk.aggregate.v1.GetAggregatesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAggregatesMethod(), getCallOptions()), request); } } private static final int METHODID_PING = 0; private static final int METHODID_ONLINE_QUERY = 1; private static final int METHODID_ONLINE_QUERY_BULK = 2; private static final int METHODID_ONLINE_QUERY_MULTI = 3; private static final int METHODID_UPLOAD_FEATURES_BULK = 4; private static final int METHODID_UPLOAD_FEATURES = 5; private static final int METHODID_PLAN_AGGREGATE_BACKFILL = 6; private static final int METHODID_GET_AGGREGATES = 7; 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_PING: serviceImpl.ping((ai.chalk.protos.chalk.engine.v1.PingRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.engine.v1.PingResponse>) responseObserver); break; case METHODID_ONLINE_QUERY: serviceImpl.onlineQuery((ai.chalk.protos.chalk.common.v1.OnlineQueryRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.OnlineQueryResponse>) responseObserver); break; case METHODID_ONLINE_QUERY_BULK: serviceImpl.onlineQueryBulk((ai.chalk.protos.chalk.common.v1.OnlineQueryBulkRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.OnlineQueryBulkResponse>) responseObserver); break; case METHODID_ONLINE_QUERY_MULTI: serviceImpl.onlineQueryMulti((ai.chalk.protos.chalk.common.v1.OnlineQueryMultiRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.OnlineQueryMultiResponse>) responseObserver); break; case METHODID_UPLOAD_FEATURES_BULK: serviceImpl.uploadFeaturesBulk((ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse>) responseObserver); break; case METHODID_UPLOAD_FEATURES: serviceImpl.uploadFeatures((ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse>) responseObserver); break; case METHODID_PLAN_AGGREGATE_BACKFILL: serviceImpl.planAggregateBackfill((ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillResponse>) responseObserver); break; case METHODID_GET_AGGREGATES: serviceImpl.getAggregates((ai.chalk.protos.chalk.aggregate.v1.GetAggregatesRequest) request, (io.grpc.stub.StreamObserver<ai.chalk.protos.chalk.aggregate.v1.GetAggregatesResponse>) 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( getPingMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.engine.v1.PingRequest, ai.chalk.protos.chalk.engine.v1.PingResponse>( service, METHODID_PING))) .addMethod( getOnlineQueryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.common.v1.OnlineQueryRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryResponse>( service, METHODID_ONLINE_QUERY))) .addMethod( getOnlineQueryBulkMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.common.v1.OnlineQueryBulkRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryBulkResponse>( service, METHODID_ONLINE_QUERY_BULK))) .addMethod( getOnlineQueryMultiMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.common.v1.OnlineQueryMultiRequest, ai.chalk.protos.chalk.common.v1.OnlineQueryMultiResponse>( service, METHODID_ONLINE_QUERY_MULTI))) .addMethod( getUploadFeaturesBulkMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkRequest, ai.chalk.protos.chalk.common.v1.UploadFeaturesBulkResponse>( service, METHODID_UPLOAD_FEATURES_BULK))) .addMethod( getUploadFeaturesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.common.v1.UploadFeaturesRequest, ai.chalk.protos.chalk.common.v1.UploadFeaturesResponse>( service, METHODID_UPLOAD_FEATURES))) .addMethod( getPlanAggregateBackfillMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillRequest, ai.chalk.protos.chalk.aggregate.v1.PlanAggregateBackfillResponse>( service, METHODID_PLAN_AGGREGATE_BACKFILL))) .addMethod( getGetAggregatesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ai.chalk.protos.chalk.aggregate.v1.GetAggregatesRequest, ai.chalk.protos.chalk.aggregate.v1.GetAggregatesResponse>( service, METHODID_GET_AGGREGATES))) .build(); } private static abstract class QueryServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { QueryServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return ai.chalk.protos.chalk.engine.v1.QueryServerProto.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("QueryService"); } } private static final class QueryServiceFileDescriptorSupplier extends QueryServiceBaseDescriptorSupplier { QueryServiceFileDescriptorSupplier() {} } private static final class QueryServiceMethodDescriptorSupplier extends QueryServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final java.lang.String methodName; QueryServiceMethodDescriptorSupplier(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 (QueryServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new QueryServiceFileDescriptorSupplier()) .addMethod(getPingMethod()) .addMethod(getOnlineQueryMethod()) .addMethod(getOnlineQueryBulkMethod()) .addMethod(getOnlineQueryMultiMethod()) .addMethod(getUploadFeaturesBulkMethod()) .addMethod(getUploadFeaturesMethod()) .addMethod(getPlanAggregateBackfillMethod()) .addMethod(getGetAggregatesMethod()) .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/v1/RawColumnKey.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * <pre> * Arbitrary computed column that does not correspond to a feature (e.g. for computing a sum(...) ) * </pre> * * Protobuf type {@code chalk.engine.v1.RawColumnKey} */ public final class RawColumnKey extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.RawColumnKey) RawColumnKeyOrBuilder { private static final long serialVersionUID = 0L; // Use RawColumnKey.newBuilder() to construct. private RawColumnKey(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private RawColumnKey() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RawColumnKey(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_RawColumnKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_RawColumnKey_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.RawColumnKey.class, ai.chalk.protos.chalk.engine.v1.RawColumnKey.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.engine.v1.RawColumnKey)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.RawColumnKey other = (ai.chalk.protos.chalk.engine.v1.RawColumnKey) 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.engine.v1.RawColumnKey parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.RawColumnKey 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.v1.RawColumnKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.RawColumnKey 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.v1.RawColumnKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.RawColumnKey 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.v1.RawColumnKey parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.RawColumnKey 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.v1.RawColumnKey parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.RawColumnKey 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.v1.RawColumnKey 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.v1.RawColumnKey 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.v1.RawColumnKey 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> * Arbitrary computed column that does not correspond to a feature (e.g. for computing a sum(...) ) * </pre> * * Protobuf type {@code chalk.engine.v1.RawColumnKey} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.RawColumnKey) ai.chalk.protos.chalk.engine.v1.RawColumnKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_RawColumnKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_RawColumnKey_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.RawColumnKey.class, ai.chalk.protos.chalk.engine.v1.RawColumnKey.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.RawColumnKey.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.engine.v1.PlanProto.internal_static_chalk_engine_v1_RawColumnKey_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.RawColumnKey getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.RawColumnKey.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.RawColumnKey build() { ai.chalk.protos.chalk.engine.v1.RawColumnKey result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.RawColumnKey buildPartial() { ai.chalk.protos.chalk.engine.v1.RawColumnKey result = new ai.chalk.protos.chalk.engine.v1.RawColumnKey(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.RawColumnKey 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.engine.v1.RawColumnKey) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.RawColumnKey)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.RawColumnKey other) { if (other == ai.chalk.protos.chalk.engine.v1.RawColumnKey.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.engine.v1.RawColumnKey) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.RawColumnKey) private static final ai.chalk.protos.chalk.engine.v1.RawColumnKey DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.RawColumnKey(); } public static ai.chalk.protos.chalk.engine.v1.RawColumnKey getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<RawColumnKey> PARSER = new com.google.protobuf.AbstractParser<RawColumnKey>() { @java.lang.Override public RawColumnKey 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<RawColumnKey> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<RawColumnKey> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.RawColumnKey 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/v1/RawColumnKeyOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface RawColumnKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.RawColumnKey) 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/engine
java-sources/ai/chalk/chalk-java/1.2.1/ai/chalk/protos/chalk/engine/v1/TableKey.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.TableKey} */ public final class TableKey extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.TableKey) TableKeyOrBuilder { private static final long serialVersionUID = 0L; // Use TableKey.newBuilder() to construct. private TableKey(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private TableKey() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableKey(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_TableKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_TableKey_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.TableKey.class, ai.chalk.protos.chalk.engine.v1.TableKey.Builder.class); } private int keyCase_ = 0; @SuppressWarnings("serial") private java.lang.Object key_; public enum KeyCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { HAS_MANY(1), DATA_FRAME(2), KEY_NOT_SET(0); private final int value; private KeyCase(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 KeyCase valueOf(int value) { return forNumber(value); } public static KeyCase forNumber(int value) { switch (value) { case 1: return HAS_MANY; case 2: return DATA_FRAME; case 0: return KEY_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public KeyCase getKeyCase() { return KeyCase.forNumber( keyCase_); } public static final int HAS_MANY_FIELD_NUMBER = 1; /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> * @return Whether the hasMany field is set. */ @java.lang.Override public boolean hasHasMany() { return keyCase_ == 1; } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> * @return The hasMany. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey getHasMany() { if (keyCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) key_; } return ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder getHasManyOrBuilder() { if (keyCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) key_; } return ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } public static final int DATA_FRAME_FIELD_NUMBER = 2; /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> * @return Whether the dataFrame field is set. */ @java.lang.Override public boolean hasDataFrame() { return keyCase_ == 2; } /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> * @return The dataFrame. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey getDataFrame() { if (keyCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) key_; } return ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance(); } /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder getDataFrameOrBuilder() { if (keyCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) key_; } return ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.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 (keyCase_ == 1) { output.writeMessage(1, (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) key_); } if (keyCase_ == 2) { output.writeMessage(2, (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) key_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (keyCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) key_); } if (keyCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) key_); } 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.v1.TableKey)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.TableKey other = (ai.chalk.protos.chalk.engine.v1.TableKey) obj; if (!getKeyCase().equals(other.getKeyCase())) return false; switch (keyCase_) { case 1: if (!getHasMany() .equals(other.getHasMany())) return false; break; case 2: if (!getDataFrame() .equals(other.getDataFrame())) 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(); switch (keyCase_) { case 1: hash = (37 * hash) + HAS_MANY_FIELD_NUMBER; hash = (53 * hash) + getHasMany().hashCode(); break; case 2: hash = (37 * hash) + DATA_FRAME_FIELD_NUMBER; hash = (53 * hash) + getDataFrame().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.TableKey parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.TableKey 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.v1.TableKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.TableKey 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.v1.TableKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.TableKey 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.v1.TableKey parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.TableKey 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.v1.TableKey parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.TableKey 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.v1.TableKey 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.v1.TableKey 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.v1.TableKey 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.v1.TableKey} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.TableKey) ai.chalk.protos.chalk.engine.v1.TableKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_TableKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_TableKey_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.TableKey.class, ai.chalk.protos.chalk.engine.v1.TableKey.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.TableKey.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (hasManyBuilder_ != null) { hasManyBuilder_.clear(); } if (dataFrameBuilder_ != null) { dataFrameBuilder_.clear(); } keyCase_ = 0; key_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_TableKey_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.TableKey getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.TableKey.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.TableKey build() { ai.chalk.protos.chalk.engine.v1.TableKey result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.TableKey buildPartial() { ai.chalk.protos.chalk.engine.v1.TableKey result = new ai.chalk.protos.chalk.engine.v1.TableKey(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.TableKey result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(ai.chalk.protos.chalk.engine.v1.TableKey result) { result.keyCase_ = keyCase_; result.key_ = this.key_; if (keyCase_ == 1 && hasManyBuilder_ != null) { result.key_ = hasManyBuilder_.build(); } if (keyCase_ == 2 && dataFrameBuilder_ != null) { result.key_ = dataFrameBuilder_.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.v1.TableKey) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.TableKey)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.TableKey other) { if (other == ai.chalk.protos.chalk.engine.v1.TableKey.getDefaultInstance()) return this; switch (other.getKeyCase()) { case HAS_MANY: { mergeHasMany(other.getHasMany()); break; } case DATA_FRAME: { mergeDataFrame(other.getDataFrame()); break; } case KEY_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( getHasManyFieldBuilder().getBuilder(), extensionRegistry); keyCase_ = 1; break; } // case 10 case 18: { input.readMessage( getDataFrameFieldBuilder().getBuilder(), extensionRegistry); keyCase_ = 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 keyCase_ = 0; private java.lang.Object key_; public KeyCase getKeyCase() { return KeyCase.forNumber( keyCase_); } public Builder clearKey() { keyCase_ = 0; key_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.Builder, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder> hasManyBuilder_; /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> * @return Whether the hasMany field is set. */ @java.lang.Override public boolean hasHasMany() { return keyCase_ == 1; } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> * @return The hasMany. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey getHasMany() { if (hasManyBuilder_ == null) { if (keyCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) key_; } return ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } else { if (keyCase_ == 1) { return hasManyBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> */ public Builder setHasMany(ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey value) { if (hasManyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); } else { hasManyBuilder_.setMessage(value); } keyCase_ = 1; return this; } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> */ public Builder setHasMany( ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.Builder builderForValue) { if (hasManyBuilder_ == null) { key_ = builderForValue.build(); onChanged(); } else { hasManyBuilder_.setMessage(builderForValue.build()); } keyCase_ = 1; return this; } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> */ public Builder mergeHasMany(ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey value) { if (hasManyBuilder_ == null) { if (keyCase_ == 1 && key_ != ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance()) { key_ = ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.newBuilder((ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) key_) .mergeFrom(value).buildPartial(); } else { key_ = value; } onChanged(); } else { if (keyCase_ == 1) { hasManyBuilder_.mergeFrom(value); } else { hasManyBuilder_.setMessage(value); } } keyCase_ = 1; return this; } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> */ public Builder clearHasMany() { if (hasManyBuilder_ == null) { if (keyCase_ == 1) { keyCase_ = 0; key_ = null; onChanged(); } } else { if (keyCase_ == 1) { keyCase_ = 0; key_ = null; } hasManyBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> */ public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.Builder getHasManyBuilder() { return getHasManyFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder getHasManyOrBuilder() { if ((keyCase_ == 1) && (hasManyBuilder_ != null)) { return hasManyBuilder_.getMessageOrBuilder(); } else { if (keyCase_ == 1) { return (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) key_; } return ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.Builder, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder> getHasManyFieldBuilder() { if (hasManyBuilder_ == null) { if (!(keyCase_ == 1)) { key_ = ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.getDefaultInstance(); } hasManyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey.Builder, ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder>( (ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey) key_, getParentForChildren(), isClean()); key_ = null; } keyCase_ = 1; onChanged(); return hasManyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.Builder, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder> dataFrameBuilder_; /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> * @return Whether the dataFrame field is set. */ @java.lang.Override public boolean hasDataFrame() { return keyCase_ == 2; } /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> * @return The dataFrame. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey getDataFrame() { if (dataFrameBuilder_ == null) { if (keyCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) key_; } return ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance(); } else { if (keyCase_ == 2) { return dataFrameBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> */ public Builder setDataFrame(ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey value) { if (dataFrameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); } else { dataFrameBuilder_.setMessage(value); } keyCase_ = 2; return this; } /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> */ public Builder setDataFrame( ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.Builder builderForValue) { if (dataFrameBuilder_ == null) { key_ = builderForValue.build(); onChanged(); } else { dataFrameBuilder_.setMessage(builderForValue.build()); } keyCase_ = 2; return this; } /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> */ public Builder mergeDataFrame(ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey value) { if (dataFrameBuilder_ == null) { if (keyCase_ == 2 && key_ != ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance()) { key_ = ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.newBuilder((ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) key_) .mergeFrom(value).buildPartial(); } else { key_ = value; } onChanged(); } else { if (keyCase_ == 2) { dataFrameBuilder_.mergeFrom(value); } else { dataFrameBuilder_.setMessage(value); } } keyCase_ = 2; return this; } /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> */ public Builder clearDataFrame() { if (dataFrameBuilder_ == null) { if (keyCase_ == 2) { keyCase_ = 0; key_ = null; onChanged(); } } else { if (keyCase_ == 2) { keyCase_ = 0; key_ = null; } dataFrameBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> */ public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.Builder getDataFrameBuilder() { return getDataFrameFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder getDataFrameOrBuilder() { if ((keyCase_ == 2) && (dataFrameBuilder_ != null)) { return dataFrameBuilder_.getMessageOrBuilder(); } else { if (keyCase_ == 2) { return (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) key_; } return ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance(); } } /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.Builder, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder> getDataFrameFieldBuilder() { if (dataFrameBuilder_ == null) { if (!(keyCase_ == 2)) { key_ = ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.getDefaultInstance(); } dataFrameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey.Builder, ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder>( (ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey) key_, getParentForChildren(), isClean()); key_ = null; } keyCase_ = 2; onChanged(); return dataFrameBuilder_; } @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.v1.TableKey) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.TableKey) private static final ai.chalk.protos.chalk.engine.v1.TableKey DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.TableKey(); } public static ai.chalk.protos.chalk.engine.v1.TableKey getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<TableKey> PARSER = new com.google.protobuf.AbstractParser<TableKey>() { @java.lang.Override public TableKey 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<TableKey> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<TableKey> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.TableKey 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/v1/TableKeyOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface TableKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.TableKey) com.google.protobuf.MessageOrBuilder { /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> * @return Whether the hasMany field is set. */ boolean hasHasMany(); /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> * @return The hasMany. */ ai.chalk.protos.chalk.engine.v1.HasManyFeatureKey getHasMany(); /** * <code>.chalk.engine.v1.HasManyFeatureKey has_many = 1 [json_name = "hasMany"];</code> */ ai.chalk.protos.chalk.engine.v1.HasManyFeatureKeyOrBuilder getHasManyOrBuilder(); /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> * @return Whether the dataFrame field is set. */ boolean hasDataFrame(); /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> * @return The dataFrame. */ ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKey getDataFrame(); /** * <code>.chalk.engine.v1.DataFrameFeatureKey data_frame = 2 [json_name = "dataFrame"];</code> */ ai.chalk.protos.chalk.engine.v1.DataFrameFeatureKeyOrBuilder getDataFrameOrBuilder(); ai.chalk.protos.chalk.engine.v1.TableKey.KeyCase getKeyCase(); }
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/v1/UnknownNode.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; /** * Protobuf type {@code chalk.engine.v1.UnknownNode} */ public final class UnknownNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v1.UnknownNode) UnknownNodeOrBuilder { private static final long serialVersionUID = 0L; // Use UnknownNode.newBuilder() to construct. private UnknownNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private UnknownNode() { typeName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UnknownNode(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_UnknownNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_UnknownNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.UnknownNode.class, ai.chalk.protos.chalk.engine.v1.UnknownNode.Builder.class); } public static final int TYPE_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object typeName_ = ""; /** * <code>string type_name = 1 [json_name = "typeName"];</code> * @return The typeName. */ @java.lang.Override public java.lang.String getTypeName() { java.lang.Object ref = typeName_; 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(); typeName_ = s; return s; } } /** * <code>string type_name = 1 [json_name = "typeName"];</code> * @return The bytes for typeName. */ @java.lang.Override public com.google.protobuf.ByteString getTypeNameBytes() { java.lang.Object ref = typeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); typeName_ = 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(typeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, typeName_); } 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(typeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, typeName_); } 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.v1.UnknownNode)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v1.UnknownNode other = (ai.chalk.protos.chalk.engine.v1.UnknownNode) obj; if (!getTypeName() .equals(other.getTypeName())) 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) + TYPE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTypeName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v1.UnknownNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.UnknownNode 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.v1.UnknownNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.UnknownNode 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.v1.UnknownNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v1.UnknownNode 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.v1.UnknownNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.UnknownNode 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.v1.UnknownNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ai.chalk.protos.chalk.engine.v1.UnknownNode 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.v1.UnknownNode 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.v1.UnknownNode 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.v1.UnknownNode 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.v1.UnknownNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v1.UnknownNode) ai.chalk.protos.chalk.engine.v1.UnknownNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_UnknownNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_UnknownNode_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v1.UnknownNode.class, ai.chalk.protos.chalk.engine.v1.UnknownNode.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v1.UnknownNode.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; typeName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ai.chalk.protos.chalk.engine.v1.PlanProto.internal_static_chalk_engine_v1_UnknownNode_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.UnknownNode getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v1.UnknownNode.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.UnknownNode build() { ai.chalk.protos.chalk.engine.v1.UnknownNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.UnknownNode buildPartial() { ai.chalk.protos.chalk.engine.v1.UnknownNode result = new ai.chalk.protos.chalk.engine.v1.UnknownNode(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v1.UnknownNode result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.typeName_ = typeName_; } } @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.v1.UnknownNode) { return mergeFrom((ai.chalk.protos.chalk.engine.v1.UnknownNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v1.UnknownNode other) { if (other == ai.chalk.protos.chalk.engine.v1.UnknownNode.getDefaultInstance()) return this; if (!other.getTypeName().isEmpty()) { typeName_ = other.typeName_; 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: { typeName_ = 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 typeName_ = ""; /** * <code>string type_name = 1 [json_name = "typeName"];</code> * @return The typeName. */ public java.lang.String getTypeName() { java.lang.Object ref = typeName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); typeName_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string type_name = 1 [json_name = "typeName"];</code> * @return The bytes for typeName. */ public com.google.protobuf.ByteString getTypeNameBytes() { java.lang.Object ref = typeName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); typeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string type_name = 1 [json_name = "typeName"];</code> * @param value The typeName to set. * @return This builder for chaining. */ public Builder setTypeName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } typeName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string type_name = 1 [json_name = "typeName"];</code> * @return This builder for chaining. */ public Builder clearTypeName() { typeName_ = getDefaultInstance().getTypeName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string type_name = 1 [json_name = "typeName"];</code> * @param value The bytes for typeName to set. * @return This builder for chaining. */ public Builder setTypeNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); typeName_ = 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.v1.UnknownNode) } // @@protoc_insertion_point(class_scope:chalk.engine.v1.UnknownNode) private static final ai.chalk.protos.chalk.engine.v1.UnknownNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v1.UnknownNode(); } public static ai.chalk.protos.chalk.engine.v1.UnknownNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<UnknownNode> PARSER = new com.google.protobuf.AbstractParser<UnknownNode>() { @java.lang.Override public UnknownNode 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<UnknownNode> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<UnknownNode> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v1.UnknownNode 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/v1/UnknownNodeOrBuilder.java
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chalk/engine/v1/plan.proto // Protobuf Java Version: 3.25.1 package ai.chalk.protos.chalk.engine.v1; public interface UnknownNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v1.UnknownNode) com.google.protobuf.MessageOrBuilder { /** * <code>string type_name = 1 [json_name = "typeName"];</code> * @return The typeName. */ java.lang.String getTypeName(); /** * <code>string type_name = 1 [json_name = "typeName"];</code> * @return The bytes for typeName. */ com.google.protobuf.ByteString getTypeNameBytes(); }
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/FeatureValueBaseWindowFunction.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 enum {@code chalk.engine.v2.FeatureValueBaseWindowFunction} */ public enum FeatureValueBaseWindowFunction implements com.google.protobuf.ProtocolMessageEnum { /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNSPECIFIED = 0;</code> */ FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNSPECIFIED(0), /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_VALUES = 1;</code> */ FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_VALUES(1), /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_TOTAL_OBSERVATIONS = 2;</code> */ FEATURE_VALUE_BASE_WINDOW_FUNCTION_TOTAL_OBSERVATIONS(2), /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_NULL_PERCENTAGE = 3;</code> */ FEATURE_VALUE_BASE_WINDOW_FUNCTION_NULL_PERCENTAGE(3), /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_MAX_VALUE = 4;</code> */ FEATURE_VALUE_BASE_WINDOW_FUNCTION_MAX_VALUE(4), /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_MIN_VALUE = 5;</code> */ FEATURE_VALUE_BASE_WINDOW_FUNCTION_MIN_VALUE(5), /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_AVERAGE = 6;</code> */ FEATURE_VALUE_BASE_WINDOW_FUNCTION_AVERAGE(6), /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_PKEYS = 7;</code> */ FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_PKEYS(7), UNRECOGNIZED(-1), ; /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNSPECIFIED = 0;</code> */ public static final int FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNSPECIFIED_VALUE = 0; /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_VALUES = 1;</code> */ public static final int FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_VALUES_VALUE = 1; /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_TOTAL_OBSERVATIONS = 2;</code> */ public static final int FEATURE_VALUE_BASE_WINDOW_FUNCTION_TOTAL_OBSERVATIONS_VALUE = 2; /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_NULL_PERCENTAGE = 3;</code> */ public static final int FEATURE_VALUE_BASE_WINDOW_FUNCTION_NULL_PERCENTAGE_VALUE = 3; /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_MAX_VALUE = 4;</code> */ public static final int FEATURE_VALUE_BASE_WINDOW_FUNCTION_MAX_VALUE_VALUE = 4; /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_MIN_VALUE = 5;</code> */ public static final int FEATURE_VALUE_BASE_WINDOW_FUNCTION_MIN_VALUE_VALUE = 5; /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_AVERAGE = 6;</code> */ public static final int FEATURE_VALUE_BASE_WINDOW_FUNCTION_AVERAGE_VALUE = 6; /** * <code>FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_PKEYS = 7;</code> */ public static final int FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_PKEYS_VALUE = 7; 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 FeatureValueBaseWindowFunction 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 FeatureValueBaseWindowFunction forNumber(int value) { switch (value) { case 0: return FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNSPECIFIED; case 1: return FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_VALUES; case 2: return FEATURE_VALUE_BASE_WINDOW_FUNCTION_TOTAL_OBSERVATIONS; case 3: return FEATURE_VALUE_BASE_WINDOW_FUNCTION_NULL_PERCENTAGE; case 4: return FEATURE_VALUE_BASE_WINDOW_FUNCTION_MAX_VALUE; case 5: return FEATURE_VALUE_BASE_WINDOW_FUNCTION_MIN_VALUE; case 6: return FEATURE_VALUE_BASE_WINDOW_FUNCTION_AVERAGE; case 7: return FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_PKEYS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<FeatureValueBaseWindowFunction> internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< FeatureValueBaseWindowFunction> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<FeatureValueBaseWindowFunction>() { public FeatureValueBaseWindowFunction findValueByNumber(int number) { return FeatureValueBaseWindowFunction.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.engine.v2.FeatureValuesChartProto.getDescriptor().getEnumTypes().get(0); } private static final FeatureValueBaseWindowFunction[] VALUES = values(); public static FeatureValueBaseWindowFunction 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 FeatureValueBaseWindowFunction(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:chalk.engine.v2.FeatureValueBaseWindowFunction) }
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/FeatureValueFilters.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.FeatureValueFilters} */ public final class FeatureValueFilters extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.FeatureValueFilters) FeatureValueFiltersOrBuilder { private static final long serialVersionUID = 0L; // Use FeatureValueFilters.newBuilder() to construct. private FeatureValueFilters(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private FeatureValueFilters() { resolverFqn_ = com.google.protobuf.LazyStringArrayList.emptyList(); deploymentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); operationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); operationKind_ = java.util.Collections.emptyList(); primaryKey_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FeatureValueFilters(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_FeatureValueFilters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_FeatureValueFilters_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.class, ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.Builder.class); } public static final int RESOLVER_FQN_FIELD_NUMBER = 1; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList resolverFqn_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @return A list containing the resolverFqn. */ public com.google.protobuf.ProtocolStringList getResolverFqnList() { return resolverFqn_; } /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @return The count of resolverFqn. */ public int getResolverFqnCount() { return resolverFqn_.size(); } /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @param index The index of the element to return. * @return The resolverFqn at the given index. */ public java.lang.String getResolverFqn(int index) { return resolverFqn_.get(index); } /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @param index The index of the value to return. * @return The bytes of the resolverFqn at the given index. */ public com.google.protobuf.ByteString getResolverFqnBytes(int index) { return resolverFqn_.getByteString(index); } public static final int DEPLOYMENT_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList deploymentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <code>repeated string deployment_id = 2 [json_name = "deploymentId"];</code> * @return A list containing the deploymentId. */ public com.google.protobuf.ProtocolStringList getDeploymentIdList() { return deploymentId_; } /** * <code>repeated string deployment_id = 2 [json_name = "deploymentId"];</code> * @return The count of deploymentId. */ public int getDeploymentIdCount() { return deploymentId_.size(); } /** * <code>repeated string deployment_id = 2 [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 = 2 [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 OPERATION_ID_FIELD_NUMBER = 3; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList operationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * <code>repeated string operation_id = 3 [json_name = "operationId"];</code> * @return A list containing the operationId. */ public com.google.protobuf.ProtocolStringList getOperationIdList() { return operationId_; } /** * <code>repeated string operation_id = 3 [json_name = "operationId"];</code> * @return The count of operationId. */ public int getOperationIdCount() { return operationId_.size(); } /** * <code>repeated string operation_id = 3 [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); } /** * <code>repeated string operation_id = 3 [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 = 4; @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 = 4 [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 = 4 [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 = 4 [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 = 4 [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 = 4 [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 PRIMARY_KEY_FIELD_NUMBER = 5; @SuppressWarnings("serial") private java.util.List<ai.chalk.protos.chalk.arrow.v1.ScalarValue> primaryKey_; /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ @java.lang.Override public java.util.List<ai.chalk.protos.chalk.arrow.v1.ScalarValue> getPrimaryKeyList() { return primaryKey_; } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ @java.lang.Override public java.util.List<? extends ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> getPrimaryKeyOrBuilderList() { return primaryKey_; } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ @java.lang.Override public int getPrimaryKeyCount() { return primaryKey_.size(); } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.arrow.v1.ScalarValue getPrimaryKey(int index) { return primaryKey_.get(index); } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getPrimaryKeyOrBuilder( int index) { return primaryKey_.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 { getSerializedSize(); for (int i = 0; i < resolverFqn_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resolverFqn_.getRaw(i)); } for (int i = 0; i < deploymentId_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deploymentId_.getRaw(i)); } for (int i = 0; i < operationId_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, operationId_.getRaw(i)); } if (getOperationKindList().size() > 0) { output.writeUInt32NoTag(34); output.writeUInt32NoTag(operationKindMemoizedSerializedSize); } for (int i = 0; i < operationKind_.size(); i++) { output.writeEnumNoTag(operationKind_.get(i)); } for (int i = 0; i < primaryKey_.size(); i++) { output.writeMessage(5, primaryKey_.get(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 < resolverFqn_.size(); i++) { dataSize += computeStringSizeNoTag(resolverFqn_.getRaw(i)); } size += dataSize; size += 1 * getResolverFqnList().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 < 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 < primaryKey_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, primaryKey_.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.engine.v2.FeatureValueFilters)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.FeatureValueFilters other = (ai.chalk.protos.chalk.engine.v2.FeatureValueFilters) obj; if (!getResolverFqnList() .equals(other.getResolverFqnList())) return false; if (!getDeploymentIdList() .equals(other.getDeploymentIdList())) return false; if (!getOperationIdList() .equals(other.getOperationIdList())) return false; if (!operationKind_.equals(other.operationKind_)) return false; if (!getPrimaryKeyList() .equals(other.getPrimaryKeyList())) 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 (getResolverFqnCount() > 0) { hash = (37 * hash) + RESOLVER_FQN_FIELD_NUMBER; hash = (53 * hash) + getResolverFqnList().hashCode(); } if (getDeploymentIdCount() > 0) { hash = (37 * hash) + DEPLOYMENT_ID_FIELD_NUMBER; hash = (53 * hash) + getDeploymentIdList().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 (getPrimaryKeyCount() > 0) { hash = (37 * hash) + PRIMARY_KEY_FIELD_NUMBER; hash = (53 * hash) + getPrimaryKeyList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.FeatureValueFilters parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.FeatureValueFilters 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.FeatureValueFilters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.FeatureValueFilters 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.FeatureValueFilters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.FeatureValueFilters 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.FeatureValueFilters 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.FeatureValueFilters 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.FeatureValueFilters 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.FeatureValueFilters 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.FeatureValueFilters 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.FeatureValueFilters 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.FeatureValueFilters 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.FeatureValueFilters} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.FeatureValueFilters) ai.chalk.protos.chalk.engine.v2.FeatureValueFiltersOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_FeatureValueFilters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_FeatureValueFilters_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.class, ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; resolverFqn_ = com.google.protobuf.LazyStringArrayList.emptyList(); deploymentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); operationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); operationKind_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); if (primaryKeyBuilder_ == null) { primaryKey_ = java.util.Collections.emptyList(); } else { primaryKey_ = null; primaryKeyBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); 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_FeatureValueFilters_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueFilters getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueFilters build() { ai.chalk.protos.chalk.engine.v2.FeatureValueFilters result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueFilters buildPartial() { ai.chalk.protos.chalk.engine.v2.FeatureValueFilters result = new ai.chalk.protos.chalk.engine.v2.FeatureValueFilters(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ai.chalk.protos.chalk.engine.v2.FeatureValueFilters result) { if (((bitField0_ & 0x00000008) != 0)) { operationKind_ = java.util.Collections.unmodifiableList(operationKind_); bitField0_ = (bitField0_ & ~0x00000008); } result.operationKind_ = operationKind_; if (primaryKeyBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { primaryKey_ = java.util.Collections.unmodifiableList(primaryKey_); bitField0_ = (bitField0_ & ~0x00000010); } result.primaryKey_ = primaryKey_; } else { result.primaryKey_ = primaryKeyBuilder_.build(); } } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.FeatureValueFilters result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { resolverFqn_.makeImmutable(); result.resolverFqn_ = resolverFqn_; } if (((from_bitField0_ & 0x00000002) != 0)) { deploymentId_.makeImmutable(); result.deploymentId_ = deploymentId_; } if (((from_bitField0_ & 0x00000004) != 0)) { operationId_.makeImmutable(); 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.FeatureValueFilters) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.FeatureValueFilters)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.FeatureValueFilters other) { if (other == ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.getDefaultInstance()) return this; if (!other.resolverFqn_.isEmpty()) { if (resolverFqn_.isEmpty()) { resolverFqn_ = other.resolverFqn_; bitField0_ |= 0x00000001; } else { ensureResolverFqnIsMutable(); resolverFqn_.addAll(other.resolverFqn_); } onChanged(); } if (!other.deploymentId_.isEmpty()) { if (deploymentId_.isEmpty()) { deploymentId_ = other.deploymentId_; bitField0_ |= 0x00000002; } else { ensureDeploymentIdIsMutable(); deploymentId_.addAll(other.deploymentId_); } onChanged(); } if (!other.operationId_.isEmpty()) { if (operationId_.isEmpty()) { operationId_ = other.operationId_; bitField0_ |= 0x00000004; } else { ensureOperationIdIsMutable(); operationId_.addAll(other.operationId_); } onChanged(); } if (!other.operationKind_.isEmpty()) { if (operationKind_.isEmpty()) { operationKind_ = other.operationKind_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureOperationKindIsMutable(); operationKind_.addAll(other.operationKind_); } onChanged(); } if (primaryKeyBuilder_ == null) { if (!other.primaryKey_.isEmpty()) { if (primaryKey_.isEmpty()) { primaryKey_ = other.primaryKey_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensurePrimaryKeyIsMutable(); primaryKey_.addAll(other.primaryKey_); } onChanged(); } } else { if (!other.primaryKey_.isEmpty()) { if (primaryKeyBuilder_.isEmpty()) { primaryKeyBuilder_.dispose(); primaryKeyBuilder_ = null; primaryKey_ = other.primaryKey_; bitField0_ = (bitField0_ & ~0x00000010); primaryKeyBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPrimaryKeyFieldBuilder() : null; } else { primaryKeyBuilder_.addAllMessages(other.primaryKey_); } } } 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(); ensureResolverFqnIsMutable(); resolverFqn_.add(s); break; } // case 10 case 18: { java.lang.String s = input.readStringRequireUtf8(); ensureDeploymentIdIsMutable(); deploymentId_.add(s); break; } // case 18 case 26: { java.lang.String s = input.readStringRequireUtf8(); ensureOperationIdIsMutable(); operationId_.add(s); break; } // case 26 case 32: { int tmpRaw = input.readEnum(); ensureOperationKindIsMutable(); operationKind_.add(tmpRaw); break; } // case 32 case 34: { 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 34 case 42: { ai.chalk.protos.chalk.arrow.v1.ScalarValue m = input.readMessage( ai.chalk.protos.chalk.arrow.v1.ScalarValue.parser(), extensionRegistry); if (primaryKeyBuilder_ == null) { ensurePrimaryKeyIsMutable(); primaryKey_.add(m); } else { primaryKeyBuilder_.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 com.google.protobuf.LazyStringArrayList resolverFqn_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureResolverFqnIsMutable() { if (!resolverFqn_.isModifiable()) { resolverFqn_ = new com.google.protobuf.LazyStringArrayList(resolverFqn_); } bitField0_ |= 0x00000001; } /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @return A list containing the resolverFqn. */ public com.google.protobuf.ProtocolStringList getResolverFqnList() { resolverFqn_.makeImmutable(); return resolverFqn_; } /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @return The count of resolverFqn. */ public int getResolverFqnCount() { return resolverFqn_.size(); } /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @param index The index of the element to return. * @return The resolverFqn at the given index. */ public java.lang.String getResolverFqn(int index) { return resolverFqn_.get(index); } /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @param index The index of the value to return. * @return The bytes of the resolverFqn at the given index. */ public com.google.protobuf.ByteString getResolverFqnBytes(int index) { return resolverFqn_.getByteString(index); } /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @param index The index to set the value at. * @param value The resolverFqn to set. * @return This builder for chaining. */ public Builder setResolverFqn( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureResolverFqnIsMutable(); resolverFqn_.set(index, value); bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @param value The resolverFqn to add. * @return This builder for chaining. */ public Builder addResolverFqn( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureResolverFqnIsMutable(); resolverFqn_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @param values The resolverFqn to add. * @return This builder for chaining. */ public Builder addAllResolverFqn( java.lang.Iterable<java.lang.String> values) { ensureResolverFqnIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, resolverFqn_); bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @return This builder for chaining. */ public Builder clearResolverFqn() { resolverFqn_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @param value The bytes of the resolverFqn to add. * @return This builder for chaining. */ public Builder addResolverFqnBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureResolverFqnIsMutable(); resolverFqn_.add(value); bitField0_ |= 0x00000001; 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_ |= 0x00000002; } /** * <code>repeated string deployment_id = 2 [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 = 2 [json_name = "deploymentId"];</code> * @return The count of deploymentId. */ public int getDeploymentIdCount() { return deploymentId_.size(); } /** * <code>repeated string deployment_id = 2 [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 = 2 [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 = 2 [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_ |= 0x00000002; onChanged(); return this; } /** * <code>repeated string deployment_id = 2 [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_ |= 0x00000002; onChanged(); return this; } /** * <code>repeated string deployment_id = 2 [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_ |= 0x00000002; onChanged(); return this; } /** * <code>repeated string deployment_id = 2 [json_name = "deploymentId"];</code> * @return This builder for chaining. */ public Builder clearDeploymentId() { deploymentId_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** * <code>repeated string deployment_id = 2 [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_ |= 0x00000002; onChanged(); return this; } 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_ |= 0x00000004; } /** * <code>repeated string operation_id = 3 [json_name = "operationId"];</code> * @return A list containing the operationId. */ public com.google.protobuf.ProtocolStringList getOperationIdList() { operationId_.makeImmutable(); return operationId_; } /** * <code>repeated string operation_id = 3 [json_name = "operationId"];</code> * @return The count of operationId. */ public int getOperationIdCount() { return operationId_.size(); } /** * <code>repeated string operation_id = 3 [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); } /** * <code>repeated string operation_id = 3 [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); } /** * <code>repeated string operation_id = 3 [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_ |= 0x00000004; onChanged(); return this; } /** * <code>repeated string operation_id = 3 [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_ |= 0x00000004; onChanged(); return this; } /** * <code>repeated string operation_id = 3 [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_ |= 0x00000004; onChanged(); return this; } /** * <code>repeated string operation_id = 3 [json_name = "operationId"];</code> * @return This builder for chaining. */ public Builder clearOperationId() { operationId_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** * <code>repeated string operation_id = 3 [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_ |= 0x00000004; onChanged(); return this; } private java.util.List<java.lang.Integer> operationKind_ = java.util.Collections.emptyList(); private void ensureOperationKindIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { operationKind_ = new java.util.ArrayList<java.lang.Integer>(operationKind_); bitField0_ |= 0x00000008; } } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 4 [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 = 4 [json_name = "operationKind"];</code> * @return The count of operationKind. */ public int getOperationKindCount() { return operationKind_.size(); } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 4 [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 = 4 [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 = 4 [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 = 4 [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 = 4 [json_name = "operationKind"];</code> * @return This builder for chaining. */ public Builder clearOperationKind() { operationKind_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 4 [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 = 4 [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 = 4 [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 = 4 [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 = 4 [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.arrow.v1.ScalarValue> primaryKey_ = java.util.Collections.emptyList(); private void ensurePrimaryKeyIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { primaryKey_ = new java.util.ArrayList<ai.chalk.protos.chalk.arrow.v1.ScalarValue>(primaryKey_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> primaryKeyBuilder_; /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public java.util.List<ai.chalk.protos.chalk.arrow.v1.ScalarValue> getPrimaryKeyList() { if (primaryKeyBuilder_ == null) { return java.util.Collections.unmodifiableList(primaryKey_); } else { return primaryKeyBuilder_.getMessageList(); } } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public int getPrimaryKeyCount() { if (primaryKeyBuilder_ == null) { return primaryKey_.size(); } else { return primaryKeyBuilder_.getCount(); } } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public ai.chalk.protos.chalk.arrow.v1.ScalarValue getPrimaryKey(int index) { if (primaryKeyBuilder_ == null) { return primaryKey_.get(index); } else { return primaryKeyBuilder_.getMessage(index); } } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public Builder setPrimaryKey( int index, ai.chalk.protos.chalk.arrow.v1.ScalarValue value) { if (primaryKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePrimaryKeyIsMutable(); primaryKey_.set(index, value); onChanged(); } else { primaryKeyBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public Builder setPrimaryKey( int index, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder builderForValue) { if (primaryKeyBuilder_ == null) { ensurePrimaryKeyIsMutable(); primaryKey_.set(index, builderForValue.build()); onChanged(); } else { primaryKeyBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public Builder addPrimaryKey(ai.chalk.protos.chalk.arrow.v1.ScalarValue value) { if (primaryKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePrimaryKeyIsMutable(); primaryKey_.add(value); onChanged(); } else { primaryKeyBuilder_.addMessage(value); } return this; } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public Builder addPrimaryKey( int index, ai.chalk.protos.chalk.arrow.v1.ScalarValue value) { if (primaryKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePrimaryKeyIsMutable(); primaryKey_.add(index, value); onChanged(); } else { primaryKeyBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public Builder addPrimaryKey( ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder builderForValue) { if (primaryKeyBuilder_ == null) { ensurePrimaryKeyIsMutable(); primaryKey_.add(builderForValue.build()); onChanged(); } else { primaryKeyBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public Builder addPrimaryKey( int index, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder builderForValue) { if (primaryKeyBuilder_ == null) { ensurePrimaryKeyIsMutable(); primaryKey_.add(index, builderForValue.build()); onChanged(); } else { primaryKeyBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public Builder addAllPrimaryKey( java.lang.Iterable<? extends ai.chalk.protos.chalk.arrow.v1.ScalarValue> values) { if (primaryKeyBuilder_ == null) { ensurePrimaryKeyIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, primaryKey_); onChanged(); } else { primaryKeyBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public Builder clearPrimaryKey() { if (primaryKeyBuilder_ == null) { primaryKey_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { primaryKeyBuilder_.clear(); } return this; } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public Builder removePrimaryKey(int index) { if (primaryKeyBuilder_ == null) { ensurePrimaryKeyIsMutable(); primaryKey_.remove(index); onChanged(); } else { primaryKeyBuilder_.remove(index); } return this; } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder getPrimaryKeyBuilder( int index) { return getPrimaryKeyFieldBuilder().getBuilder(index); } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getPrimaryKeyOrBuilder( int index) { if (primaryKeyBuilder_ == null) { return primaryKey_.get(index); } else { return primaryKeyBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public java.util.List<? extends ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> getPrimaryKeyOrBuilderList() { if (primaryKeyBuilder_ != null) { return primaryKeyBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(primaryKey_); } } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder addPrimaryKeyBuilder() { return getPrimaryKeyFieldBuilder().addBuilder( ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance()); } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder addPrimaryKeyBuilder( int index) { return getPrimaryKeyFieldBuilder().addBuilder( index, ai.chalk.protos.chalk.arrow.v1.ScalarValue.getDefaultInstance()); } /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ public java.util.List<ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder> getPrimaryKeyBuilderList() { return getPrimaryKeyFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> getPrimaryKeyFieldBuilder() { if (primaryKeyBuilder_ == null) { primaryKeyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ai.chalk.protos.chalk.arrow.v1.ScalarValue, ai.chalk.protos.chalk.arrow.v1.ScalarValue.Builder, ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder>( primaryKey_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); primaryKey_ = null; } return primaryKeyBuilder_; } @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.FeatureValueFilters) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.FeatureValueFilters) private static final ai.chalk.protos.chalk.engine.v2.FeatureValueFilters DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.FeatureValueFilters(); } public static ai.chalk.protos.chalk.engine.v2.FeatureValueFilters getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<FeatureValueFilters> PARSER = new com.google.protobuf.AbstractParser<FeatureValueFilters>() { @java.lang.Override public FeatureValueFilters 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<FeatureValueFilters> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<FeatureValueFilters> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueFilters 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/FeatureValueFiltersOrBuilder.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 FeatureValueFiltersOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.FeatureValueFilters) com.google.protobuf.MessageOrBuilder { /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @return A list containing the resolverFqn. */ java.util.List<java.lang.String> getResolverFqnList(); /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @return The count of resolverFqn. */ int getResolverFqnCount(); /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @param index The index of the element to return. * @return The resolverFqn at the given index. */ java.lang.String getResolverFqn(int index); /** * <code>repeated string resolver_fqn = 1 [json_name = "resolverFqn"];</code> * @param index The index of the value to return. * @return The bytes of the resolverFqn at the given index. */ com.google.protobuf.ByteString getResolverFqnBytes(int index); /** * <code>repeated string deployment_id = 2 [json_name = "deploymentId"];</code> * @return A list containing the deploymentId. */ java.util.List<java.lang.String> getDeploymentIdList(); /** * <code>repeated string deployment_id = 2 [json_name = "deploymentId"];</code> * @return The count of deploymentId. */ int getDeploymentIdCount(); /** * <code>repeated string deployment_id = 2 [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 = 2 [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 string operation_id = 3 [json_name = "operationId"];</code> * @return A list containing the operationId. */ java.util.List<java.lang.String> getOperationIdList(); /** * <code>repeated string operation_id = 3 [json_name = "operationId"];</code> * @return The count of operationId. */ int getOperationIdCount(); /** * <code>repeated string operation_id = 3 [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); /** * <code>repeated string operation_id = 3 [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 = 4 [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 = 4 [json_name = "operationKind"];</code> * @return The count of operationKind. */ int getOperationKindCount(); /** * <code>repeated .chalk.common.v1.OperationKind operation_kind = 4 [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 = 4 [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 = 4 [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.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ java.util.List<ai.chalk.protos.chalk.arrow.v1.ScalarValue> getPrimaryKeyList(); /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ ai.chalk.protos.chalk.arrow.v1.ScalarValue getPrimaryKey(int index); /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ int getPrimaryKeyCount(); /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ java.util.List<? extends ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder> getPrimaryKeyOrBuilderList(); /** * <code>repeated .chalk.arrow.v1.ScalarValue primary_key = 5 [json_name = "primaryKey"];</code> */ ai.chalk.protos.chalk.arrow.v1.ScalarValueOrBuilder getPrimaryKeyOrBuilder( 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/FeatureValueGroupBy.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 enum {@code chalk.engine.v2.FeatureValueGroupBy} */ public enum FeatureValueGroupBy implements com.google.protobuf.ProtocolMessageEnum { /** * <code>FEATURE_VALUE_GROUP_BY_UNSPECIFIED = 0;</code> */ FEATURE_VALUE_GROUP_BY_UNSPECIFIED(0), /** * <pre> * Approximately ordered by cardinality / specificity * </pre> * * <code>FEATURE_VALUE_GROUP_BY_CATEGORICAL_VALUE = 1;</code> */ FEATURE_VALUE_GROUP_BY_CATEGORICAL_VALUE(1), /** * <code>FEATURE_VALUE_GROUP_BY_PRIMARY_KEY = 2;</code> */ FEATURE_VALUE_GROUP_BY_PRIMARY_KEY(2), /** * <code>FEATURE_VALUE_GROUP_BY_DEPLOYMENT_ID = 3;</code> */ FEATURE_VALUE_GROUP_BY_DEPLOYMENT_ID(3), /** * <code>FEATURE_VALUE_GROUP_BY_RESOLVER = 4;</code> */ FEATURE_VALUE_GROUP_BY_RESOLVER(4), /** * <code>FEATURE_VALUE_GROUP_BY_OPERATION_KIND = 5;</code> */ FEATURE_VALUE_GROUP_BY_OPERATION_KIND(5), /** * <code>FEATURE_VALUE_GROUP_BY_OPERATION_ID = 6;</code> */ FEATURE_VALUE_GROUP_BY_OPERATION_ID(6), /** * <code>FEATURE_VALUE_GROUP_BY_FEATURE_VERSION = 7;</code> */ FEATURE_VALUE_GROUP_BY_FEATURE_VERSION(7), UNRECOGNIZED(-1), ; /** * <code>FEATURE_VALUE_GROUP_BY_UNSPECIFIED = 0;</code> */ public static final int FEATURE_VALUE_GROUP_BY_UNSPECIFIED_VALUE = 0; /** * <pre> * Approximately ordered by cardinality / specificity * </pre> * * <code>FEATURE_VALUE_GROUP_BY_CATEGORICAL_VALUE = 1;</code> */ public static final int FEATURE_VALUE_GROUP_BY_CATEGORICAL_VALUE_VALUE = 1; /** * <code>FEATURE_VALUE_GROUP_BY_PRIMARY_KEY = 2;</code> */ public static final int FEATURE_VALUE_GROUP_BY_PRIMARY_KEY_VALUE = 2; /** * <code>FEATURE_VALUE_GROUP_BY_DEPLOYMENT_ID = 3;</code> */ public static final int FEATURE_VALUE_GROUP_BY_DEPLOYMENT_ID_VALUE = 3; /** * <code>FEATURE_VALUE_GROUP_BY_RESOLVER = 4;</code> */ public static final int FEATURE_VALUE_GROUP_BY_RESOLVER_VALUE = 4; /** * <code>FEATURE_VALUE_GROUP_BY_OPERATION_KIND = 5;</code> */ public static final int FEATURE_VALUE_GROUP_BY_OPERATION_KIND_VALUE = 5; /** * <code>FEATURE_VALUE_GROUP_BY_OPERATION_ID = 6;</code> */ public static final int FEATURE_VALUE_GROUP_BY_OPERATION_ID_VALUE = 6; /** * <code>FEATURE_VALUE_GROUP_BY_FEATURE_VERSION = 7;</code> */ public static final int FEATURE_VALUE_GROUP_BY_FEATURE_VERSION_VALUE = 7; 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 FeatureValueGroupBy 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 FeatureValueGroupBy forNumber(int value) { switch (value) { case 0: return FEATURE_VALUE_GROUP_BY_UNSPECIFIED; case 1: return FEATURE_VALUE_GROUP_BY_CATEGORICAL_VALUE; case 2: return FEATURE_VALUE_GROUP_BY_PRIMARY_KEY; case 3: return FEATURE_VALUE_GROUP_BY_DEPLOYMENT_ID; case 4: return FEATURE_VALUE_GROUP_BY_RESOLVER; case 5: return FEATURE_VALUE_GROUP_BY_OPERATION_KIND; case 6: return FEATURE_VALUE_GROUP_BY_OPERATION_ID; case 7: return FEATURE_VALUE_GROUP_BY_FEATURE_VERSION; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<FeatureValueGroupBy> internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< FeatureValueGroupBy> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<FeatureValueGroupBy>() { public FeatureValueGroupBy findValueByNumber(int number) { return FeatureValueGroupBy.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.engine.v2.FeatureValuesChartProto.getDescriptor().getEnumTypes().get(1); } private static final FeatureValueGroupBy[] VALUES = values(); public static FeatureValueGroupBy 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 FeatureValueGroupBy(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:chalk.engine.v2.FeatureValueGroupBy) }
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/FeatureValuePercentileWindowFunction.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.FeatureValuePercentileWindowFunction} */ public final class FeatureValuePercentileWindowFunction extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.FeatureValuePercentileWindowFunction) FeatureValuePercentileWindowFunctionOrBuilder { private static final long serialVersionUID = 0L; // Use FeatureValuePercentileWindowFunction.newBuilder() to construct. private FeatureValuePercentileWindowFunction(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private FeatureValuePercentileWindowFunction() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FeatureValuePercentileWindowFunction(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_FeatureValuePercentileWindowFunction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_FeatureValuePercentileWindowFunction_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.class, ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.Builder.class); } public static final int PERCENTILE_FIELD_NUMBER = 1; private double percentile_ = 0D; /** * <pre> * Must be a value between 0 and 100. * </pre> * * <code>double percentile = 1 [json_name = "percentile"];</code> * @return The percentile. */ @java.lang.Override public double getPercentile() { return percentile_; } 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 (java.lang.Double.doubleToRawLongBits(percentile_) != 0) { output.writeDouble(1, percentile_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (java.lang.Double.doubleToRawLongBits(percentile_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, percentile_); } 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.FeatureValuePercentileWindowFunction)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction other = (ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction) obj; if (java.lang.Double.doubleToLongBits(getPercentile()) != java.lang.Double.doubleToLongBits( other.getPercentile())) 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) + PERCENTILE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPercentile())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction 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.FeatureValuePercentileWindowFunction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction 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.FeatureValuePercentileWindowFunction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction 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.FeatureValuePercentileWindowFunction 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.FeatureValuePercentileWindowFunction 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.FeatureValuePercentileWindowFunction 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.FeatureValuePercentileWindowFunction 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.FeatureValuePercentileWindowFunction 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.FeatureValuePercentileWindowFunction 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.FeatureValuePercentileWindowFunction 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.FeatureValuePercentileWindowFunction} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.FeatureValuePercentileWindowFunction) ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunctionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_FeatureValuePercentileWindowFunction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_FeatureValuePercentileWindowFunction_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.class, ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; percentile_ = 0D; 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_FeatureValuePercentileWindowFunction_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction build() { ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction buildPartial() { ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction result = new ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.percentile_ = percentile_; } } @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.FeatureValuePercentileWindowFunction) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction other) { if (other == ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.getDefaultInstance()) return this; if (other.getPercentile() != 0D) { setPercentile(other.getPercentile()); } 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 9: { percentile_ = input.readDouble(); bitField0_ |= 0x00000001; break; } // case 9 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 double percentile_ ; /** * <pre> * Must be a value between 0 and 100. * </pre> * * <code>double percentile = 1 [json_name = "percentile"];</code> * @return The percentile. */ @java.lang.Override public double getPercentile() { return percentile_; } /** * <pre> * Must be a value between 0 and 100. * </pre> * * <code>double percentile = 1 [json_name = "percentile"];</code> * @param value The percentile to set. * @return This builder for chaining. */ public Builder setPercentile(double value) { percentile_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <pre> * Must be a value between 0 and 100. * </pre> * * <code>double percentile = 1 [json_name = "percentile"];</code> * @return This builder for chaining. */ public Builder clearPercentile() { bitField0_ = (bitField0_ & ~0x00000001); percentile_ = 0D; 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.FeatureValuePercentileWindowFunction) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.FeatureValuePercentileWindowFunction) private static final ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction(); } public static ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<FeatureValuePercentileWindowFunction> PARSER = new com.google.protobuf.AbstractParser<FeatureValuePercentileWindowFunction>() { @java.lang.Override public FeatureValuePercentileWindowFunction 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<FeatureValuePercentileWindowFunction> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<FeatureValuePercentileWindowFunction> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction 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/FeatureValuePercentileWindowFunctionOrBuilder.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 FeatureValuePercentileWindowFunctionOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.FeatureValuePercentileWindowFunction) com.google.protobuf.MessageOrBuilder { /** * <pre> * Must be a value between 0 and 100. * </pre> * * <code>double percentile = 1 [json_name = "percentile"];</code> * @return The percentile. */ double getPercentile(); }
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/FeatureValueSeries.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.FeatureValueSeries} */ public final class FeatureValueSeries extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.FeatureValueSeries) FeatureValueSeriesOrBuilder { private static final long serialVersionUID = 0L; // Use FeatureValueSeries.newBuilder() to construct. private FeatureValueSeries(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private FeatureValueSeries() { featureFqn_ = ""; seriesTitle_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FeatureValueSeries(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_FeatureValueSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_FeatureValueSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.class, ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.Builder.class); } private int bitField0_; private int windowFunctionCase_ = 0; @SuppressWarnings("serial") private java.lang.Object windowFunction_; public enum WindowFunctionCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BASE_WINDOW_FUNCTION(3), PERCENTILE_WINDOW_FUNCTION(4), WINDOWFUNCTION_NOT_SET(0); private final int value; private WindowFunctionCase(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 WindowFunctionCase valueOf(int value) { return forNumber(value); } public static WindowFunctionCase forNumber(int value) { switch (value) { case 3: return BASE_WINDOW_FUNCTION; case 4: return PERCENTILE_WINDOW_FUNCTION; case 0: return WINDOWFUNCTION_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public WindowFunctionCase getWindowFunctionCase() { return WindowFunctionCase.forNumber( windowFunctionCase_); } public static final int FEATURE_FQN_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object featureFqn_ = ""; /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The featureFqn. */ @java.lang.Override public java.lang.String getFeatureFqn() { java.lang.Object ref = featureFqn_; 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(); featureFqn_ = s; return s; } } /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The bytes for featureFqn. */ @java.lang.Override public com.google.protobuf.ByteString getFeatureFqnBytes() { java.lang.Object ref = featureFqn_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); featureFqn_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SERIES_TITLE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object seriesTitle_ = ""; /** * <pre> * If the user passes in a series title, uses that. Otherwise, will compose a title based on the fqn and the function used * </pre> * * <code>optional string series_title = 2 [json_name = "seriesTitle"];</code> * @return Whether the seriesTitle field is set. */ @java.lang.Override public boolean hasSeriesTitle() { return ((bitField0_ & 0x00000001) != 0); } /** * <pre> * If the user passes in a series title, uses that. Otherwise, will compose a title based on the fqn and the function used * </pre> * * <code>optional string series_title = 2 [json_name = "seriesTitle"];</code> * @return The seriesTitle. */ @java.lang.Override public java.lang.String getSeriesTitle() { java.lang.Object ref = seriesTitle_; 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(); seriesTitle_ = s; return s; } } /** * <pre> * If the user passes in a series title, uses that. Otherwise, will compose a title based on the fqn and the function used * </pre> * * <code>optional string series_title = 2 [json_name = "seriesTitle"];</code> * @return The bytes for seriesTitle. */ @java.lang.Override public com.google.protobuf.ByteString getSeriesTitleBytes() { java.lang.Object ref = seriesTitle_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); seriesTitle_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BASE_WINDOW_FUNCTION_FIELD_NUMBER = 3; /** * <code>.chalk.engine.v2.FeatureValueBaseWindowFunction base_window_function = 3 [json_name = "baseWindowFunction"];</code> * @return Whether the baseWindowFunction field is set. */ public boolean hasBaseWindowFunction() { return windowFunctionCase_ == 3; } /** * <code>.chalk.engine.v2.FeatureValueBaseWindowFunction base_window_function = 3 [json_name = "baseWindowFunction"];</code> * @return The enum numeric value on the wire for baseWindowFunction. */ public int getBaseWindowFunctionValue() { if (windowFunctionCase_ == 3) { return (java.lang.Integer) windowFunction_; } return 0; } /** * <code>.chalk.engine.v2.FeatureValueBaseWindowFunction base_window_function = 3 [json_name = "baseWindowFunction"];</code> * @return The baseWindowFunction. */ public ai.chalk.protos.chalk.engine.v2.FeatureValueBaseWindowFunction getBaseWindowFunction() { if (windowFunctionCase_ == 3) { ai.chalk.protos.chalk.engine.v2.FeatureValueBaseWindowFunction result = ai.chalk.protos.chalk.engine.v2.FeatureValueBaseWindowFunction.forNumber( (java.lang.Integer) windowFunction_); return result == null ? ai.chalk.protos.chalk.engine.v2.FeatureValueBaseWindowFunction.UNRECOGNIZED : result; } return ai.chalk.protos.chalk.engine.v2.FeatureValueBaseWindowFunction.FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNSPECIFIED; } public static final int PERCENTILE_WINDOW_FUNCTION_FIELD_NUMBER = 4; /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> * @return Whether the percentileWindowFunction field is set. */ @java.lang.Override public boolean hasPercentileWindowFunction() { return windowFunctionCase_ == 4; } /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> * @return The percentileWindowFunction. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction getPercentileWindowFunction() { if (windowFunctionCase_ == 4) { return (ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction) windowFunction_; } return ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.getDefaultInstance(); } /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunctionOrBuilder getPercentileWindowFunctionOrBuilder() { if (windowFunctionCase_ == 4) { return (ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction) windowFunction_; } return ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(featureFqn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, featureFqn_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, seriesTitle_); } if (windowFunctionCase_ == 3) { output.writeEnum(3, ((java.lang.Integer) windowFunction_)); } if (windowFunctionCase_ == 4) { output.writeMessage(4, (ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction) windowFunction_); } 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(featureFqn_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, featureFqn_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, seriesTitle_); } if (windowFunctionCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, ((java.lang.Integer) windowFunction_)); } if (windowFunctionCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction) windowFunction_); } 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.FeatureValueSeries)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.FeatureValueSeries other = (ai.chalk.protos.chalk.engine.v2.FeatureValueSeries) obj; if (!getFeatureFqn() .equals(other.getFeatureFqn())) return false; if (hasSeriesTitle() != other.hasSeriesTitle()) return false; if (hasSeriesTitle()) { if (!getSeriesTitle() .equals(other.getSeriesTitle())) return false; } if (!getWindowFunctionCase().equals(other.getWindowFunctionCase())) return false; switch (windowFunctionCase_) { case 3: if (getBaseWindowFunctionValue() != other.getBaseWindowFunctionValue()) return false; break; case 4: if (!getPercentileWindowFunction() .equals(other.getPercentileWindowFunction())) 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) + FEATURE_FQN_FIELD_NUMBER; hash = (53 * hash) + getFeatureFqn().hashCode(); if (hasSeriesTitle()) { hash = (37 * hash) + SERIES_TITLE_FIELD_NUMBER; hash = (53 * hash) + getSeriesTitle().hashCode(); } switch (windowFunctionCase_) { case 3: hash = (37 * hash) + BASE_WINDOW_FUNCTION_FIELD_NUMBER; hash = (53 * hash) + getBaseWindowFunctionValue(); break; case 4: hash = (37 * hash) + PERCENTILE_WINDOW_FUNCTION_FIELD_NUMBER; hash = (53 * hash) + getPercentileWindowFunction().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.FeatureValueSeries parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.FeatureValueSeries 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.FeatureValueSeries parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.FeatureValueSeries 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.FeatureValueSeries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.FeatureValueSeries 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.FeatureValueSeries 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.FeatureValueSeries 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.FeatureValueSeries 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.FeatureValueSeries 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.FeatureValueSeries 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.FeatureValueSeries 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.FeatureValueSeries 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.FeatureValueSeries} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.FeatureValueSeries) ai.chalk.protos.chalk.engine.v2.FeatureValueSeriesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_FeatureValueSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesChartProto.internal_static_chalk_engine_v2_FeatureValueSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.class, ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; featureFqn_ = ""; seriesTitle_ = ""; if (percentileWindowFunctionBuilder_ != null) { percentileWindowFunctionBuilder_.clear(); } windowFunctionCase_ = 0; windowFunction_ = 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_FeatureValueSeries_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueSeries getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueSeries build() { ai.chalk.protos.chalk.engine.v2.FeatureValueSeries result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueSeries buildPartial() { ai.chalk.protos.chalk.engine.v2.FeatureValueSeries result = new ai.chalk.protos.chalk.engine.v2.FeatureValueSeries(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.FeatureValueSeries result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.featureFqn_ = featureFqn_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.seriesTitle_ = seriesTitle_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(ai.chalk.protos.chalk.engine.v2.FeatureValueSeries result) { result.windowFunctionCase_ = windowFunctionCase_; result.windowFunction_ = this.windowFunction_; if (windowFunctionCase_ == 4 && percentileWindowFunctionBuilder_ != null) { result.windowFunction_ = percentileWindowFunctionBuilder_.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.FeatureValueSeries) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.FeatureValueSeries)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.FeatureValueSeries other) { if (other == ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.getDefaultInstance()) return this; if (!other.getFeatureFqn().isEmpty()) { featureFqn_ = other.featureFqn_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasSeriesTitle()) { seriesTitle_ = other.seriesTitle_; bitField0_ |= 0x00000002; onChanged(); } switch (other.getWindowFunctionCase()) { case BASE_WINDOW_FUNCTION: { setBaseWindowFunctionValue(other.getBaseWindowFunctionValue()); break; } case PERCENTILE_WINDOW_FUNCTION: { mergePercentileWindowFunction(other.getPercentileWindowFunction()); break; } case WINDOWFUNCTION_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: { featureFqn_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { seriesTitle_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { int rawValue = input.readEnum(); windowFunctionCase_ = 3; windowFunction_ = rawValue; break; } // case 24 case 34: { input.readMessage( getPercentileWindowFunctionFieldBuilder().getBuilder(), extensionRegistry); windowFunctionCase_ = 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 windowFunctionCase_ = 0; private java.lang.Object windowFunction_; public WindowFunctionCase getWindowFunctionCase() { return WindowFunctionCase.forNumber( windowFunctionCase_); } public Builder clearWindowFunction() { windowFunctionCase_ = 0; windowFunction_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object featureFqn_ = ""; /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The featureFqn. */ public java.lang.String getFeatureFqn() { java.lang.Object ref = featureFqn_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); featureFqn_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The bytes for featureFqn. */ public com.google.protobuf.ByteString getFeatureFqnBytes() { java.lang.Object ref = featureFqn_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); featureFqn_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @param value The featureFqn to set. * @return This builder for chaining. */ public Builder setFeatureFqn( java.lang.String value) { if (value == null) { throw new NullPointerException(); } featureFqn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return This builder for chaining. */ public Builder clearFeatureFqn() { featureFqn_ = getDefaultInstance().getFeatureFqn(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @param value The bytes for featureFqn to set. * @return This builder for chaining. */ public Builder setFeatureFqnBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); featureFqn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object seriesTitle_ = ""; /** * <pre> * If the user passes in a series title, uses that. Otherwise, will compose a title based on the fqn and the function used * </pre> * * <code>optional string series_title = 2 [json_name = "seriesTitle"];</code> * @return Whether the seriesTitle field is set. */ public boolean hasSeriesTitle() { return ((bitField0_ & 0x00000002) != 0); } /** * <pre> * If the user passes in a series title, uses that. Otherwise, will compose a title based on the fqn and the function used * </pre> * * <code>optional string series_title = 2 [json_name = "seriesTitle"];</code> * @return The seriesTitle. */ public java.lang.String getSeriesTitle() { java.lang.Object ref = seriesTitle_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); seriesTitle_ = s; return s; } else { return (java.lang.String) ref; } } /** * <pre> * If the user passes in a series title, uses that. Otherwise, will compose a title based on the fqn and the function used * </pre> * * <code>optional string series_title = 2 [json_name = "seriesTitle"];</code> * @return The bytes for seriesTitle. */ public com.google.protobuf.ByteString getSeriesTitleBytes() { java.lang.Object ref = seriesTitle_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); seriesTitle_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <pre> * If the user passes in a series title, uses that. Otherwise, will compose a title based on the fqn and the function used * </pre> * * <code>optional string series_title = 2 [json_name = "seriesTitle"];</code> * @param value The seriesTitle to set. * @return This builder for chaining. */ public Builder setSeriesTitle( java.lang.String value) { if (value == null) { throw new NullPointerException(); } seriesTitle_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <pre> * If the user passes in a series title, uses that. Otherwise, will compose a title based on the fqn and the function used * </pre> * * <code>optional string series_title = 2 [json_name = "seriesTitle"];</code> * @return This builder for chaining. */ public Builder clearSeriesTitle() { seriesTitle_ = getDefaultInstance().getSeriesTitle(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * <pre> * If the user passes in a series title, uses that. Otherwise, will compose a title based on the fqn and the function used * </pre> * * <code>optional string series_title = 2 [json_name = "seriesTitle"];</code> * @param value The bytes for seriesTitle to set. * @return This builder for chaining. */ public Builder setSeriesTitleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); seriesTitle_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <code>.chalk.engine.v2.FeatureValueBaseWindowFunction base_window_function = 3 [json_name = "baseWindowFunction"];</code> * @return Whether the baseWindowFunction field is set. */ @java.lang.Override public boolean hasBaseWindowFunction() { return windowFunctionCase_ == 3; } /** * <code>.chalk.engine.v2.FeatureValueBaseWindowFunction base_window_function = 3 [json_name = "baseWindowFunction"];</code> * @return The enum numeric value on the wire for baseWindowFunction. */ @java.lang.Override public int getBaseWindowFunctionValue() { if (windowFunctionCase_ == 3) { return ((java.lang.Integer) windowFunction_).intValue(); } return 0; } /** * <code>.chalk.engine.v2.FeatureValueBaseWindowFunction base_window_function = 3 [json_name = "baseWindowFunction"];</code> * @param value The enum numeric value on the wire for baseWindowFunction to set. * @return This builder for chaining. */ public Builder setBaseWindowFunctionValue(int value) { windowFunctionCase_ = 3; windowFunction_ = value; onChanged(); return this; } /** * <code>.chalk.engine.v2.FeatureValueBaseWindowFunction base_window_function = 3 [json_name = "baseWindowFunction"];</code> * @return The baseWindowFunction. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueBaseWindowFunction getBaseWindowFunction() { if (windowFunctionCase_ == 3) { ai.chalk.protos.chalk.engine.v2.FeatureValueBaseWindowFunction result = ai.chalk.protos.chalk.engine.v2.FeatureValueBaseWindowFunction.forNumber( (java.lang.Integer) windowFunction_); return result == null ? ai.chalk.protos.chalk.engine.v2.FeatureValueBaseWindowFunction.UNRECOGNIZED : result; } return ai.chalk.protos.chalk.engine.v2.FeatureValueBaseWindowFunction.FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNSPECIFIED; } /** * <code>.chalk.engine.v2.FeatureValueBaseWindowFunction base_window_function = 3 [json_name = "baseWindowFunction"];</code> * @param value The baseWindowFunction to set. * @return This builder for chaining. */ public Builder setBaseWindowFunction(ai.chalk.protos.chalk.engine.v2.FeatureValueBaseWindowFunction value) { if (value == null) { throw new NullPointerException(); } windowFunctionCase_ = 3; windowFunction_ = value.getNumber(); onChanged(); return this; } /** * <code>.chalk.engine.v2.FeatureValueBaseWindowFunction base_window_function = 3 [json_name = "baseWindowFunction"];</code> * @return This builder for chaining. */ public Builder clearBaseWindowFunction() { if (windowFunctionCase_ == 3) { windowFunctionCase_ = 0; windowFunction_ = null; onChanged(); } return this; } private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction, ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.Builder, ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunctionOrBuilder> percentileWindowFunctionBuilder_; /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> * @return Whether the percentileWindowFunction field is set. */ @java.lang.Override public boolean hasPercentileWindowFunction() { return windowFunctionCase_ == 4; } /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> * @return The percentileWindowFunction. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction getPercentileWindowFunction() { if (percentileWindowFunctionBuilder_ == null) { if (windowFunctionCase_ == 4) { return (ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction) windowFunction_; } return ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.getDefaultInstance(); } else { if (windowFunctionCase_ == 4) { return percentileWindowFunctionBuilder_.getMessage(); } return ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.getDefaultInstance(); } } /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> */ public Builder setPercentileWindowFunction(ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction value) { if (percentileWindowFunctionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } windowFunction_ = value; onChanged(); } else { percentileWindowFunctionBuilder_.setMessage(value); } windowFunctionCase_ = 4; return this; } /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> */ public Builder setPercentileWindowFunction( ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.Builder builderForValue) { if (percentileWindowFunctionBuilder_ == null) { windowFunction_ = builderForValue.build(); onChanged(); } else { percentileWindowFunctionBuilder_.setMessage(builderForValue.build()); } windowFunctionCase_ = 4; return this; } /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> */ public Builder mergePercentileWindowFunction(ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction value) { if (percentileWindowFunctionBuilder_ == null) { if (windowFunctionCase_ == 4 && windowFunction_ != ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.getDefaultInstance()) { windowFunction_ = ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.newBuilder((ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction) windowFunction_) .mergeFrom(value).buildPartial(); } else { windowFunction_ = value; } onChanged(); } else { if (windowFunctionCase_ == 4) { percentileWindowFunctionBuilder_.mergeFrom(value); } else { percentileWindowFunctionBuilder_.setMessage(value); } } windowFunctionCase_ = 4; return this; } /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> */ public Builder clearPercentileWindowFunction() { if (percentileWindowFunctionBuilder_ == null) { if (windowFunctionCase_ == 4) { windowFunctionCase_ = 0; windowFunction_ = null; onChanged(); } } else { if (windowFunctionCase_ == 4) { windowFunctionCase_ = 0; windowFunction_ = null; } percentileWindowFunctionBuilder_.clear(); } return this; } /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> */ public ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.Builder getPercentileWindowFunctionBuilder() { return getPercentileWindowFunctionFieldBuilder().getBuilder(); } /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunctionOrBuilder getPercentileWindowFunctionOrBuilder() { if ((windowFunctionCase_ == 4) && (percentileWindowFunctionBuilder_ != null)) { return percentileWindowFunctionBuilder_.getMessageOrBuilder(); } else { if (windowFunctionCase_ == 4) { return (ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction) windowFunction_; } return ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.getDefaultInstance(); } } /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction, ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.Builder, ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunctionOrBuilder> getPercentileWindowFunctionFieldBuilder() { if (percentileWindowFunctionBuilder_ == null) { if (!(windowFunctionCase_ == 4)) { windowFunction_ = ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.getDefaultInstance(); } percentileWindowFunctionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction, ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction.Builder, ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunctionOrBuilder>( (ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction) windowFunction_, getParentForChildren(), isClean()); windowFunction_ = null; } windowFunctionCase_ = 4; onChanged(); return percentileWindowFunctionBuilder_; } @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.FeatureValueSeries) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.FeatureValueSeries) private static final ai.chalk.protos.chalk.engine.v2.FeatureValueSeries DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.FeatureValueSeries(); } public static ai.chalk.protos.chalk.engine.v2.FeatureValueSeries getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<FeatureValueSeries> PARSER = new com.google.protobuf.AbstractParser<FeatureValueSeries>() { @java.lang.Override public FeatureValueSeries 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<FeatureValueSeries> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<FeatureValueSeries> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueSeries 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/FeatureValueSeriesOrBuilder.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 FeatureValueSeriesOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.FeatureValueSeries) com.google.protobuf.MessageOrBuilder { /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The featureFqn. */ java.lang.String getFeatureFqn(); /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The bytes for featureFqn. */ com.google.protobuf.ByteString getFeatureFqnBytes(); /** * <pre> * If the user passes in a series title, uses that. Otherwise, will compose a title based on the fqn and the function used * </pre> * * <code>optional string series_title = 2 [json_name = "seriesTitle"];</code> * @return Whether the seriesTitle field is set. */ boolean hasSeriesTitle(); /** * <pre> * If the user passes in a series title, uses that. Otherwise, will compose a title based on the fqn and the function used * </pre> * * <code>optional string series_title = 2 [json_name = "seriesTitle"];</code> * @return The seriesTitle. */ java.lang.String getSeriesTitle(); /** * <pre> * If the user passes in a series title, uses that. Otherwise, will compose a title based on the fqn and the function used * </pre> * * <code>optional string series_title = 2 [json_name = "seriesTitle"];</code> * @return The bytes for seriesTitle. */ com.google.protobuf.ByteString getSeriesTitleBytes(); /** * <code>.chalk.engine.v2.FeatureValueBaseWindowFunction base_window_function = 3 [json_name = "baseWindowFunction"];</code> * @return Whether the baseWindowFunction field is set. */ boolean hasBaseWindowFunction(); /** * <code>.chalk.engine.v2.FeatureValueBaseWindowFunction base_window_function = 3 [json_name = "baseWindowFunction"];</code> * @return The enum numeric value on the wire for baseWindowFunction. */ int getBaseWindowFunctionValue(); /** * <code>.chalk.engine.v2.FeatureValueBaseWindowFunction base_window_function = 3 [json_name = "baseWindowFunction"];</code> * @return The baseWindowFunction. */ ai.chalk.protos.chalk.engine.v2.FeatureValueBaseWindowFunction getBaseWindowFunction(); /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> * @return Whether the percentileWindowFunction field is set. */ boolean hasPercentileWindowFunction(); /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> * @return The percentileWindowFunction. */ ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunction getPercentileWindowFunction(); /** * <code>.chalk.engine.v2.FeatureValuePercentileWindowFunction percentile_window_function = 4 [json_name = "percentileWindowFunction"];</code> */ ai.chalk.protos.chalk.engine.v2.FeatureValuePercentileWindowFunctionOrBuilder getPercentileWindowFunctionOrBuilder(); ai.chalk.protos.chalk.engine.v2.FeatureValueSeries.WindowFunctionCase getWindowFunctionCase(); }
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/FeatureValueTimeSeries.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 enum {@code chalk.engine.v2.FeatureValueTimeSeries} */ public enum FeatureValueTimeSeries implements com.google.protobuf.ProtocolMessageEnum { /** * <code>FEATURE_VALUE_TIME_SERIES_UNSPECIFIED = 0;</code> */ FEATURE_VALUE_TIME_SERIES_UNSPECIFIED(0), /** * <code>FEATURE_VALUE_TIME_SERIES_INSERTED_AT = 1;</code> */ FEATURE_VALUE_TIME_SERIES_INSERTED_AT(1), /** * <code>FEATURE_VALUE_TIME_SERIES_OBSERVED_AT = 2;</code> */ FEATURE_VALUE_TIME_SERIES_OBSERVED_AT(2), UNRECOGNIZED(-1), ; /** * <code>FEATURE_VALUE_TIME_SERIES_UNSPECIFIED = 0;</code> */ public static final int FEATURE_VALUE_TIME_SERIES_UNSPECIFIED_VALUE = 0; /** * <code>FEATURE_VALUE_TIME_SERIES_INSERTED_AT = 1;</code> */ public static final int FEATURE_VALUE_TIME_SERIES_INSERTED_AT_VALUE = 1; /** * <code>FEATURE_VALUE_TIME_SERIES_OBSERVED_AT = 2;</code> */ public static final int FEATURE_VALUE_TIME_SERIES_OBSERVED_AT_VALUE = 2; 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 FeatureValueTimeSeries 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 FeatureValueTimeSeries forNumber(int value) { switch (value) { case 0: return FEATURE_VALUE_TIME_SERIES_UNSPECIFIED; case 1: return FEATURE_VALUE_TIME_SERIES_INSERTED_AT; case 2: return FEATURE_VALUE_TIME_SERIES_OBSERVED_AT; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<FeatureValueTimeSeries> internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< FeatureValueTimeSeries> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<FeatureValueTimeSeries>() { public FeatureValueTimeSeries findValueByNumber(int number) { return FeatureValueTimeSeries.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.engine.v2.FeatureValuesChartProto.getDescriptor().getEnumTypes().get(2); } private static final FeatureValueTimeSeries[] VALUES = values(); public static FeatureValueTimeSeries 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 FeatureValueTimeSeries(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:chalk.engine.v2.FeatureValueTimeSeries) }
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/FeatureValuesChartProto.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 final class FeatureValuesChartProto { private FeatureValuesChartProto() {} 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_FeatureValuePercentileWindowFunction_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_FeatureValuePercentileWindowFunction_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_FeatureValueSeries_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_FeatureValueSeries_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartResponse_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/feature_values_chart.p" + "roto\022\017chalk.engine.v2\032)chalk/chart/v1/de" + "nsetimeserieschart.proto\032\036google/protobu" + "f/duration.proto\032\037google/protobuf/timest" + "amp.proto\"F\n$FeatureValuePercentileWindo" + "wFunction\022\036\n\npercentile\030\001 \001(\001R\npercentil" + "e\"\335\002\n\022FeatureValueSeries\022\037\n\013feature_fqn\030" + "\001 \001(\tR\nfeatureFqn\022&\n\014series_title\030\002 \001(\tH" + "\001R\013seriesTitle\210\001\001\022c\n\024base_window_functio" + "n\030\003 \001(\0162/.chalk.engine.v2.FeatureValueBa" + "seWindowFunctionH\000R\022baseWindowFunction\022u" + "\n\032percentile_window_function\030\004 \001(\01325.cha" + "lk.engine.v2.FeatureValuePercentileWindo" + "wFunctionH\000R\030percentileWindowFunctionB\021\n" + "\017window_functionB\017\n\r_series_title\"\211\005\n&Ge" + "tFeatureValuesTimeSeriesChartRequest\022\031\n\005" + "title\030\001 \001(\tH\000R\005title\210\001\001\022;\n\006series\030\002 \003(\0132" + "#.chalk.engine.v2.FeatureValueSeriesR\006se" + "ries\022>\n\rwindow_period\030\003 \001(\0132\031.google.pro" + "tobuf.DurationR\014windowPeriod\022V\n\031start_ti" + "mestamp_inclusive\030\004 \001(\0132\032.google.protobu" + "f.TimestampR\027startTimestampInclusive\022W\n\027" + "end_timestamp_exclusive\030\005 \001(\0132\032.google.p" + "rotobuf.TimestampH\001R\025endTimestampExclusi" + "ve\210\001\001\022M\n\013time_series\030\006 \001(\0162\'.chalk.engin" + "e.v2.FeatureValueTimeSeriesH\002R\ntimeSerie" + "s\210\001\001\022?\n\010group_by\030\007 \003(\0162$.chalk.engine.v2" + ".FeatureValueGroupByR\007groupBy\0226\n\025group_b" + "y_series_limit\030\010 \001(\005H\003R\022groupBySeriesLim" + "it\210\001\001B\010\n\006_titleB\032\n\030_end_timestamp_exclus" + "iveB\016\n\014_time_seriesB\030\n\026_group_by_series_" + "limit\"e\n\'GetFeatureValuesTimeSeriesChart" + "Response\022:\n\005chart\030\001 \001(\0132$.chalk.chart.v1" + ".DenseTimeSeriesChartR\005chart*\306\003\n\036Feature" + "ValueBaseWindowFunction\0222\n.FEATURE_VALUE" + "_BASE_WINDOW_FUNCTION_UNSPECIFIED\020\000\0224\n0F" + "EATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE" + "_VALUES\020\001\0229\n5FEATURE_VALUE_BASE_WINDOW_F" + "UNCTION_TOTAL_OBSERVATIONS\020\002\0226\n2FEATURE_" + "VALUE_BASE_WINDOW_FUNCTION_NULL_PERCENTA" + "GE\020\003\0220\n,FEATURE_VALUE_BASE_WINDOW_FUNCTI" + "ON_MAX_VALUE\020\004\0220\n,FEATURE_VALUE_BASE_WIN" + "DOW_FUNCTION_MIN_VALUE\020\005\022.\n*FEATURE_VALU" + "E_BASE_WINDOW_FUNCTION_AVERAGE\020\006\0223\n/FEAT" + "URE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_PK" + "EYS\020\007*\342\002\n\023FeatureValueGroupBy\022&\n\"FEATURE" + "_VALUE_GROUP_BY_UNSPECIFIED\020\000\022,\n(FEATURE" + "_VALUE_GROUP_BY_CATEGORICAL_VALUE\020\001\022&\n\"F" + "EATURE_VALUE_GROUP_BY_PRIMARY_KEY\020\002\022(\n$F" + "EATURE_VALUE_GROUP_BY_DEPLOYMENT_ID\020\003\022#\n" + "\037FEATURE_VALUE_GROUP_BY_RESOLVER\020\004\022)\n%FE" + "ATURE_VALUE_GROUP_BY_OPERATION_KIND\020\005\022\'\n" + "#FEATURE_VALUE_GROUP_BY_OPERATION_ID\020\006\022*" + "\n&FEATURE_VALUE_GROUP_BY_FEATURE_VERSION" + "\020\007*\231\001\n\026FeatureValueTimeSeries\022)\n%FEATURE" + "_VALUE_TIME_SERIES_UNSPECIFIED\020\000\022)\n%FEAT" + "URE_VALUE_TIME_SERIES_INSERTED_AT\020\001\022)\n%F" + "EATURE_VALUE_TIME_SERIES_OBSERVED_AT\020\002B\230" + "\001\n\037ai.chalk.protos.chalk.engine.v2B\027Feat" + "ureValuesChartProtoP\001\242\002\003CEX\252\002\017Chalk.Engi" + "ne.V2\312\002\017Chalk\\Engine\\V2\342\002\033Chalk\\Engine\\V" + "2\\GPBMetadata\352\002\021Chalk::Engine::V2b\006proto" + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { ai.chalk.protos.chalk.chart.v1.DensetimeserieschartProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_chalk_engine_v2_FeatureValuePercentileWindowFunction_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_engine_v2_FeatureValuePercentileWindowFunction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_FeatureValuePercentileWindowFunction_descriptor, new java.lang.String[] { "Percentile", }); internal_static_chalk_engine_v2_FeatureValueSeries_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_chalk_engine_v2_FeatureValueSeries_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_FeatureValueSeries_descriptor, new java.lang.String[] { "FeatureFqn", "SeriesTitle", "BaseWindowFunction", "PercentileWindowFunction", "WindowFunction", }); internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartRequest_descriptor, new java.lang.String[] { "Title", "Series", "WindowPeriod", "StartTimestampInclusive", "EndTimestampExclusive", "TimeSeries", "GroupBy", "GroupBySeriesLimit", }); internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_GetFeatureValuesTimeSeriesChartResponse_descriptor, new java.lang.String[] { "Chart", }); ai.chalk.protos.chalk.chart.v1.DensetimeserieschartProto.getDescriptor(); com.google.protobuf.DurationProto.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/FeatureValuesProto.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 final class FeatureValuesProto { private FeatureValuesProto() {} 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_FeatureValueFilters_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_FeatureValueFilters_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_GetFeatureValuesPageToken_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_GetFeatureValuesPageToken_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_GetFeatureValuesRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_GetFeatureValuesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_chalk_engine_v2_GetFeatureValuesResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_chalk_engine_v2_GetFeatureValuesResponse_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/feature_values.proto\022\017" + "chalk.engine.v2\032\032chalk/arrow/v1/arrow.pr" + "oto\032$chalk/common/v1/operation_kind.prot" + "o\032\037google/protobuf/timestamp.proto\"\205\002\n\023F" + "eatureValueFilters\022!\n\014resolver_fqn\030\001 \003(\t" + "R\013resolverFqn\022#\n\rdeployment_id\030\002 \003(\tR\014de" + "ploymentId\022!\n\014operation_id\030\003 \003(\tR\013operat" + "ionId\022E\n\016operation_kind\030\004 \003(\0162\036.chalk.co" + "mmon.v1.OperationKindR\roperationKind\022<\n\013" + "primary_key\030\005 \003(\0132\033.chalk.arrow.v1.Scala" + "rValueR\nprimaryKey\"\264\001\n\031GetFeatureValuesP" + "ageToken\022?\n\rtimestamp_hwm\030\001 \001(\0132\032.google" + ".protobuf.TimestampR\014timestampHwm\022(\n\020ope" + "ration_id_hwm\030\002 \001(\tR\016operationIdHwm\022,\n\022o" + "bservation_id_hwm\030\003 \001(\tR\020observationIdHw" + "m\"\252\003\n\027GetFeatureValuesRequest\022\037\n\013feature" + "_fqn\030\001 \001(\tR\nfeatureFqn\022R\n\016timestamp_type" + "\030\002 \001(\0162+.chalk.engine.v2.FeatureValuesTi" + "mestampTypeR\rtimestampType\022N\n\025lower_boun" + "d_inclusive\030\003 \001(\0132\032.google.protobuf.Time" + "stampR\023lowerBoundInclusive\022N\n\025upper_boun" + "d_exclusive\030\004 \001(\0132\032.google.protobuf.Time" + "stampR\023upperBoundExclusive\022>\n\007filters\030\005 " + "\001(\0132$.chalk.engine.v2.FeatureValueFilter" + "sR\007filters\022\033\n\tpage_size\030\006 \001(\005R\010pageSize\022" + "\035\n\npage_token\030\007 \001(\tR\tpageToken\"\210\001\n\030GetFe" + "atureValuesResponse\022&\n\017next_page_token\030\001" + " \001(\tR\rnextPageToken\022\035\n\ntotal_size\030\002 \001(\005R" + "\ttotalSize\022\032\n\007parquet\030\003 \001(\014H\000R\007parquetB\t" + "\n\007payload*\251\001\n\032FeatureValuesTimestampType" + "\022-\n)FEATURE_VALUES_TIMESTAMP_TYPE_UNSPEC" + "IFIED\020\000\022-\n)FEATURE_VALUES_TIMESTAMP_TYPE" + "_INSERTED_AT\020\001\022-\n)FEATURE_VALUES_TIMESTA" + "MP_TYPE_OBSERVED_AT\020\002B\223\001\n\037ai.chalk.proto" + "s.chalk.engine.v2B\022FeatureValuesProtoP\001\242" + "\002\003CEX\252\002\017Chalk.Engine.V2\312\002\017Chalk\\Engine\\V" + "2\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.arrow.v1.ArrowProto.getDescriptor(), ai.chalk.protos.chalk.common.v1.OperationKindProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_chalk_engine_v2_FeatureValueFilters_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_chalk_engine_v2_FeatureValueFilters_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_FeatureValueFilters_descriptor, new java.lang.String[] { "ResolverFqn", "DeploymentId", "OperationId", "OperationKind", "PrimaryKey", }); internal_static_chalk_engine_v2_GetFeatureValuesPageToken_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_chalk_engine_v2_GetFeatureValuesPageToken_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_GetFeatureValuesPageToken_descriptor, new java.lang.String[] { "TimestampHwm", "OperationIdHwm", "ObservationIdHwm", }); internal_static_chalk_engine_v2_GetFeatureValuesRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_chalk_engine_v2_GetFeatureValuesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_GetFeatureValuesRequest_descriptor, new java.lang.String[] { "FeatureFqn", "TimestampType", "LowerBoundInclusive", "UpperBoundExclusive", "Filters", "PageSize", "PageToken", }); internal_static_chalk_engine_v2_GetFeatureValuesResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_chalk_engine_v2_GetFeatureValuesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_chalk_engine_v2_GetFeatureValuesResponse_descriptor, new java.lang.String[] { "NextPageToken", "TotalSize", "Parquet", "Payload", }); ai.chalk.protos.chalk.arrow.v1.ArrowProto.getDescriptor(); ai.chalk.protos.chalk.common.v1.OperationKindProto.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/FeatureValuesTimestampType.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 enum {@code chalk.engine.v2.FeatureValuesTimestampType} */ public enum FeatureValuesTimestampType implements com.google.protobuf.ProtocolMessageEnum { /** * <code>FEATURE_VALUES_TIMESTAMP_TYPE_UNSPECIFIED = 0;</code> */ FEATURE_VALUES_TIMESTAMP_TYPE_UNSPECIFIED(0), /** * <code>FEATURE_VALUES_TIMESTAMP_TYPE_INSERTED_AT = 1;</code> */ FEATURE_VALUES_TIMESTAMP_TYPE_INSERTED_AT(1), /** * <code>FEATURE_VALUES_TIMESTAMP_TYPE_OBSERVED_AT = 2;</code> */ FEATURE_VALUES_TIMESTAMP_TYPE_OBSERVED_AT(2), UNRECOGNIZED(-1), ; /** * <code>FEATURE_VALUES_TIMESTAMP_TYPE_UNSPECIFIED = 0;</code> */ public static final int FEATURE_VALUES_TIMESTAMP_TYPE_UNSPECIFIED_VALUE = 0; /** * <code>FEATURE_VALUES_TIMESTAMP_TYPE_INSERTED_AT = 1;</code> */ public static final int FEATURE_VALUES_TIMESTAMP_TYPE_INSERTED_AT_VALUE = 1; /** * <code>FEATURE_VALUES_TIMESTAMP_TYPE_OBSERVED_AT = 2;</code> */ public static final int FEATURE_VALUES_TIMESTAMP_TYPE_OBSERVED_AT_VALUE = 2; 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 FeatureValuesTimestampType 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 FeatureValuesTimestampType forNumber(int value) { switch (value) { case 0: return FEATURE_VALUES_TIMESTAMP_TYPE_UNSPECIFIED; case 1: return FEATURE_VALUES_TIMESTAMP_TYPE_INSERTED_AT; case 2: return FEATURE_VALUES_TIMESTAMP_TYPE_OBSERVED_AT; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<FeatureValuesTimestampType> internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< FeatureValuesTimestampType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<FeatureValuesTimestampType>() { public FeatureValuesTimestampType findValueByNumber(int number) { return FeatureValuesTimestampType.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.engine.v2.FeatureValuesProto.getDescriptor().getEnumTypes().get(0); } private static final FeatureValuesTimestampType[] VALUES = values(); public static FeatureValuesTimestampType 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 FeatureValuesTimestampType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:chalk.engine.v2.FeatureValuesTimestampType) }
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/GetFeatureValuesPageToken.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; /** * <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, then observation id lexicographically, * so this is all we need to know where the next page begins * </pre> * * Protobuf type {@code chalk.engine.v2.GetFeatureValuesPageToken} */ public final class GetFeatureValuesPageToken extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.GetFeatureValuesPageToken) GetFeatureValuesPageTokenOrBuilder { private static final long serialVersionUID = 0L; // Use GetFeatureValuesPageToken.newBuilder() to construct. private GetFeatureValuesPageToken(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetFeatureValuesPageToken() { operationIdHwm_ = ""; observationIdHwm_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetFeatureValuesPageToken(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesPageToken_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesPageToken_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken.class, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken.Builder.class); } private int bitField0_; public static final int TIMESTAMP_HWM_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp timestampHwm_; /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> * @return Whether the timestampHwm field is set. */ @java.lang.Override public boolean hasTimestampHwm() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> * @return The timestampHwm. */ @java.lang.Override public com.google.protobuf.Timestamp getTimestampHwm() { return timestampHwm_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestampHwm_; } /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getTimestampHwmOrBuilder() { return timestampHwm_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestampHwm_; } 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 OBSERVATION_ID_HWM_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object observationIdHwm_ = ""; /** * <code>string observation_id_hwm = 3 [json_name = "observationIdHwm"];</code> * @return The observationIdHwm. */ @java.lang.Override public java.lang.String getObservationIdHwm() { java.lang.Object ref = observationIdHwm_; 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(); observationIdHwm_ = s; return s; } } /** * <code>string observation_id_hwm = 3 [json_name = "observationIdHwm"];</code> * @return The bytes for observationIdHwm. */ @java.lang.Override public com.google.protobuf.ByteString getObservationIdHwmBytes() { java.lang.Object ref = observationIdHwm_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); observationIdHwm_ = 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, getTimestampHwm()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationIdHwm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, operationIdHwm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(observationIdHwm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, observationIdHwm_); } 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, getTimestampHwm()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationIdHwm_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operationIdHwm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(observationIdHwm_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, observationIdHwm_); } 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.GetFeatureValuesPageToken)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken other = (ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken) obj; if (hasTimestampHwm() != other.hasTimestampHwm()) return false; if (hasTimestampHwm()) { if (!getTimestampHwm() .equals(other.getTimestampHwm())) return false; } if (!getOperationIdHwm() .equals(other.getOperationIdHwm())) return false; if (!getObservationIdHwm() .equals(other.getObservationIdHwm())) 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 (hasTimestampHwm()) { hash = (37 * hash) + TIMESTAMP_HWM_FIELD_NUMBER; hash = (53 * hash) + getTimestampHwm().hashCode(); } hash = (37 * hash) + OPERATION_ID_HWM_FIELD_NUMBER; hash = (53 * hash) + getOperationIdHwm().hashCode(); hash = (37 * hash) + OBSERVATION_ID_HWM_FIELD_NUMBER; hash = (53 * hash) + getObservationIdHwm().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken 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.GetFeatureValuesPageToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken 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.GetFeatureValuesPageToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken 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.GetFeatureValuesPageToken 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.GetFeatureValuesPageToken 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.GetFeatureValuesPageToken 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.GetFeatureValuesPageToken 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.GetFeatureValuesPageToken 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.GetFeatureValuesPageToken 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.GetFeatureValuesPageToken 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, then observation id lexicographically, * so this is all we need to know where the next page begins * </pre> * * Protobuf type {@code chalk.engine.v2.GetFeatureValuesPageToken} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.GetFeatureValuesPageToken) ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageTokenOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesPageToken_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesPageToken_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken.class, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTimestampHwmFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; timestampHwm_ = null; if (timestampHwmBuilder_ != null) { timestampHwmBuilder_.dispose(); timestampHwmBuilder_ = null; } operationIdHwm_ = ""; observationIdHwm_ = ""; 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_GetFeatureValuesPageToken_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken build() { ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken buildPartial() { ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken result = new ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.timestampHwm_ = timestampHwmBuilder_ == null ? timestampHwm_ : timestampHwmBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.operationIdHwm_ = operationIdHwm_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.observationIdHwm_ = observationIdHwm_; } 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.GetFeatureValuesPageToken) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken other) { if (other == ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken.getDefaultInstance()) return this; if (other.hasTimestampHwm()) { mergeTimestampHwm(other.getTimestampHwm()); } if (!other.getOperationIdHwm().isEmpty()) { operationIdHwm_ = other.operationIdHwm_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getObservationIdHwm().isEmpty()) { observationIdHwm_ = other.observationIdHwm_; 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: { input.readMessage( getTimestampHwmFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { operationIdHwm_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { observationIdHwm_ = 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 com.google.protobuf.Timestamp timestampHwm_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampHwmBuilder_; /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> * @return Whether the timestampHwm field is set. */ public boolean hasTimestampHwm() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> * @return The timestampHwm. */ public com.google.protobuf.Timestamp getTimestampHwm() { if (timestampHwmBuilder_ == null) { return timestampHwm_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestampHwm_; } else { return timestampHwmBuilder_.getMessage(); } } /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> */ public Builder setTimestampHwm(com.google.protobuf.Timestamp value) { if (timestampHwmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timestampHwm_ = value; } else { timestampHwmBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> */ public Builder setTimestampHwm( com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampHwmBuilder_ == null) { timestampHwm_ = builderForValue.build(); } else { timestampHwmBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> */ public Builder mergeTimestampHwm(com.google.protobuf.Timestamp value) { if (timestampHwmBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && timestampHwm_ != null && timestampHwm_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getTimestampHwmBuilder().mergeFrom(value); } else { timestampHwm_ = value; } } else { timestampHwmBuilder_.mergeFrom(value); } if (timestampHwm_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> */ public Builder clearTimestampHwm() { bitField0_ = (bitField0_ & ~0x00000001); timestampHwm_ = null; if (timestampHwmBuilder_ != null) { timestampHwmBuilder_.dispose(); timestampHwmBuilder_ = null; } onChanged(); return this; } /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> */ public com.google.protobuf.Timestamp.Builder getTimestampHwmBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTimestampHwmFieldBuilder().getBuilder(); } /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> */ public com.google.protobuf.TimestampOrBuilder getTimestampHwmOrBuilder() { if (timestampHwmBuilder_ != null) { return timestampHwmBuilder_.getMessageOrBuilder(); } else { return timestampHwm_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestampHwm_; } } /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getTimestampHwmFieldBuilder() { if (timestampHwmBuilder_ == null) { timestampHwmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getTimestampHwm(), getParentForChildren(), isClean()); timestampHwm_ = null; } return timestampHwmBuilder_; } 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 java.lang.Object observationIdHwm_ = ""; /** * <code>string observation_id_hwm = 3 [json_name = "observationIdHwm"];</code> * @return The observationIdHwm. */ public java.lang.String getObservationIdHwm() { java.lang.Object ref = observationIdHwm_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); observationIdHwm_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string observation_id_hwm = 3 [json_name = "observationIdHwm"];</code> * @return The bytes for observationIdHwm. */ public com.google.protobuf.ByteString getObservationIdHwmBytes() { java.lang.Object ref = observationIdHwm_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); observationIdHwm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string observation_id_hwm = 3 [json_name = "observationIdHwm"];</code> * @param value The observationIdHwm to set. * @return This builder for chaining. */ public Builder setObservationIdHwm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } observationIdHwm_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>string observation_id_hwm = 3 [json_name = "observationIdHwm"];</code> * @return This builder for chaining. */ public Builder clearObservationIdHwm() { observationIdHwm_ = getDefaultInstance().getObservationIdHwm(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * <code>string observation_id_hwm = 3 [json_name = "observationIdHwm"];</code> * @param value The bytes for observationIdHwm to set. * @return This builder for chaining. */ public Builder setObservationIdHwmBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); observationIdHwm_ = 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.engine.v2.GetFeatureValuesPageToken) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.GetFeatureValuesPageToken) private static final ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken(); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetFeatureValuesPageToken> PARSER = new com.google.protobuf.AbstractParser<GetFeatureValuesPageToken>() { @java.lang.Override public GetFeatureValuesPageToken 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<GetFeatureValuesPageToken> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetFeatureValuesPageToken> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesPageToken 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/GetFeatureValuesPageTokenOrBuilder.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 GetFeatureValuesPageTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.GetFeatureValuesPageToken) com.google.protobuf.MessageOrBuilder { /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> * @return Whether the timestampHwm field is set. */ boolean hasTimestampHwm(); /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> * @return The timestampHwm. */ com.google.protobuf.Timestamp getTimestampHwm(); /** * <code>.google.protobuf.Timestamp timestamp_hwm = 1 [json_name = "timestampHwm"];</code> */ com.google.protobuf.TimestampOrBuilder getTimestampHwmOrBuilder(); /** * <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>string observation_id_hwm = 3 [json_name = "observationIdHwm"];</code> * @return The observationIdHwm. */ java.lang.String getObservationIdHwm(); /** * <code>string observation_id_hwm = 3 [json_name = "observationIdHwm"];</code> * @return The bytes for observationIdHwm. */ com.google.protobuf.ByteString getObservationIdHwmBytes(); }
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/GetFeatureValuesRequest.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.GetFeatureValuesRequest} */ public final class GetFeatureValuesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:chalk.engine.v2.GetFeatureValuesRequest) GetFeatureValuesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetFeatureValuesRequest.newBuilder() to construct. private GetFeatureValuesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private GetFeatureValuesRequest() { featureFqn_ = ""; timestampType_ = 0; pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetFeatureValuesRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest.class, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest.Builder.class); } private int bitField0_; public static final int FEATURE_FQN_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object featureFqn_ = ""; /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The featureFqn. */ @java.lang.Override public java.lang.String getFeatureFqn() { java.lang.Object ref = featureFqn_; 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(); featureFqn_ = s; return s; } } /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The bytes for featureFqn. */ @java.lang.Override public com.google.protobuf.ByteString getFeatureFqnBytes() { java.lang.Object ref = featureFqn_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); featureFqn_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMESTAMP_TYPE_FIELD_NUMBER = 2; private int timestampType_ = 0; /** * <pre> * Along which time dimension to query features by. * Time ranges can either be specified along inserted_at or observed_at * Optional. If unspecified, default to inserted_at * </pre> * * <code>.chalk.engine.v2.FeatureValuesTimestampType timestamp_type = 2 [json_name = "timestampType"];</code> * @return The enum numeric value on the wire for timestampType. */ @java.lang.Override public int getTimestampTypeValue() { return timestampType_; } /** * <pre> * Along which time dimension to query features by. * Time ranges can either be specified along inserted_at or observed_at * Optional. If unspecified, default to inserted_at * </pre> * * <code>.chalk.engine.v2.FeatureValuesTimestampType timestamp_type = 2 [json_name = "timestampType"];</code> * @return The timestampType. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValuesTimestampType getTimestampType() { ai.chalk.protos.chalk.engine.v2.FeatureValuesTimestampType result = ai.chalk.protos.chalk.engine.v2.FeatureValuesTimestampType.forNumber(timestampType_); return result == null ? ai.chalk.protos.chalk.engine.v2.FeatureValuesTimestampType.UNRECOGNIZED : result; } public static final int LOWER_BOUND_INCLUSIVE_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp lowerBoundInclusive_; /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> * @return Whether the lowerBoundInclusive field is set. */ @java.lang.Override public boolean hasLowerBoundInclusive() { return ((bitField0_ & 0x00000001) != 0); } /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> * @return The lowerBoundInclusive. */ @java.lang.Override public com.google.protobuf.Timestamp getLowerBoundInclusive() { return lowerBoundInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lowerBoundInclusive_; } /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLowerBoundInclusiveOrBuilder() { return lowerBoundInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lowerBoundInclusive_; } public static final int UPPER_BOUND_EXCLUSIVE_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp upperBoundExclusive_; /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> * @return Whether the upperBoundExclusive field is set. */ @java.lang.Override public boolean hasUpperBoundExclusive() { return ((bitField0_ & 0x00000002) != 0); } /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> * @return The upperBoundExclusive. */ @java.lang.Override public com.google.protobuf.Timestamp getUpperBoundExclusive() { return upperBoundExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : upperBoundExclusive_; } /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpperBoundExclusiveOrBuilder() { return upperBoundExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : upperBoundExclusive_; } public static final int FILTERS_FIELD_NUMBER = 5; private ai.chalk.protos.chalk.engine.v2.FeatureValueFilters filters_; /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> * @return Whether the filters field is set. */ @java.lang.Override public boolean hasFilters() { return ((bitField0_ & 0x00000004) != 0); } /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> * @return The filters. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueFilters getFilters() { return filters_ == null ? ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.getDefaultInstance() : filters_; } /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValueFiltersOrBuilder getFiltersOrBuilder() { return filters_ == null ? ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.getDefaultInstance() : filters_; } public static final int PAGE_SIZE_FIELD_NUMBER = 6; private int pageSize_ = 0; /** * <pre> * The (maximum) page size for results. If zero, then the server picks. * </pre> * * <code>int32 page_size = 6 [json_name = "pageSize"];</code> * @return The pageSize. */ @java.lang.Override public int getPageSize() { return pageSize_; } public static final int PAGE_TOKEN_FIELD_NUMBER = 7; @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 GetFeatureValuesPageToken * if unspecified, retrieve the zeroth page. * </pre> * * <code>string page_token = 7 [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 GetFeatureValuesPageToken * if unspecified, retrieve the zeroth page. * </pre> * * <code>string page_token = 7 [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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(featureFqn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, featureFqn_); } if (timestampType_ != ai.chalk.protos.chalk.engine.v2.FeatureValuesTimestampType.FEATURE_VALUES_TIMESTAMP_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, timestampType_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getLowerBoundInclusive()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getUpperBoundExclusive()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(5, getFilters()); } if (pageSize_ != 0) { output.writeInt32(6, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, pageToken_); } 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(featureFqn_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, featureFqn_); } if (timestampType_ != ai.chalk.protos.chalk.engine.v2.FeatureValuesTimestampType.FEATURE_VALUES_TIMESTAMP_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, timestampType_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getLowerBoundInclusive()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getUpperBoundExclusive()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getFilters()); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, 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.GetFeatureValuesRequest)) { return super.equals(obj); } ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest other = (ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest) obj; if (!getFeatureFqn() .equals(other.getFeatureFqn())) return false; if (timestampType_ != other.timestampType_) return false; if (hasLowerBoundInclusive() != other.hasLowerBoundInclusive()) return false; if (hasLowerBoundInclusive()) { if (!getLowerBoundInclusive() .equals(other.getLowerBoundInclusive())) return false; } if (hasUpperBoundExclusive() != other.hasUpperBoundExclusive()) return false; if (hasUpperBoundExclusive()) { if (!getUpperBoundExclusive() .equals(other.getUpperBoundExclusive())) 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(); hash = (37 * hash) + FEATURE_FQN_FIELD_NUMBER; hash = (53 * hash) + getFeatureFqn().hashCode(); hash = (37 * hash) + TIMESTAMP_TYPE_FIELD_NUMBER; hash = (53 * hash) + timestampType_; if (hasLowerBoundInclusive()) { hash = (37 * hash) + LOWER_BOUND_INCLUSIVE_FIELD_NUMBER; hash = (53 * hash) + getLowerBoundInclusive().hashCode(); } if (hasUpperBoundExclusive()) { hash = (37 * hash) + UPPER_BOUND_EXCLUSIVE_FIELD_NUMBER; hash = (53 * hash) + getUpperBoundExclusive().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.GetFeatureValuesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest 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.GetFeatureValuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest 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.GetFeatureValuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest 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.GetFeatureValuesRequest 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.GetFeatureValuesRequest 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.GetFeatureValuesRequest 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.GetFeatureValuesRequest 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.GetFeatureValuesRequest 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.GetFeatureValuesRequest 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.GetFeatureValuesRequest 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.GetFeatureValuesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:chalk.engine.v2.GetFeatureValuesRequest) ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ai.chalk.protos.chalk.engine.v2.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest.class, ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest.Builder.class); } // Construct using ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLowerBoundInclusiveFieldBuilder(); getUpperBoundExclusiveFieldBuilder(); getFiltersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; featureFqn_ = ""; timestampType_ = 0; lowerBoundInclusive_ = null; if (lowerBoundInclusiveBuilder_ != null) { lowerBoundInclusiveBuilder_.dispose(); lowerBoundInclusiveBuilder_ = null; } upperBoundExclusive_ = null; if (upperBoundExclusiveBuilder_ != null) { upperBoundExclusiveBuilder_.dispose(); upperBoundExclusiveBuilder_ = 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.FeatureValuesProto.internal_static_chalk_engine_v2_GetFeatureValuesRequest_descriptor; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest getDefaultInstanceForType() { return ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest.getDefaultInstance(); } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest build() { ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest buildPartial() { ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest result = new ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.featureFqn_ = featureFqn_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.timestampType_ = timestampType_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.lowerBoundInclusive_ = lowerBoundInclusiveBuilder_ == null ? lowerBoundInclusive_ : lowerBoundInclusiveBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.upperBoundExclusive_ = upperBoundExclusiveBuilder_ == null ? upperBoundExclusive_ : upperBoundExclusiveBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { result.filters_ = filtersBuilder_ == null ? filters_ : filtersBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { result.pageSize_ = pageSize_; } if (((from_bitField0_ & 0x00000040) != 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.GetFeatureValuesRequest) { return mergeFrom((ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest other) { if (other == ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest.getDefaultInstance()) return this; if (!other.getFeatureFqn().isEmpty()) { featureFqn_ = other.featureFqn_; bitField0_ |= 0x00000001; onChanged(); } if (other.timestampType_ != 0) { setTimestampTypeValue(other.getTimestampTypeValue()); } if (other.hasLowerBoundInclusive()) { mergeLowerBoundInclusive(other.getLowerBoundInclusive()); } if (other.hasUpperBoundExclusive()) { mergeUpperBoundExclusive(other.getUpperBoundExclusive()); } if (other.hasFilters()) { mergeFilters(other.getFilters()); } if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; bitField0_ |= 0x00000040; 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: { featureFqn_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { timestampType_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { input.readMessage( getLowerBoundInclusiveFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getUpperBoundExclusiveFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( getFiltersFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 48: { pageSize_ = input.readInt32(); bitField0_ |= 0x00000020; break; } // case 48 case 58: { pageToken_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000040; break; } // case 58 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 featureFqn_ = ""; /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The featureFqn. */ public java.lang.String getFeatureFqn() { java.lang.Object ref = featureFqn_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); featureFqn_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The bytes for featureFqn. */ public com.google.protobuf.ByteString getFeatureFqnBytes() { java.lang.Object ref = featureFqn_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); featureFqn_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @param value The featureFqn to set. * @return This builder for chaining. */ public Builder setFeatureFqn( java.lang.String value) { if (value == null) { throw new NullPointerException(); } featureFqn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return This builder for chaining. */ public Builder clearFeatureFqn() { featureFqn_ = getDefaultInstance().getFeatureFqn(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @param value The bytes for featureFqn to set. * @return This builder for chaining. */ public Builder setFeatureFqnBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); featureFqn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private int timestampType_ = 0; /** * <pre> * Along which time dimension to query features by. * Time ranges can either be specified along inserted_at or observed_at * Optional. If unspecified, default to inserted_at * </pre> * * <code>.chalk.engine.v2.FeatureValuesTimestampType timestamp_type = 2 [json_name = "timestampType"];</code> * @return The enum numeric value on the wire for timestampType. */ @java.lang.Override public int getTimestampTypeValue() { return timestampType_; } /** * <pre> * Along which time dimension to query features by. * Time ranges can either be specified along inserted_at or observed_at * Optional. If unspecified, default to inserted_at * </pre> * * <code>.chalk.engine.v2.FeatureValuesTimestampType timestamp_type = 2 [json_name = "timestampType"];</code> * @param value The enum numeric value on the wire for timestampType to set. * @return This builder for chaining. */ public Builder setTimestampTypeValue(int value) { timestampType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * <pre> * Along which time dimension to query features by. * Time ranges can either be specified along inserted_at or observed_at * Optional. If unspecified, default to inserted_at * </pre> * * <code>.chalk.engine.v2.FeatureValuesTimestampType timestamp_type = 2 [json_name = "timestampType"];</code> * @return The timestampType. */ @java.lang.Override public ai.chalk.protos.chalk.engine.v2.FeatureValuesTimestampType getTimestampType() { ai.chalk.protos.chalk.engine.v2.FeatureValuesTimestampType result = ai.chalk.protos.chalk.engine.v2.FeatureValuesTimestampType.forNumber(timestampType_); return result == null ? ai.chalk.protos.chalk.engine.v2.FeatureValuesTimestampType.UNRECOGNIZED : result; } /** * <pre> * Along which time dimension to query features by. * Time ranges can either be specified along inserted_at or observed_at * Optional. If unspecified, default to inserted_at * </pre> * * <code>.chalk.engine.v2.FeatureValuesTimestampType timestamp_type = 2 [json_name = "timestampType"];</code> * @param value The timestampType to set. * @return This builder for chaining. */ public Builder setTimestampType(ai.chalk.protos.chalk.engine.v2.FeatureValuesTimestampType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; timestampType_ = value.getNumber(); onChanged(); return this; } /** * <pre> * Along which time dimension to query features by. * Time ranges can either be specified along inserted_at or observed_at * Optional. If unspecified, default to inserted_at * </pre> * * <code>.chalk.engine.v2.FeatureValuesTimestampType timestamp_type = 2 [json_name = "timestampType"];</code> * @return This builder for chaining. */ public Builder clearTimestampType() { bitField0_ = (bitField0_ & ~0x00000002); timestampType_ = 0; onChanged(); return this; } private com.google.protobuf.Timestamp lowerBoundInclusive_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lowerBoundInclusiveBuilder_; /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> * @return Whether the lowerBoundInclusive field is set. */ public boolean hasLowerBoundInclusive() { return ((bitField0_ & 0x00000004) != 0); } /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> * @return The lowerBoundInclusive. */ public com.google.protobuf.Timestamp getLowerBoundInclusive() { if (lowerBoundInclusiveBuilder_ == null) { return lowerBoundInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lowerBoundInclusive_; } else { return lowerBoundInclusiveBuilder_.getMessage(); } } /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> */ public Builder setLowerBoundInclusive(com.google.protobuf.Timestamp value) { if (lowerBoundInclusiveBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lowerBoundInclusive_ = value; } else { lowerBoundInclusiveBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> */ public Builder setLowerBoundInclusive( com.google.protobuf.Timestamp.Builder builderForValue) { if (lowerBoundInclusiveBuilder_ == null) { lowerBoundInclusive_ = builderForValue.build(); } else { lowerBoundInclusiveBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> */ public Builder mergeLowerBoundInclusive(com.google.protobuf.Timestamp value) { if (lowerBoundInclusiveBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && lowerBoundInclusive_ != null && lowerBoundInclusive_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLowerBoundInclusiveBuilder().mergeFrom(value); } else { lowerBoundInclusive_ = value; } } else { lowerBoundInclusiveBuilder_.mergeFrom(value); } if (lowerBoundInclusive_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> */ public Builder clearLowerBoundInclusive() { bitField0_ = (bitField0_ & ~0x00000004); lowerBoundInclusive_ = null; if (lowerBoundInclusiveBuilder_ != null) { lowerBoundInclusiveBuilder_.dispose(); lowerBoundInclusiveBuilder_ = null; } onChanged(); return this; } /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> */ public com.google.protobuf.Timestamp.Builder getLowerBoundInclusiveBuilder() { bitField0_ |= 0x00000004; onChanged(); return getLowerBoundInclusiveFieldBuilder().getBuilder(); } /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> */ public com.google.protobuf.TimestampOrBuilder getLowerBoundInclusiveOrBuilder() { if (lowerBoundInclusiveBuilder_ != null) { return lowerBoundInclusiveBuilder_.getMessageOrBuilder(); } else { return lowerBoundInclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lowerBoundInclusive_; } } /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLowerBoundInclusiveFieldBuilder() { if (lowerBoundInclusiveBuilder_ == null) { lowerBoundInclusiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLowerBoundInclusive(), getParentForChildren(), isClean()); lowerBoundInclusive_ = null; } return lowerBoundInclusiveBuilder_; } private com.google.protobuf.Timestamp upperBoundExclusive_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> upperBoundExclusiveBuilder_; /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> * @return Whether the upperBoundExclusive field is set. */ public boolean hasUpperBoundExclusive() { return ((bitField0_ & 0x00000008) != 0); } /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> * @return The upperBoundExclusive. */ public com.google.protobuf.Timestamp getUpperBoundExclusive() { if (upperBoundExclusiveBuilder_ == null) { return upperBoundExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : upperBoundExclusive_; } else { return upperBoundExclusiveBuilder_.getMessage(); } } /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> */ public Builder setUpperBoundExclusive(com.google.protobuf.Timestamp value) { if (upperBoundExclusiveBuilder_ == null) { if (value == null) { throw new NullPointerException(); } upperBoundExclusive_ = value; } else { upperBoundExclusiveBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> */ public Builder setUpperBoundExclusive( com.google.protobuf.Timestamp.Builder builderForValue) { if (upperBoundExclusiveBuilder_ == null) { upperBoundExclusive_ = builderForValue.build(); } else { upperBoundExclusiveBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> */ public Builder mergeUpperBoundExclusive(com.google.protobuf.Timestamp value) { if (upperBoundExclusiveBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && upperBoundExclusive_ != null && upperBoundExclusive_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpperBoundExclusiveBuilder().mergeFrom(value); } else { upperBoundExclusive_ = value; } } else { upperBoundExclusiveBuilder_.mergeFrom(value); } if (upperBoundExclusive_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> */ public Builder clearUpperBoundExclusive() { bitField0_ = (bitField0_ & ~0x00000008); upperBoundExclusive_ = null; if (upperBoundExclusiveBuilder_ != null) { upperBoundExclusiveBuilder_.dispose(); upperBoundExclusiveBuilder_ = null; } onChanged(); return this; } /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> */ public com.google.protobuf.Timestamp.Builder getUpperBoundExclusiveBuilder() { bitField0_ |= 0x00000008; onChanged(); return getUpperBoundExclusiveFieldBuilder().getBuilder(); } /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> */ public com.google.protobuf.TimestampOrBuilder getUpperBoundExclusiveOrBuilder() { if (upperBoundExclusiveBuilder_ != null) { return upperBoundExclusiveBuilder_.getMessageOrBuilder(); } else { return upperBoundExclusive_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : upperBoundExclusive_; } } /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpperBoundExclusiveFieldBuilder() { if (upperBoundExclusiveBuilder_ == null) { upperBoundExclusiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getUpperBoundExclusive(), getParentForChildren(), isClean()); upperBoundExclusive_ = null; } return upperBoundExclusiveBuilder_; } private ai.chalk.protos.chalk.engine.v2.FeatureValueFilters filters_; private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.FeatureValueFilters, ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.Builder, ai.chalk.protos.chalk.engine.v2.FeatureValueFiltersOrBuilder> filtersBuilder_; /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> * @return Whether the filters field is set. */ public boolean hasFilters() { return ((bitField0_ & 0x00000010) != 0); } /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> * @return The filters. */ public ai.chalk.protos.chalk.engine.v2.FeatureValueFilters getFilters() { if (filtersBuilder_ == null) { return filters_ == null ? ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.getDefaultInstance() : filters_; } else { return filtersBuilder_.getMessage(); } } /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> */ public Builder setFilters(ai.chalk.protos.chalk.engine.v2.FeatureValueFilters value) { if (filtersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filters_ = value; } else { filtersBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> */ public Builder setFilters( ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.Builder builderForValue) { if (filtersBuilder_ == null) { filters_ = builderForValue.build(); } else { filtersBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> */ public Builder mergeFilters(ai.chalk.protos.chalk.engine.v2.FeatureValueFilters value) { if (filtersBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && filters_ != null && filters_ != ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.getDefaultInstance()) { getFiltersBuilder().mergeFrom(value); } else { filters_ = value; } } else { filtersBuilder_.mergeFrom(value); } if (filters_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> */ public Builder clearFilters() { bitField0_ = (bitField0_ & ~0x00000010); filters_ = null; if (filtersBuilder_ != null) { filtersBuilder_.dispose(); filtersBuilder_ = null; } onChanged(); return this; } /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> */ public ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.Builder getFiltersBuilder() { bitField0_ |= 0x00000010; onChanged(); return getFiltersFieldBuilder().getBuilder(); } /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> */ public ai.chalk.protos.chalk.engine.v2.FeatureValueFiltersOrBuilder getFiltersOrBuilder() { if (filtersBuilder_ != null) { return filtersBuilder_.getMessageOrBuilder(); } else { return filters_ == null ? ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.getDefaultInstance() : filters_; } } /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> */ private com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.FeatureValueFilters, ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.Builder, ai.chalk.protos.chalk.engine.v2.FeatureValueFiltersOrBuilder> getFiltersFieldBuilder() { if (filtersBuilder_ == null) { filtersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ai.chalk.protos.chalk.engine.v2.FeatureValueFilters, ai.chalk.protos.chalk.engine.v2.FeatureValueFilters.Builder, ai.chalk.protos.chalk.engine.v2.FeatureValueFiltersOrBuilder>( getFilters(), getParentForChildren(), isClean()); filters_ = null; } return filtersBuilder_; } private int pageSize_ ; /** * <pre> * The (maximum) page size for results. If zero, then the server picks. * </pre> * * <code>int32 page_size = 6 [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 = 6 [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 = 6 [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, 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 GetFeatureValuesPageToken * if unspecified, retrieve the zeroth page. * </pre> * * <code>string page_token = 7 [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 GetFeatureValuesPageToken * if unspecified, retrieve the zeroth page. * </pre> * * <code>string page_token = 7 [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 GetFeatureValuesPageToken * if unspecified, retrieve the zeroth page. * </pre> * * <code>string page_token = 7 [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, 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 GetFeatureValuesPageToken * if unspecified, retrieve the zeroth page. * </pre> * * <code>string page_token = 7 [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, 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 GetFeatureValuesPageToken * if unspecified, retrieve the zeroth page. * </pre> * * <code>string page_token = 7 [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.GetFeatureValuesRequest) } // @@protoc_insertion_point(class_scope:chalk.engine.v2.GetFeatureValuesRequest) private static final ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest(); } public static ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<GetFeatureValuesRequest> PARSER = new com.google.protobuf.AbstractParser<GetFeatureValuesRequest>() { @java.lang.Override public GetFeatureValuesRequest 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<GetFeatureValuesRequest> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<GetFeatureValuesRequest> getParserForType() { return PARSER; } @java.lang.Override public ai.chalk.protos.chalk.engine.v2.GetFeatureValuesRequest 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/GetFeatureValuesRequestOrBuilder.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 GetFeatureValuesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:chalk.engine.v2.GetFeatureValuesRequest) com.google.protobuf.MessageOrBuilder { /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The featureFqn. */ java.lang.String getFeatureFqn(); /** * <code>string feature_fqn = 1 [json_name = "featureFqn"];</code> * @return The bytes for featureFqn. */ com.google.protobuf.ByteString getFeatureFqnBytes(); /** * <pre> * Along which time dimension to query features by. * Time ranges can either be specified along inserted_at or observed_at * Optional. If unspecified, default to inserted_at * </pre> * * <code>.chalk.engine.v2.FeatureValuesTimestampType timestamp_type = 2 [json_name = "timestampType"];</code> * @return The enum numeric value on the wire for timestampType. */ int getTimestampTypeValue(); /** * <pre> * Along which time dimension to query features by. * Time ranges can either be specified along inserted_at or observed_at * Optional. If unspecified, default to inserted_at * </pre> * * <code>.chalk.engine.v2.FeatureValuesTimestampType timestamp_type = 2 [json_name = "timestampType"];</code> * @return The timestampType. */ ai.chalk.protos.chalk.engine.v2.FeatureValuesTimestampType getTimestampType(); /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> * @return Whether the lowerBoundInclusive field is set. */ boolean hasLowerBoundInclusive(); /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> * @return The lowerBoundInclusive. */ com.google.protobuf.Timestamp getLowerBoundInclusive(); /** * <code>.google.protobuf.Timestamp lower_bound_inclusive = 3 [json_name = "lowerBoundInclusive"];</code> */ com.google.protobuf.TimestampOrBuilder getLowerBoundInclusiveOrBuilder(); /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> * @return Whether the upperBoundExclusive field is set. */ boolean hasUpperBoundExclusive(); /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> * @return The upperBoundExclusive. */ com.google.protobuf.Timestamp getUpperBoundExclusive(); /** * <code>.google.protobuf.Timestamp upper_bound_exclusive = 4 [json_name = "upperBoundExclusive"];</code> */ com.google.protobuf.TimestampOrBuilder getUpperBoundExclusiveOrBuilder(); /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> * @return Whether the filters field is set. */ boolean hasFilters(); /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> * @return The filters. */ ai.chalk.protos.chalk.engine.v2.FeatureValueFilters getFilters(); /** * <pre> * optional filters that can be specified to filter down feature rows returned * </pre> * * <code>.chalk.engine.v2.FeatureValueFilters filters = 5 [json_name = "filters"];</code> */ ai.chalk.protos.chalk.engine.v2.FeatureValueFiltersOrBuilder getFiltersOrBuilder(); /** * <pre> * The (maximum) page size for results. If zero, then the server picks. * </pre> * * <code>int32 page_size = 6 [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 GetFeatureValuesPageToken * if unspecified, retrieve the zeroth page. * </pre> * * <code>string page_token = 7 [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 GetFeatureValuesPageToken * if unspecified, retrieve the zeroth page. * </pre> * * <code>string page_token = 7 [json_name = "pageToken"];</code> * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); }